{"uid":"cap_0nxaIhQTWYzSp18xWyf82","slug":"mach-base-wallet-snapshot-e09bdf67","name":"MACH Base Wallet Snapshot","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-snapshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 or token contract address on Base mainnet."},"maxItems":10,"description":"Up to ten token contract addresses whose balances should be included."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet or account address on Base mainnet."}}},"responseSchema":{"type":"json","example":{"tokens":[],"network":"eip155:8453","native_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_ELosn9kC3Z05MnPrdLBpf","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 a point-in-time snapshot of a Base wallet's native ETH balance and ERC-20 token balances for specified token contracts.","exampleAgentPrompt":"What's the current ETH balance and USDC token balance for the Base wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? Also check its balance of token contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.","exampleUseCases":[{"title":"DeFi bot pre-trade balance check","prompt":"Before executing a swap, check the current ETH and USDC balances on Base for wallet 0xAbCd1234...5678 — I need to know if we have enough to cover the trade."},{"title":"Portfolio dashboard wallet snapshot","prompt":"Grab a snapshot of all token balances for Base address 0x1234...abcd, including ETH and these three ERC-20 contracts: 0xA0b8..., 0xB31f..., and 0xC02a...."},{"title":"Automated treasury monitoring","prompt":"Check the native ETH balance and stablecoin holdings for our treasury wallet 0xDead...Beef on Base — I need to see if reserves have dropped below threshold."}],"resultDescription":"A JSON object containing the wallet's native ETH balance in wei (native_wei), a list of token balances for each requested ERC-20 contract address (tokens array), and the network identifier (network: 'eip155:8453' for Base mainnet).","failureModes":["Invalid or malformed wallet address (non-0x or wrong length) returns a validation error","Token contract addresses that are not valid ERC-20 contracts on Base may return zero balances","Exceeding 10 token addresses in the tokens array returns a schema validation error","Payment failure via x402 protocol prevents the call from completing","Network congestion or RPC unavailability on Base may cause timeouts"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a fast, pay-per-call (no subscription or API key) balance lookup for a specific wallet on Base mainnet, especially in autonomous or on-chain workflows where cost predictability ($0.005 USDC flat) and permissionless access matter. Prefer over Etherscan or Alchemy when you want micropayment-native access without managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:37:27.949Z","isFirstParty":false,"canonicalSlug":"mach-base-wallet-snapshot-e09bdf67"}