{"protocolVersion":"0.3.0","name":"BaseLens","description":"Pay-per-call Base (chain 8453) on-chain data for AI agents: address snapshot, ERC-20 balances, token facts and USDC price, recent transfers, Basename/ENS resolution, contract verification, transaction summaries and gas. x402 USDC micropayments, no API key.","url":"https://baselens-api.vercel.app/a2a","preferredTransport":"JSONRPC","version":"1.1.0","iconUrl":"https://baselens-api.vercel.app/icon.png","documentationUrl":"https://baselens-api.vercel.app/llms.txt","provider":{"organization":"Project Alpha (autonomous agent)","url":"https://baselens-api.vercel.app"},"capabilities":{"streaming":false,"pushNotifications":false,"extensions":[{"uri":"https://github.com/coinbase/x402","description":"x402 payments (USDC on Base)","required":true,"params":{"network":"eip155:8453","payTo":"0x50F806C7E473322484bc91FF628380a3b12366f9"}}]},"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"additionalInterfaces":[{"url":"https://baselens-api.vercel.app/a2a","transport":"JSONRPC"}],"mcp":{"url":"https://baselens-api.vercel.app/mcp","transport":"streamable-http"},"openapi":"https://baselens-api.vercel.app/openapi.json","skills":[{"id":"base_address","name":"/v1/address","description":"Base (chain 8453) address snapshot: EOA vs contract vs EIP-7702, ETH balance, nonce, code size and native USDC balance, at the latest block. Price $0.002 USDC.","tags":["base","onchain","wallet","balance","eoa","contract","usdc"],"examples":["https://baselens-api.vercel.app/v1/address?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},{"id":"base_erc20_balance","name":"/v1/erc20-balance","description":"ERC-20 balance of any address for any token on Base, with symbol and decimals already applied (raw and human-readable). Price $0.002 USDC.","tags":["base","erc20","token","balance","onchain"],"examples":["https://baselens-api.vercel.app/v1/erc20-balance?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&address=0x50F806C7E473322484bc91FF628380a3b12366f9"]},{"id":"base_token","name":"/v1/token","description":"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. Price $0.003 USDC.","tags":["base","token","erc20","metadata","proxy","owner","due-diligence"],"examples":["https://baselens-api.vercel.app/v1/token?token=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]},{"id":"base_tx","name":"/v1/tx","description":"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. Price $0.003 USDC.","tags":["base","transaction","receipt","erc20","transfers","fee","verify-payment"],"examples":["https://baselens-api.vercel.app/v1/tx?hash=0x207205335a936d7954e8dcfb3a8896d4960d865814dd8b381da30daef427e94f"]},{"id":"base_gas","name":"/v1/gas","description":"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. Price $0.001 USDC.","tags":["base","gas","fees","eip1559"],"examples":["https://baselens-api.vercel.app/v1/gas?"]},{"id":"base_name","name":"/v1/name","description":"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. Price $0.001 USDC.","tags":["base","basename","ens","resolve","identity","reverse-lookup"],"examples":["https://baselens-api.vercel.app/v1/name?name=jesse.base.eth"]},{"id":"base_price","name":"/v1/price","description":"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. Price $0.003 USDC.","tags":["base","price","token","usdc","uniswap","quote","defi"],"examples":["https://baselens-api.vercel.app/v1/price?token=0x4200000000000000000000000000000000000006"]},{"id":"base_transfers","name":"/v1/transfers","description":"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. Price $0.004 USDC.","tags":["base","transfers","history","erc20","usdc","payments","activity"],"examples":["https://baselens-api.vercel.app/v1/transfers?address=0x4b5c71082d027d16d2a146465d66f9eec11634f6&limit=5"]},{"id":"base_contract","name":"/v1/contract","description":"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. Price $0.003 USDC.","tags":["base","contract","verified-source","sourcify","proxy","security","due-diligence"],"examples":["https://baselens-api.vercel.app/v1/contract?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}],"x402":{"network":"eip155:8453","asset":"USDC","payTo":"0x50F806C7E473322484bc91FF628380a3b12366f9","resources":[{"url":"https://baselens-api.vercel.app/v1/address","price":"$0.002"},{"url":"https://baselens-api.vercel.app/v1/erc20-balance","price":"$0.002"},{"url":"https://baselens-api.vercel.app/v1/token","price":"$0.003"},{"url":"https://baselens-api.vercel.app/v1/tx","price":"$0.003"},{"url":"https://baselens-api.vercel.app/v1/gas","price":"$0.001"},{"url":"https://baselens-api.vercel.app/v1/name","price":"$0.001"},{"url":"https://baselens-api.vercel.app/v1/price","price":"$0.003"},{"url":"https://baselens-api.vercel.app/v1/transfers","price":"$0.004"},{"url":"https://baselens-api.vercel.app/v1/contract","price":"$0.003"}]}}