Data tools / On-chain reads and wallet balances

Native coin balance API for an EVM address

Use when you need the native coin balance (ETH or POL) of an address on Base, Ethereum, Arbitrum, Polygon or Optimism: wei and a decimal amount from a public node, with the block number and as_of. $0.001 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/evm/native-balance?address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&chain=base'
ParameterRequiredWhat it is
addressyes0x address (40 hex)
chainnoChain; default base

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

Example answer

{
  "chain": "base",
  "chainId": 8453,
  "block": 52207800,
  "as_of": "2026-10-19T12:00:00.000Z",
  "source": "base.drpc.org",
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "symbol": "ETH",
  "decimals": 18,
  "raw": "120000000000000000",
  "amount": "0.12",
  "errors": [],
  "note": "Read directly from a public node at the block shown; nothing is cached, estimated or priced in USD. A field the node did not return is null and named in errors."
}

Free sample, no payment: /evm/native-balance/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/evm-wallet-onchain, tool evm_native_balance. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools