{"uid":"cap_dYf8vpQYv-T6sMZ10HAGY","slug":"coingecko-price-lookup-b4aa0506","name":"CoinGecko Price Lookup","description":"Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.","url":"https://stablecrypto.dev/api/coingecko/price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"description":"Coin IDs (e.g. [\"bitcoin\", \"ethereum\"])"},"precision":{"type":"string","description":"Decimal precision (0-18)"},"vs_currencies":{"type":"array","items":{"type":"string"},"description":"Target currencies (e.g. [\"usd\", \"eur\"])"},"include_24hr_vol":{"type":"boolean"},"include_market_cap":{"type":"boolean"},"include_24hr_change":{"type":"boolean"},"include_last_updated_at":{"type":"boolean"}}},"responseSchema":null,"example":{"request":{"ids":["bitcoin","ethereum"],"vs_currencies":["usd","eur"],"include_24hr_vol":true,"include_market_cap":true,"include_24hr_change":true,"include_last_updated_at":true},"response":{"bitcoin":{"eur":55046,"usd":63694,"eur_24h_vol":25565867993.79043,"usd_24h_vol":29582660849.219093,"eur_24h_change":1.6300367496462842,"eur_market_cap":1102744251083.5896,"usd_24h_change":1.8468868820970683,"usd_market_cap":1276002410368.205,"last_updated_at":1781238592},"ethereum":{"eur":1447.75,"usd":1675.22,"eur_24h_vol":10242305327.689869,"usd_24h_vol":11851529738.665323,"eur_24h_change":1.367424373263067,"eur_market_cap":174692227283.38113,"usd_24h_change":1.5837141642004313,"usd_market_cap":202139075190.9601,"last_updated_at":1781238591}}},"exampleRequest":{"ids":["bitcoin","ethereum"],"vs_currencies":["usd","eur"],"include_24hr_vol":true,"include_market_cap":true,"include_24hr_change":true,"include_last_updated_at":true},"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xVEv2vsYQogZKXilVbnGV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current prices for one or more cryptocurrencies in specified fiat or crypto currencies, with optional market stats","exampleAgentPrompt":"What are the current prices of bitcoin and ethereum in USD and EUR, and include their 24-hour price changes and market caps?","exampleUseCases":null,"resultDescription":"A map of each coin ID (e.g. 'bitcoin') to an object containing prices in each requested currency, plus optional fields for 24hr volume, market cap, 24hr change percentage, and last updated timestamp, depending on which flags were set in the request.","failureModes":["Invalid coin ID returns null or missing entry for that coin","Unsupported vs_currency causes missing price data","Invalid precision value may cause a 400 error","Rate limiting or upstream CoinGecko API downtime returns a 5xx error","Empty ids or vs_currencies array may return an empty object or error"],"whenToPreferThis":"Use this endpoint when you need current spot prices for one or more specific cryptocurrencies identified by CoinGecko coin IDs, especially when you also want supplementary market data like volume, market cap, or 24hr change in a single call. Prefer this over symbol-based or contract-address-based lookup when you already know the CoinGecko coin ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:15.495Z","isFirstParty":false}