Api Endpoint

onchain-wallet-balances

Native-coin balance + ERC-20 token balances (raw + human) for any address on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base). On Base pass token symbols or 0x addresses (or a default common set); on other networks pass explicit 0x token addresses.

Open interactive test console

Offering

Provider
api.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentstools.dev/wallet/balances
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
Crypto, Onchain, Base, Ethereum, Multichain, Wallet, Balances, ERC20, Portfolio

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  }
]

Observed health

Status
Healthy
Latest latency
356 ms
Average latency
770 ms
HTTP status
402
Last checked
Reachability
100% over 22 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "Wallet address (0x..)"
        },
        "tokens": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Base: token symbols or 0x addresses (default common set, max 25). Other networks: explicit 0x addresses only"
        },
        "usd": {
          "type": "boolean",
          "description": "Add best-effort USD values (Base only)"
        },
        "network": {
          "type": "string",
          "enum": [
            "base",
            "ethereum",
            "arbitrum",
            "optimism",
            "polygon",
            "bnb"
          ],
          "description": "EVM network to read from (default base)"
        }
      },
      "required": [
        "address"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "Wallet address (0x..)",
              "type": "string"
            },
            "network": {
              "description": "EVM network to read from (default base)",
              "enum": [
                "base",
                "ethereum",
                "arbitrum",
                "optimism",
                "polygon",
                "bnb"
              ],
              "type": "string"
            },
            "tokens": {
              "description": "Base: token symbols or 0x addresses (default common set, max 25). Other networks: explicit 0x addresses only",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "usd": {
              "description": "Add best-effort USD values (Base only)",
              "type": "boolean"
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}