{"uid":"cap_UkYk4bGfsmQLyyYGQto4Y","slug":"crypto-spot-price-by-coingecko-id-c8a02f7c","name":"Crypto Spot Price by CoinGecko ID","description":"Call before pricing or settling a crypto payment: live spot prices for one or more coins by CoinGecko id (USD price, 24h change, market cap) from a keyless multi-source chain that never returns an upstream 429.","url":"https://conclavex402p04.pythonanywhere.com/v1/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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"vs":"usd","ids":"bitcoin,ethereum","data":{"bitcoin":{"usd":60000,"mcap":1180000000000,"chg24h":1.2},"ethereum":{"usd":3000,"mcap":360000000000,"chg24h":-0.5}},"route":"price","stale":false,"source":"coingecko","partial":false,"staleness_sec":0}},"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_gTKbJQYT86Ru-K1jPiyV-","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 live USD spot price, 24-hour percentage change, and market cap for one or more cryptocurrencies identified by CoinGecko ID, sourced from a keyless multi-source chain that avoids upstream rate limits.","exampleAgentPrompt":"What are the current USD spot prices, 24-hour changes, and market caps for bitcoin and ethereum right now?","exampleUseCases":[{"title":"Pre-payment crypto price check","prompt":"Before I settle this invoice in ETH, can you pull the live USD spot price and 24-hour change for ethereum so I know the current rate?"},{"title":"Portfolio snapshot for multiple coins","prompt":"Grab me the current USD prices, market caps, and 24h changes for bitcoin, solana, and cardano all at once."},{"title":"Crypto price alert context","prompt":"I want to know if dogecoin has moved more than 5% in the last 24 hours — can you fetch its current price and 24h change?"}],"resultDescription":"A JSON object keyed by CoinGecko coin ID, each containing the USD spot price, market cap, and 24-hour percentage change, plus top-level metadata: the currency denomination, whether data is stale, staleness in seconds, the data source (e.g. coingecko), and whether the response is partial.","failureModes":["Invalid or unknown CoinGecko ID returns missing or empty data for that coin","Stale flag set to true with elevated staleness_sec when upstream sources are lagging","Partial flag true when only some requested coins returned data","Malformed query params (wrong format for ids) may yield empty data object","Network timeout from pythonanywhere host results in HTTP 5xx"],"whenToPreferThis":"Choose this endpoint when you need live crypto spot prices without managing API keys or worrying about CoinGecko rate limits (429s). It supports batch lookups for multiple coins in one call and provides staleness metadata so callers can judge data freshness — making it ideal for payment settlement, portfolio valuation, and pricing decisions where latency and reliability matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:44:58.626Z","isFirstParty":false,"canonicalSlug":"crypto-spot-price-by-coingecko-id-c8a02f7c"}