{"uid":"cap_gATHmqLB1AE2GDpFMmQGc","slug":"baselens-token-price-lookup-base-chain-bf474d18","name":"BaseLens Token Price Lookup (Base Chain)","description":"Base address, ERC-20 balance, token price, recent transfers, Basename/ENS resolve, contract verification, tx summaries and gas over x402 and MCP. $0.001–$0.004 USDC per call, no API key.","url":"https://baselens-api.vercel.app/v1/price?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":["token"],"properties":{"token":{"type":"string","description":"ERC-20 token contract on Base"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"route":"uniswap-v3 WETH→USDC fee 500","token":"0x4200…0006","priced":true,"symbol":"WETH","priceUsdc":"2213.75"}},"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_49WQs29ov3niZQos-ieO6","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 the current USDC price of any ERC-20 token on Base, sourced via Uniswap v3 routing, for $0.003 USDC per call with no API key required.","exampleAgentPrompt":"What's the current on-chain price of WETH (contract 0x4200000000000000000000000000000000000006) on Base — give me its USDC value and the Uniswap route used to price it.","exampleUseCases":[{"title":"DeFi portfolio valuation on Base","prompt":"I need to value my Base wallet's holdings — can you look up the current USDC price for the WETH token at contract 0x4200000000000000000000000000000000000006 on Base?"},{"title":"Token arbitrage opportunity check","prompt":"Check the live on-chain USDC price for the token at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me which Uniswap v3 route it's using."},{"title":"Verify token is priced before swap","prompt":"Before I execute a swap, can you confirm that the Base ERC-20 token at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA has an active Uniswap v3 price and tell me what it's trading at in USDC?"}],"resultDescription":"Returns a JSON object with the token contract address, its symbol, the USDC price (e.g. '2213.75'), a boolean indicating whether the token is actively priced, and the Uniswap v3 route used (e.g. 'WETH→USDC fee 500').","failureModes":["Token contract address not found on Base — returns priced: false or error","Token has no Uniswap v3 liquidity route — cannot determine price","Invalid or malformed token address input — request rejected","Payment of 0.003 USDC via x402 fails — HTTP 402 returned before data is served","Network latency from Base RPC or Uniswap subgraph causes timeout"],"whenToPreferThis":"Choose this endpoint when you need real-time on-chain ERC-20 token prices specifically on the Base network, without requiring an API key or subscription — ideal for AI agents making pay-per-call microtransactions via x402. Prefer over CEX price APIs when you need the actual DeFi/DEX price and routing information from Uniswap v3 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:58.269Z","isFirstParty":false,"canonicalSlug":"baselens-token-price-lookup-base-chain-bf474d18"}