{"uid":"cap_W4sFo_RPF0eBISYJfucU8","slug":"tbs-crypto-defi-api-token-price-lookup-07297e7b","name":"TBS Crypto & DeFi API – Token Price Lookup","description":"Crypto & DeFi data for AI agents in one sub-cent call: real-time token prices, market data (market cap, volume, supply), DeFi TVL by protocol or chain, yield/APY pools, and a flagship bundle combining all of it. DefiLlama + Coinpaprika, keyless, unified schema, USDC-payable via x402 on Base.","url":"https://crypto-x402.tbs-digital.com/crypto/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","properties":{"coins":{"type":"string","description":"Comma-separated DefiLlama coin keys, e.g. coingecko:ethereum"},"symbols":{"type":"string","description":"Comma-separated tickers, e.g. btc,eth,sol"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"payer":{"type":"object","properties":{"address":{"type":"string","nullable":true},"network":{"type":"string"}}},"prices":{"type":"array"},"source":{"type":"string"},"request_id":{"type":"string"},"generated_at":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"payer":{"address":"0x0000000000000000000000000000000000000000","network":"base"},"prices":[{"coin":"coingecko:ethereum","symbol":"ETH","price_usd":3542.18,"confidence":0.99,"observed_at":"2026-08-11T12:00:00.000Z"}],"source":"defillama","request_id":"0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55","generated_at":"2026-08-11T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s5OMwMipBF_bKzdgXJzFK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time USD prices for one or more crypto tokens using DefiLlama coin keys or ticker symbols","exampleAgentPrompt":"What are the current USD prices for ETH and SOL? Use the DefiLlama-backed price endpoint so I get a confidence score with each result.","exampleUseCases":[{"title":"Live price check for trading bot","prompt":"Give me the current price of Bitcoin, Ethereum, and Solana in USD right now — I need the latest data with confidence scores for my trading bot."},{"title":"Portfolio valuation snapshot","prompt":"Look up the current USD prices for coingecko:ethereum, coingecko:bitcoin, and coingecko:uniswap so I can calculate the current value of my crypto portfolio."},{"title":"DeFi yield strategy pricing","prompt":"What's the live price of ETH and USDC right now? I need accurate token prices to evaluate whether an ETH-USDC yield pool is worth entering."}],"resultDescription":"Returns a JSON object containing an array of token prices, each with the coin identifier, ticker symbol, USD price, confidence score (0–1), and observation timestamp. Also includes source attribution (DefiLlama), a unique request ID, and the payer wallet address on Base network.","failureModes":["Invalid or unrecognized coin key or symbol returns empty or error result","Malformed comma-separated input may cause partial or failed lookup","Payment failure via x402/USDC results in 402 response with no data","DefiLlama source data outage may result in stale or missing prices","Rate limiting if request volume exceeds plan thresholds"],"whenToPreferThis":"Choose this endpoint when you need sub-cent, keyless, real-time token price lookups sourced from DefiLlama with USDC micropayment billing on Base. It is ideal for AI agents that require no API key management, want a unified schema across multiple tokens, and need confidence scores alongside prices. Prefer it over free public APIs when you want metered, pay-per-call access with deterministic cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:37:58.775Z","isFirstParty":false,"canonicalSlug":"tbs-crypto-defi-api-token-price-lookup-07297e7b"}