{"uid":"cap_9qH1p_uQM0mMwn7nbS4-8","slug":"mach-gallery-base-wallet-balance-38bf6802","name":"Mach Gallery Base Wallet Balance","description":"Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.","url":"https://api.mach.gallery/api/base/wallet-balance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet or account address on Base mainnet."}}},"responseSchema":{"type":"json","example":{"address":"0x0000000000000000000000000000000000000001","network":"eip155:8453","balance_wei":"0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Thp7N7E9ifcSFvnZ6-yp-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 (in wei) of a given EVM wallet address on the Base network (chain ID 8453)","exampleAgentPrompt":"What's the current ETH balance (in wei) of the Base wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?","exampleUseCases":[{"title":"DeFi agent pre-flight funding check","prompt":"Before I execute this swap, check if the Base wallet 0xAbCd1234abcd1234abcd1234abcd1234abcd1234 has any ETH balance on Base so I know it can cover gas."},{"title":"Portfolio tracker balance snapshot","prompt":"I want to monitor my cold wallet — can you pull the current ETH balance in wei for 0x71C7656EC7ab88b098defB751B7401B5f6d8976F on Base?"},{"title":"Agent treasury health check","prompt":"Check whether the agent treasury wallet 0x000000000000000000000000000000000000dEaD still has funds on Base — give me the balance in wei."}],"resultDescription":"A JSON object containing the queried wallet address, the network identifier (eip155:8453 for Base mainnet), and the wallet's native ETH balance expressed in wei as a string. Example: {\"address\":\"0x...\",\"network\":\"eip155:8453\",\"balance_wei\":\"1234567890000000000\"}.","failureModes":["Invalid address format (not a 20-byte 0x-prefixed hex string) returns a validation error","Address not found on Base returns balance_wei of '0' (valid but empty wallet)","Network connectivity issues to Base RPC may return a timeout or 5xx error","Insufficient USDC payment via x402 results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-subscription, pay-per-call lookup of a native ETH balance on the Base L2 network specifically. It is ideal for autonomous agents that need on-demand wallet funding verification without managing API keys. Prefer it over general-purpose blockchain explorers when operating in a Base-native or x402 payment environment, or when building pipelines that need microtransaction-priced data access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:37:22.344Z","isFirstParty":false,"canonicalSlug":"mach-gallery-base-wallet-balance-38bf6802"}