{"uid":"cap_QcNXJiQ-UT3F9arcTMRTZ","slug":"coingecko-real-time-spot-price-lookup-829ab16e","name":"CoinGecko Real-Time Spot Price Lookup","description":"Crypto token price in USD, EUR and more — real-time spot prices for one or many coins by CoinGecko id (bitcoin, ethereum, solana).","url":"https://coingecko.use.x402atlas.com/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":["ids","vs_currencies"],"properties":{"ids":{"type":"string","description":"Comma-separated CoinGecko coin-id slugs, lowercase, up to 50 ids (e.g. bitcoin,ethereum)"},"vs_currencies":{"type":"string","description":"Comma-separated target currency codes, up to 50, alphanumeric (e.g. usd,eur,btc)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","quotes"],"properties":{"quotes":{"type":"array","items":{"type":"object","required":["id","vs_currency","price"],"properties":{"id":{"type":"string","description":"CoinGecko coin id slug"},"price":{"type":"number","description":"Spot price"},"vs_currency":{"type":"string","description":"Currency code the price is quoted in"}}},"description":"One row per requested id x currency pair that had upstream data"},"queried_at":{"type":"string","format":"date-time","description":"UTC timestamp the upstream was queried"}}}}}}},"responseSchema":{"type":"json","example":{"quotes":[{"id":"bitcoin","price":67000,"vs_currency":"usd"},{"id":"ethereum","price":3500,"vs_currency":"usd"}],"queried_at":"2026-06-08T12:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mrq9lU0I1FdII2jihzjN6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time spot prices for one or more crypto coins in one or more fiat/crypto currencies using CoinGecko coin IDs.","exampleAgentPrompt":"What are the current prices of bitcoin, ethereum, and solana in both USD and EUR right now?","exampleUseCases":null,"resultDescription":"A JSON object keyed by coin ID, each containing the requested currency prices as numeric values — e.g. {\"bitcoin\":{\"usd\":67000,\"eur\":61500},\"ethereum\":{\"usd\":3200,\"eur\":2950}}.","failureModes":["Invalid coin ID returns empty object or error — use exact CoinGecko slugs like 'bitcoin' not 'BTC'","Invalid vs_currencies value returns error or empty prices","Missing required query parameters (ids or vs_currencies) returns 400 or validation error","Rate limiting or payment failure returns 402 or 429","Network timeout if many coins are requested simultaneously"],"whenToPreferThis":"Use this endpoint when you need the current spot price of one or many specific coins in one or many currencies and don't need historical data, OHLC candles, or full market metadata. It is the fastest and cheapest option for simple price lookups by CoinGecko coin ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:45:04.569Z","isFirstParty":false,"canonicalSlug":"coingecko-real-time-spot-price-lookup-829ab16e"}