{"uid":"cap_0kD-lB35RXWhNCAQmc6mS","slug":"apitoll-crypto-price-lookup-474115a8","name":"ApiToll Crypto Price Lookup","description":"Latest crypto token prices by ticker symbol, CoinGecko id, or chain:address (BTC, ETH, SOL, or base:0x…): current spot price, token symbol, decimals, and a confidence score, for up to 50 coins in one call. Pass ?at=<unix> for the historical price at a point in time. Sourced from DefiLlama across every major chain.","url":"https://crypto.apitoll.cloud/v1/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":{"at":{"type":"integer","description":"Unix seconds for a historical price snapshot. Omit for current."},"coins":{"type":"string","description":"Comma-separated symbols (BTC,ETH), coingecko ids (coingecko:solana), or chain:address (base:0x833…). Up to 50."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":"string"},"count":{"type":"number"},"prices":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"price":{"type":"number"},"query":{"type":"string"},"symbol":{"type":"string"},"decimals":{},"resolved":{"type":"boolean"},"timestamp":{"type":"number"},"confidence":{"type":"number"}}}},"source":{"type":"object","properties":{"name":{"type":"string"}}},"requested":{"type":"number"},"historical":{"type":"boolean"},"unresolved":{"type":"array","items":{"type":"object"}}}}}}}},"responseSchema":{"type":"json","example":{"asOf":"2026-06-15T08:00:00Z","count":3,"prices":[{"key":"coingecko:bitcoin","price":65517.56,"query":"BTC","symbol":"BTC","decimals":null,"resolved":true,"timestamp":1781516766,"confidence":0.99}],"source":{"name":"DefiLlama"},"requested":3,"historical":false,"unresolved":[]}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"coins":"BTC,ETH,coingecko:solana"}}},"response":{"asOf":"2026-06-16T17:42:35.440Z","count":3,"prices":[{"key":"coingecko:bitcoin","price":65686.08,"query":"BTC","symbol":"BTC","decimals":null,"resolved":true,"timestamp":1781631727,"confidence":0.99},{"key":"coingecko:ethereum","price":1781.82,"query":"ETH","symbol":"ETH","decimals":null,"resolved":true,"timestamp":1781631727,"confidence":0.99},{"key":"coingecko:solana","price":73.24,"query":"coingecko:solana","symbol":"SOL","decimals":null,"resolved":true,"timestamp":1781631718,"confidence":0.99}],"source":{"url":"https://defillama.com/docs/api","name":"DefiLlama"},"requested":3,"historical":false,"unresolved":[]}},"exampleRequest":{"coins":"BTC,ETH,coingecko:solana"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_0UXqx00oAA1a4h9AjYBPv","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 or historical spot prices for up to 50 crypto tokens by symbol, CoinGecko ID, or chain:address, sourced from DefiLlama, paid per call via USDC.","exampleAgentPrompt":"What are the current prices of BTC, ETH, and SOL — and also pull the historical price of coingecko:solana as of Unix timestamp 1781516766?","exampleUseCases":null,"resultDescription":"A JSON object with an array of resolved token prices (each including the token symbol, price in USD, confidence score, and timestamp), a count of requested vs resolved tokens, a list of unresolved queries, the data source (DefiLlama), and whether the response is historical or current.","failureModes":["Unrecognized token symbol or CoinGecko ID returns the token in the 'unresolved' array with resolved:false","Invalid chain:address format causes the entry to go unresolved","Requesting more than 50 tokens may result in truncation or error","Historical timestamp too far in the past may return low-confidence or missing prices","Payment failure (x402) blocks the response entirely"],"whenToPreferThis":"Use this endpoint when you need real-time or point-in-time USD prices for one or many crypto tokens by flexible identifier (symbol, CoinGecko ID, or on-chain address) without a subscription or API key. Prefer it over subscription-based price APIs when running pay-per-call pipelines, or when you need multi-chain token resolution including long-tail DeFi tokens indexed by DefiLlama.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:38:19.058Z","isFirstParty":false,"canonicalSlug":"apitoll-crypto-price-lookup-474115a8"}