{"uid":"cap_LZ3mZAe_CN9LZBk27uA_w","slug":"api-strale-io-bc86286e","name":"Crypto Price Lookup via CoinGecko","description":"Get current cryptocurrency price, market cap, and trends via CoinGecko API. Supports 10,000+ coins. Multiple fiat currencies.","url":"https://api.strale.io/x402/crypto-price","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"},"queryParams":{"type":"object","required":["coin"],"properties":{"coin":{"type":"string","description":"Coin name/symbol (bitcoin, eth, sol)"},"vs_currencies":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"coin":"bitcoin","vs_currencies":"usd"},"response":{"id":"bitcoin","name":"Bitcoin","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x997a5c1d9d30164326a969d3867b0ee86f24f474c4268f54e25ae3b23f2ab984"},"capability":"crypto-price","latency_ms":100,"provenance":{"source":"api.coingecko.com","fetched_at":"2026-06-16T01:24:50.520Z"}},"prices":{"usd":66294},"symbol":"btc","ath_usd":126080,"ath_date":"2025-10-06T18:57:42.558Z","last_updated":"2026-06-16T01:24:37.325Z","total_supply":20043278,"market_cap_usd":1328515655234,"market_cap_rank":1,"total_volume_usd":32022358004,"circulating_supply":20043278,"price_change_7d_percent":5.09811,"price_change_24h_percent":1.3713,"price_change_30d_percent":-14.87896}},"exampleRequest":{"coin":"bitcoin","vs_currencies":"usd"},"tags":["x402"],"displayCostAmount":"0.054001","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.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UulbLXnRCZh3o3GBqz6T9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current price, market cap, and trend data for any of 10,000+ cryptocurrencies in multiple fiat currencies, powered by CoinGecko.","exampleAgentPrompt":"What's the current price and market cap of Solana in USD right now?","exampleUseCases":[{"title":"Real-time crypto portfolio valuation","prompt":"Can you check the current prices and market caps for Bitcoin, Ethereum, and Cardano in USD so I can see what my holdings are worth right now?"},{"title":"Multi-currency international payment verification","prompt":"I need to verify the exchange rate for Ripple in both EUR and GBP to make sure my international client is getting a fair deal on this crypto payment."},{"title":"Trending altcoin research for investment","prompt":"Pull up the latest prices and market cap trends for the top 5 altcoins you can find so I can see which ones are gaining momentum this week."}],"resultDescription":"Returns the current price, market capitalization, and trend data for the requested cryptocurrency in the specified fiat currency (or USD by default), sourced from the CoinGecko API. Covers over 10,000 coins.","failureModes":["Unknown coin symbol or name — returns error if the coin parameter does not match a CoinGecko-recognized identifier","Unsupported fiat currency in vs_currencies — may return empty or error if the currency code is invalid","Rate limiting or CoinGecko API downtime — may return 5xx or timeout","Missing required 'coin' query parameter — returns validation error"],"whenToPreferThis":"Use this endpoint when you need real-time cryptocurrency price and market cap data for any of 10,000+ coins in one or more fiat currencies. Prefer this over building a direct CoinGecko integration when you need a quick, pay-per-call lookup without managing API keys or rate limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:40.779Z","isFirstParty":false}