{"uid":"cap_RD3wn9qHUYlnLlLPvTMSz","slug":"tbs-crypto-defi-api-spot-prices-d1a53a5e","name":"TBS Crypto & DeFi API – Spot Prices","description":"Real-time crypto token spot prices for AI agents and trading bots. Returns USD price, token symbol, and DefiLlama price confidence per coin. Query by DefiLlama coin key (coingecko:ethereum) or common ticker (btc, eth, sol, usdc, usdt) — batch up to 50 coins in one call. Keyless, unified schema, stablecoin-payable.","url":"https://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":null,"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_ODQFsOZ3CXrohzZfuzEkI","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 spot prices, token symbols, and DefiLlama price confidence scores for up to 50 crypto tokens in a single call, queryable by DefiLlama coin key or common ticker.","exampleAgentPrompt":"What are the current spot prices for BTC, ETH, SOL, USDC, and USDT right now — including how confident DefiLlama is in each price?","exampleUseCases":[{"title":"Live portfolio valuation for trading bot","prompt":"Get me the current USD prices for ETH, SOL, AVAX, and UNI so I can calculate the total value of my crypto portfolio."},{"title":"Stablecoin peg monitoring","prompt":"Check the current prices of USDC and USDT and their DefiLlama confidence scores — I want to make sure they're both holding their dollar peg."},{"title":"Arbitrage signal detection","prompt":"Fetch live spot prices for coingecko:ethereum, coingecko:weth, and coingecko:staked-ether so I can compare them and flag any pricing discrepancies."}],"resultDescription":"A JSON array of price records, each containing the token symbol, current USD price, and DefiLlama price confidence score, along with a generated_at timestamp, request_id, data source label, and payer wallet details.","failureModes":["Invalid or unrecognized coin key/ticker returns an error or omits that token from results","Requesting more than 50 coins in one call may be rejected or truncated","Payment failure (insufficient USDC balance or x402 protocol error) blocks the request","DefiLlama data outage may cause stale or unavailable prices","Malformed query parameter format (e.g. wrong delimiter) returns a validation error"],"whenToPreferThis":"Prefer this endpoint when you need real-time, multi-token spot prices with DefiLlama confidence scores in a single low-cost ($0.001 USDC) keyless call. It is ideal for AI agents, trading bots, and DeFi yield optimizers that need batch pricing across common tickers or DefiLlama coin keys without managing API keys. Choose alternatives if you need full OHLCV historical data, order book depth, or exchange-specific pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:54:39.732Z","isFirstParty":false,"canonicalSlug":"tbs-crypto-defi-api-spot-prices-d1a53a5e"}