Api Endpoint

Riley Craig x402 Agent Store

Any wallet's balance of any ERC-20 token (USDC, USDT, DAI, or any contract) via balanceOf, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The token-balance read wallet-tracking, copy-trade, treasury and trading agents poll constantly — the most-called RPC read after native balance. Live public RPC; 6 chains vs onesource's Ethereum-only coverage.

Open interactive test console

Offering

Provider
x402-agent-store.rileycraig14.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-store.rileycraig14.workers.dev/chain/erc20-balance
MIME type
Not provided
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Onchain, RPC, ERC20, token-balance, balanceOf, USDC, Wallet, Trading, DeFi, data-feed, Crypto, Search, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez"
  }
]

Observed health

Status
Healthy
Latest latency
1266 ms
Average latency
1515 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "required": [
        "wallet",
        "token"
      ],
      "properties": {
        "wallet": {
          "type": "string",
          "description": "Holder wallet address (0x...)"
        },
        "token": {
          "type": "string",
          "description": "ERC-20 token contract address (0x...)"
        },
        "chain": {
          "type": "string",
          "description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "balance": {
          "type": "number"
        },
        "decimals": {
          "type": "number"
        },
        "raw_balance": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}