BaseLens developer guides
Practical, copy-paste guides for calling BaseLens from your own code. Every endpoint is paid per call in USDC on Base via x402, with no API key.
- Verify a USDC payment on Base via API: Confirm that a USDC (or other ERC-20) payment landed on Base from a transaction hash: status, confirmations, fee and decoded transfers, in one HTTP call.
- Base wallet balance API: ETH, tokens and account type: Get ETH, nonce, account type (EOA, contract or EIP-7702) and major token balances for any Base address with one HTTP call. No RPC key, pay per call.
- Check an x402 endpoint before you pay for it: Test any x402 paid API before spending money: reachability, latency, price in USD, network, payTo wallet and discovery metadata issues, from one call.
BaseLens overview/openapi.jsonllms.txt
Sister services
- DepVet: npm and PyPI package vetting before install
- TokenGuard: honeypot and rug pull checks for Base tokens, plus pre-screened new launches
- MacroLens: country macro statistics and company registries (Norway, France)
- SkyFeed: weather forecasts, US alerts, earthquakes and public holidays
- ChainRead: gas, balances, ENS and Basename resolution on Base and Ethereum