← Marketplace

Onesource

Onesource is an x402-native service at https://api.onesource.io, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 12 endpoints listed.

Base

Offers

OfferEndpointPrice
Block :Number
Fetch an Ethereum block header and transaction hashes by number, tag, or hex via eth_getBlockByNumber
/m/bz-api-onesource-io/api/chain/block/:number0.003 USDC
Contract :Address
Best-effort contract introspection via batched RPC - bytecode presence, token metadata, and ERC20-like/ERC721/ERC1155 classification
/m/bz-api-onesource-io/api/chain/contract/:address0.005 USDC
Ens :Input
ENS resolve - turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC
/m/bz-api-onesource-io/api/chain/ens/:input0.005 USDC
Chain Erc20 Balance
ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_call) on OneSource live Ethereum RPC
/m/bz-api-onesource-io/api/chain/erc20-balance0.003 USDC
Chain Erc20 Transfers
ERC20 Transfer logs via eth_getLogs - raw Transfer events for a token or wallet
/m/bz-api-onesource-io/api/chain/erc20-transfers0.005 USDC
Chain Erc721 Tokens
List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)
/m/bz-api-onesource-io/api/chain/erc721-tokens0.008 USDC
Chain Live Balance
Live wallet balance - native ETH plus up to 20 caller-supplied ERC20 tokens in one bounded RPC batch
/m/bz-api-onesource-io/api/chain/live-balance0.003 USDC
Chain Nft Metadata
NFT metadata for ERC721 or ERC1155 tokens via eth_call, with IPFS, Arweave, data URI, and public HTTP(S) resolution
/m/bz-api-onesource-io/api/chain/nft-metadata0.008 USDC
Nonce :Address
Next transaction nonce for any Ethereum wallet via eth_getTransactionCount - how many txs it has sent
/m/bz-api-onesource-io/api/chain/nonce/:address0.003 USDC
Chain Total Supply
Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)
/m/bz-api-onesource-io/api/chain/total-supply0.003 USDC
Tx :Hash
Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block
/m/bz-api-onesource-io/api/chain/tx/:hash0.008 USDC

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

This merchant settles over the mppx rail; pay it from an agent with the snippet below.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

const mppx = Mppx.create({
  methods: [evm({
    account: privateKeyToAccount(process.env.KEY),
    currencies: [evm.assets.base.USDC],
  })],
})

const res = await mppx.fetch('https://api.meshgateway.co/m/bz-api-onesource-io/api/chain/block/:number')
// 402 challenge signed and settled automatically; response includes Payment-Receipt

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/bz-api-onesource-io/api/chain/block/:number
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …