{"uid":"cap_XPw-dpQNJCsK_g_zP31JG","slug":"kairo-agent-x402-api-onchain-address-lookup-bb9b2200","name":"Kairo Agent x402 API — Onchain Address Lookup","description":"Crypto-native ($0.02 USDC on Base, x402) utility endpoints for agents. No accounts, no KYC — pay-per-call.","url":"https://kairo-x402.onrender.com/api/onchain","method":"GET","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"0x EVM address"}}},"responseSchema":{"type":"object","required":["network","address","eth_balance","usdc_balance","tx_count","is_contract","is_active"],"properties":{"address":{"type":"string"},"network":{"type":"string"},"tx_count":{"type":"integer"},"is_active":{"type":"boolean"},"is_funded":{"type":"boolean"},"eth_balance":{"type":"number"},"is_contract":{"type":"boolean"},"usdc_balance":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hAinFIx7rp4xnR5MhGQxo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up ETH and USDC balances, transaction count, contract status, and activity status for any EVM address on-chain, paid per-call via x402.","exampleAgentPrompt":"Can you check the onchain stats for 0x742d35Cc6634C0532925a3b844Bc454e4438f44e — I want to know its ETH and USDC balances, how many transactions it's had, and whether it's a contract or a regular wallet?","exampleUseCases":[{"title":"Verify counterparty wallet before payment","prompt":"Before I send funds, can you check if 0xAbCd1234567890abcdef1234567890AbCd123456 is a real active wallet with some transaction history, or if it's brand new and unfunded?"},{"title":"Detect smart contract vs user wallet","prompt":"Tell me whether 0xdAC17F958D2ee523a2206206994597C13D831ec7 is a smart contract or a regular EOA address, and show me its ETH and USDC balances."},{"title":"Monitor agent wallet funding status","prompt":"Check if my agent's wallet at 0x1111111111111111111111111111111111111111 has enough funds — show me the ETH balance, USDC balance, and whether it's marked as active."}],"resultDescription":"Returns a JSON object with the queried address, the network name, current ETH balance, current USDC balance, total transaction count, a boolean indicating if the address is a smart contract, a boolean for whether it is active, and a boolean for whether it is funded.","failureModes":["Invalid or malformed 0x address returns an error","Address not found on network may return zero balances with is_active=false","Payment failure via x402 protocol will block the response","Network congestion or RPC downtime may cause slow or failed responses","Non-EVM address formats (e.g. Solana pubkeys) will be rejected"],"whenToPreferThis":"Choose this endpoint when you need quick, no-account-required onchain data for any EVM address — especially ETH/USDC balances and activity status — and you want to pay micro-amounts per call via x402 without API keys or KYC. Ideal for agent workflows on Base that need to verify wallet state before executing transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:38:49.056Z","isFirstParty":false}