{"uid":"cap_EWV7H8B2B3dAWe7WKlBX6","slug":"d21-token-price-b08e809d","name":"d21 Token Price","description":"Token Price ($0.003): Base token price derived from on-chain state, not a resold price-API feed. Curated majors (ETH, WETH, USDC, DAI, cbETH, cbBTC, BTC) are priced from Chainlink's own Data Feed aggregator contracts on Base; any other Base ERC-20 address is priced from its deepest discoverable Uniswap V3 pool against USDC (with a liquidity read and a low-liquidity flag), or a clean unsupported-token error if no pool is discoverable. Also accepts { coins }, a comma-separated batch of symbols…","url":"https://draconic21-x402-api.onrender.com/v1/token_price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"coins":{"type":"string","description":"Comma-separated batch of symbols and/or 0x addresses, up to 10 (e.g. 'BTC,ETH,0x...') — same param name the category-leading incumbent uses. Mutually exclusive with symbol/address."},"quote":{"enum":["USD","ETH"],"type":"string","description":"Quote currency, default USD."},"symbol":{"type":"string","description":"Curated major token symbol: ETH, WETH, USDC, DAI, CBETH, CBBTC, or BTC. Mutually exclusive with address/coins."},"address":{"type":"string","description":"Any Base ERC-20 contract address (0x...), priced from its deepest live Uniswap V3 USDC pool. Mutually exclusive with symbol/coins."}}},"responseSchema":null,"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__vRyY-cNWSwDUU60QyPnJ","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 on-chain token prices for curated majors via Chainlink or any Base ERC-20 via Uniswap V3 pool discovery, with optional batch lookup by symbol or address","exampleAgentPrompt":"What are the current on-chain prices for ETH, BTC, and cbETH in USD? Use the Chainlink-backed source so I know the prices come from verified on-chain aggregators.","exampleUseCases":[{"title":"DeFi portfolio valuation snapshot","prompt":"Give me the current on-chain prices for ETH, WETH, USDC, and cbBTC in USD so I can value my Base wallet holdings right now."},{"title":"Arbitrary Base token price check","prompt":"What's the current price of the Base ERC-20 token at address 0x4200000000000000000000000000000000000006 in USD, and is there enough liquidity to trust the price?"},{"title":"Multi-token batch price feed for trading bot","prompt":"Fetch on-chain prices for BTC, ETH, DAI, and cbETH all at once in USD — I need to check spreads across these four assets before placing trades."}],"resultDescription":"Returns the token price in USD (or ETH if specified), sourced from Chainlink aggregator contracts for curated majors or the deepest discoverable Uniswap V3 USDC pool for arbitrary Base ERC-20s. Includes a low-liquidity flag when pool depth is thin, or a clean error if no pool is discoverable for the requested address.","failureModes":["No Uniswap V3 pool discoverable for the given address — returns unsupported-token error","Low liquidity on the discovered pool — price returned with low-liquidity flag set","Invalid or malformed ERC-20 address — input validation error","More than 10 tokens in coins batch — rejected with limit error","Mutually exclusive params (symbol + address, or symbol + coins) used together — input conflict error","Chainlink feed temporarily unavailable — may return stale or error response"],"whenToPreferThis":"Prefer this endpoint when you need verifiable on-chain token prices rather than centralized price-API feeds, especially for tokens on the Base network including arbitrary ERC-20s not listed on major exchanges. It is the right choice when you need Chainlink-grade reliability for curated majors (ETH, WETH, USDC, DAI, cbETH, cbBTC, BTC) or want automated Uniswap V3 pool discovery for long-tail Base tokens. Choose it over generic price APIs when on-chain provenance and liquidity awareness matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:11.404Z","isFirstParty":false,"canonicalSlug":"d21-token-price-b08e809d"}