{"uid":"cap_eXY90LCISzak--QfTh3y_","slug":"x402-balance-2d9cdaf0","name":"x402-balance","description":"Native ETH balance for any wallet on Base, machine-readable, one call. $0.003 USDC per call on Base.","url":"https://x402-extract-wg5z.onrender.com/v1/balance/:address?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Wallet address as a path parameter: GET /v1/balance/0x… (0x + 40 hex chars)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["address","balance_wei","balance_eth","block_number","chain"],"properties":{"chain":{"enum":["base"],"type":"string"},"address":{"type":"string","description":"EIP-55 checksummed address"},"balance_eth":{"type":"string","description":"Native ETH balance in ETH"},"balance_wei":{"type":"string","description":"Native ETH balance in wei (string: exact, no float loss)"},"block_number":{"type":"integer","description":"Base block the balance was read at"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R61-E5505UQE1YZJz_zeC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the native ETH balance of any wallet address on the Base network, in both wei and ETH, along with the block number at which it was read.","exampleAgentPrompt":"What's the current ETH balance on Base for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? Give me both the ETH and wei amounts.","exampleUseCases":[{"title":"Pre-flight gas check for transaction","prompt":"Before I send a transaction, check how much ETH is in 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — I need to know if there's enough to cover gas."},{"title":"Portfolio ETH balance snapshot","prompt":"Grab the current native ETH balance on Base for my wallet 0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234 so I can log it for my portfolio tracker."},{"title":"Verify wallet funded before airdrop","prompt":"Has wallet 0x1111222233334444555566667777888899990000 on Base received any ETH yet? Check the current balance for me."}],"resultDescription":"Returns a JSON object with the EIP-55 checksummed wallet address, native ETH balance expressed as a string in wei (exact, no floating-point loss), ETH balance as a decimal string, the Base block number at which the balance was read, and the chain identifier ('base').","failureModes":["Invalid or malformed address (not 0x + 40 hex chars) returns an error","Address with zero balance returns balance_wei of '0' and balance_eth of '0.0' — not an error","RPC or network outage on Base may cause a 500 or timeout","Payment failure (insufficient USDC or x402 protocol error) results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, machine-readable, single-call lookup of a wallet's native ETH balance on Base without running your own RPC node. It returns both wei (exact integer string) and ETH (decimal string) together with the block number, making it ideal for agents performing pre-transaction gas checks, portfolio snapshots, or funding verifications on Base — especially in pay-per-call pipelines using the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:31:31.315Z","isFirstParty":false,"canonicalSlug":"x402-balance-2d9cdaf0"}