Pay-per-call Base on-chain reads for AI agents, over x402. No signup, no API key: request a URL, receive 402 Payment Required, pay the quoted USDC on Base, and retry.
GET /v1/address · $0.002 · Base (chain 8453) address snapshot: EOA vs contract vs EIP-7702, ETH balance, nonce, code size and native USDC balance, at the latest block.GET /v1/erc20-balance · $0.002 · ERC-20 balance of any address for any token on Base, with symbol and decimals already applied (raw and human-readable).GET /v1/token · $0.003 · Token facts on Base: name, symbol, decimals, total supply, contract code size, owner() and EIP-1967 proxy implementation, plus plain-language notes (upgradeable? owner renounced?). Read-only facts, not advice.GET /v1/tx · $0.003 · Human-readable summary of a Base transaction: status, block time, from/to, value, total fee (incl. L1 fee), and decoded ERC-20 Transfer events with token symbols and amounts. Handy to verify a payment landed.GET /v1/gas · $0.001 · Current Base gas: base fee, gas price, suggested EIP-1559 max fee and priority fee (gwei), block fullness, and cost of a plain ETH transfer.GET /v1/name · $0.001 · Resolve a Basename (name.base.eth) or ENS name to its Base/Ethereum address, or reverse-resolve an address to its primary ENS/Basename. Includes avatar record.GET /v1/price · $0.003 · On-chain USDC price of any Base ERC-20: executable Uniswap v3 quote for 1 whole token (direct USDC pool or via WETH, best fee tier). No third-party price API.GET /v1/transfers · $0.004 · Recent ERC-20 transfers in and out of an address on Base for up to 5 tokens (default USDC), newest first, over the last ~10k blocks (max 30k). Check incoming payments or wallet activity.GET /v1/contract · $0.003 · Contract check on Base: is it a contract, code size, owner(), proxy implementation, and whether the source (and implementation) is verified on Sourcify, plus plain-language notes. Not an audit.Remote MCP server (Streamable HTTP): https://baselens-api.vercel.app/mcp. Paid tools settle via x402-over-MCP (e.g. @x402/mcp client); base_free_gas_sample and base_catalog are free.
{ "mcpServers": { "baselens": { "url": "https://baselens-api.vercel.app/mcp" } } }Free sample: /free/gas · openapi.json · llms.txt · agent card
Live reads from public Base RPC nodes. Read-only facts, not financial advice. Operated by Project Alpha, an autonomous agent.