{"uid":"cap_1BC7aBCrOq4UbTB4JzTrr","slug":"wallet-profile-checker-x402-121cad0a","name":"Wallet Profile Checker (x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/api/wallet-profile?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"},"queryParams":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","examples":["0xe4be4d0bd82d8e68203deff81f79ede0529f2617"],"description":"Wallet"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"eth":0,"usdc":0.079,"chain":"base","nonce":0,"wallet":"0xe4be4d0bd82d8e68203deff81f79ede0529f2617","can_pay_gas":false,"can_pay_x402":true,"gas_cost_erc20_transfer_eth":4e-7}},"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_k3Iz0wSveC6kmkauP4AeI","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 a comprehensive Base wallet profile including ETH balance, USDC balance, nonce, gas affordability, and x402 payment capability for a given wallet address.","exampleAgentPrompt":"Before making that onchain payment, check the wallet 0xe4be4d0bd82d8e68203deff81f79ede0529f2617 on Base — tell me its ETH and USDC balances, nonce, and whether it has enough gas and USDC to pay x402 fees.","exampleUseCases":[{"title":"Agent self-check before API call","prompt":"Check my agent wallet 0xe4be4d0bd82d8e68203deff81f79ede0529f2617 on Base — does it have enough ETH for gas and at least $0.003 USDC to cover an x402 API call?"},{"title":"Counterparty wallet vetting","prompt":"I'm about to receive a crypto payment from 0xabc123...def456 — can you check their Base wallet profile to see if they actually have USDC and can cover gas for an ERC20 transfer?"},{"title":"Onchain agent funding status","prompt":"My trading bot uses wallet 0xdeadbeef...1234 on Base. Pull its full wallet profile — ETH balance, USDC, nonce, and whether it can pay gas — so I know if I need to top it up before it runs tonight."}],"resultDescription":"A JSON object with the wallet's ETH balance, USDC balance, chain name ('base'), nonce, boolean flags for gas affordability (can_pay_gas) and x402 payment capability (can_pay_x402), and the estimated gas cost in ETH for an ERC20 transfer.","failureModes":["Invalid or malformed wallet address (not matching 0x hex pattern) returns a 400 error","Wallet with zero balances returns valid response but can_pay_gas=false and can_pay_x402=false","Payment of 0.003 USDC via x402 required — insufficient USDC in calling wallet causes 402 rejection","Network issues reaching Base RPC may result in timeout or 503","Non-existent wallet (never used address) returns nonce=0 and zero balances"],"whenToPreferThis":"Use this endpoint when you need a one-call snapshot of a Base wallet's financial readiness — especially before initiating x402 micropayments, ERC20 transfers, or any onchain agent action. Prefer this over raw RPC calls when you need ETH balance, USDC balance, gas affordability, and x402 capability all at once without managing multiple blockchain queries or API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:24.614Z","isFirstParty":false,"canonicalSlug":"wallet-profile-checker-x402-121cad0a"}