{"uid":"cap_WnPdH7G6vhXCtm9yQRwqc","slug":"crypto-spot-price-api-coingecko-based-x402-291bd043","name":"Crypto Spot Price API (CoinGecko-based, x402)","description":"Live spot prices for cryptocurrencies with 24h change. Query by CoinGecko ids (comma-separated, e.g. bitcoin,ethereum) and a fiat vs currency. Fresh within 60 seconds. JSON response.","url":"https://toolsmith-api.dassad10.workers.dev/t/crypto/spot","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"],"properties":{"vs":{"type":"string","description":"Fiat or crypto quote currency, default usd"},"ids":{"type":"string","description":"Comma-separated CoinGecko coin ids, max 25"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gkpPs1Ne3_90LrbDX65jb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live spot prices and 24-hour change for one or more cryptocurrencies, identified by CoinGecko coin IDs, against a chosen fiat or crypto quote currency.","exampleAgentPrompt":"What are the current spot prices and 24-hour changes for bitcoin, ethereum, and solana in USD? Data should be fresh — within the last minute.","exampleUseCases":null,"resultDescription":"A JSON object containing spot prices for each requested coin in the specified quote currency, along with 24-hour percentage change figures. Data is guaranteed fresh within 60 seconds.","failureModes":["Invalid or misspelled CoinGecko coin ID returns an error or empty result for that coin","Requesting more than 25 coins at once may be rejected","Unsupported quote currency (vs) may return an error","Payment failure (x402) results in 402 response before data is returned","Upstream CoinGecko API outage causes stale or missing data"],"whenToPreferThis":"Use this endpoint when you need near-real-time cryptocurrency spot prices (fresh within 60 seconds) for up to 25 coins identified by CoinGecko IDs, with 24h change data included. Prefer this over generic finance APIs when you need CoinGecko-sourced data and want a simple GET request with per-call micropayment pricing via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:26:24.411Z","isFirstParty":false}