code402 / tools / balance-check

Base Balance & Solvency Snapshot — pay-per-call API

$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)

PRE-PAYMENT SOLVENCY PROOF: Snapshot verified native ETH and USDC token balance on Base with raw units and decimals provenance. Preflighted so you never pay during an RPC outage.

Honest scope: Reads public Base chain state via RPC, preflighted so you never pay during an outage. It proves what is on-chain — not who controls a key or what happens off-chain.

Try it (first 20 calls/day free)

curl -X POST https://code402.dev/v1/tools/balance-check/call \
  -H "content-type: application/json" \
  -d '{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}'

No key needed for the free tier. When the free quota is used up, the API replies HTTP 402 with the exact price — agents sign the x402 voucher and retry; humans buy card credits. Every paid response carries a signed receipt you can verify offline.

Run it in the playground (free)Pay by card — credits, no crypto

Input parameters

FieldTypeMeaning
address (required)stringEVM address, 0x-prefixed.
token_addressstringERC-20 token contract address (optional; defaults to USDC on Base).

Response

Top-level fields: tool, valid, address, native, token, reason, retryable, scope. Paid responses also carry a signed XDR-1 receipt.

All code402 tools

iban-checklei-checkvat-mod97-checkcompany-number-formatswift-bic-checkaba-routing-checkein-format-checkifsc-checkabn-checkgstin-checkisin-checksedol-checkisbn-checkean13-checkluhn-checke164-checkpre-disbursement-guardvendor-onboarding-packrent-deposit-guardrental-listing-riskrental-verdictsettlement-history-checkerc20-balancetx-activityblock-infobatch-validatecontext-distillcrypto-ticker

Machine-readable catalog: llms-full.txt · MCP manifest · OpenAPI. Operated by JUANA LIMITED (UK Co. No. 14043409). Non-custodial: USDC settles payer→seller directly on Base.