{"uid":"cap_CGLGZ_x9PNN1SNnoANSQS","slug":"coingecko-markets-data-via-stablecrypto-95aba7d5","name":"CoinGecko Markets Data via StableCrypto","description":"Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.","url":"https://stablecrypto.dev/api/coingecko/markets","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"description":"Filter by coin IDs"},"page":{"type":"number"},"order":{"type":"string","description":"Sort order (e.g. \"market_cap_desc\")"},"category":{"type":"string"},"per_page":{"type":"number","description":"Results per page (max 250)"},"sparkline":{"type":"boolean"},"vs_currency":{"type":"string","description":"Target currency (e.g. \"usd\")"},"price_change_percentage":{"type":"string","description":"Comma-separated intervals (e.g. \"1h,24h,7d\")"}}},"responseSchema":null,"example":{"request":{"ids":["bitcoin","ethereum"],"page":1,"order":"market_cap_desc","per_page":25,"sparkline":false,"vs_currency":"usd","price_change_percentage":"1h,24h,7d"},"response":[{"id":"bitcoin","ath":126080,"atl":67.81,"roi":null,"name":"Bitcoin","image":"https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400","symbol":"btc","low_24h":62320,"ath_date":"2025-10-06T18:57:42.558Z","atl_date":"2013-07-06T00:00:00.000Z","high_24h":63753,"market_cap":1276002410368,"max_supply":21000000,"last_updated":"2026-06-12T04:29:45.923Z","total_supply":20041587,"total_volume":29398841909,"current_price":63693,"market_cap_rank":1,"price_change_24h":1153.16,"circulating_supply":20041587,"ath_change_percentage":-49.48241,"atl_change_percentage":93829.29747,"market_cap_change_24h":22540493249,"fully_diluted_valuation":1276002410368,"price_change_percentage_24h":1.84389,"market_cap_change_percentage_24h":1.79826,"price_change_percentage_1h_in_currency":0.546669876929365,"price_change_percentage_7d_in_currency":1.805234861786993,"price_change_percentage_24h_in_currency":1.8438942946024859},{"id":"ethereum","ath":4946.05,"atl":0.432979,"roi":{"times":34.16433853685058,"currency":"btc","percentage":3416.433853685058},"name":"Ethereum","image":"https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628","symbol":"eth","low_24h":1632.77,"ath_date":"2025-08-24T19:21:03.333Z","atl_date":"2015-10-20T00:00:00.000Z","high_24h":1687.85,"market_cap":202139075191,"max_supply":null,"last_updated":"2026-06-12T04:29:46.130Z","total_supply":120684283.3954924,"total_volume":11918741123,"current_price":1675.21,"market_cap_rank":2,"price_change_24h":26.12,"circulating_supply":120684283.3954924,"ath_change_percentage":-66.13024,"atl_change_percentage":386804.48028,"market_cap_change_24h":3036908716,"fully_diluted_valuation":202139075191,"price_change_percentage_24h":1.5836,"market_cap_change_percentage_24h":1.5253,"price_change_percentage_1h_in_currency":0.34508003830964495,"price_change_percentage_7d_in_currency":-3.197459123201537,"price_change_percentage_24h_in_currency":1.5836022069582019}]},"exampleRequest":{"ids":["bitcoin","ethereum"],"page":1,"order":"market_cap_desc","per_page":25,"sparkline":false,"vs_currency":"usd","price_change_percentage":"1h,24h,7d"},"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_kyT58TYOoi36TbeVz_FdC","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 paginated, sorted cryptocurrency market data (prices, market caps, volume, supply) for one or more coins against a target currency","exampleAgentPrompt":"Show me the top 25 cryptocurrencies by market cap in USD, sorted by market_cap_desc, including their 24h and 7d price change percentages — give me page 1 with 25 results per page.","exampleUseCases":null,"resultDescription":"An array of coin objects each containing: id, name, symbol, image, current price, market cap, market cap rank, fully diluted valuation, total volume, 24h high/low, price change (absolute and percentage) over 24h, market cap change over 24h, circulating supply, total supply, max supply, all-time high and low with dates and change percentages, and last updated timestamp.","failureModes":["Missing required vs_currency field returns 400 error","Invalid coin ID in ids array returns empty result or null fields","Unsupported vs_currency value causes malformed response","per_page exceeding 250 may be rejected or clamped","Network or upstream CoinGecko outage returns 5xx","Payment not included or insufficient results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need structured, paginated cryptocurrency market data proxied through CoinGecko, especially when you want to filter by specific coin IDs, sort by market cap or volume, or retrieve multi-field market snapshots (price, supply, ATH/ATL) in a single call. Prefer this over symbol-only price lookups when you need rich market context like rank, supply metrics, or all-time highs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:43:06.257Z","isFirstParty":false}