{"uid":"cap_EMkEWq2OSNoSnlIuZ1KsD","slug":"2s-io-crypto-markets-top-coins-by-market-cap-74b73a51","name":"2s.io Crypto Markets - Top Coins by Market Cap","description":"Top cryptocurrencies by market cap with live price, market cap, 24h volume, and 24h + 7d % change. Pass limit (1–100, default 20). Source: CoinGecko. For a single token use crypto.token-price; for the whole-market overview use crypto.global.","url":"https://2s.io/api/crypto/markets","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"limit":{"type":"integer","description":"Number of top coins (1–100, default 20)."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":10}}},"response":{"data":{"ok":true,"items":[{"id":"bitcoin","name":"Bitcoin","rank":1,"symbol":"BTC","priceUsd":64340,"change7dPct":3.873688333193336,"change24hPct":-1.9621991521718147,"marketCapUsd":1288907975792,"volume24hUsd":31859236568},{"id":"ethereum","name":"Ethereum","rank":2,"symbol":"ETH","priceUsd":1743.96,"change7dPct":6.993226503914041,"change24hPct":-2.586806033762361,"marketCapUsd":210384471157,"volume24hUsd":13794806439},{"id":"tether","name":"Tether","rank":3,"symbol":"USDT","priceUsd":0.999223,"change7dPct":0.016122684898530654,"change24hPct":0.010768158143995338,"marketCapUsd":186407089663,"volume24hUsd":53724052581},{"id":"binancecoin","name":"BNB","rank":4,"symbol":"BNB","priceUsd":601.13,"change7dPct":2.498401377069562,"change24hPct":-0.7783643629330171,"marketCapUsd":81008796884,"volume24hUsd":935632985},{"id":"usd-coin","name":"USDC","rank":5,"symbol":"USDC","priceUsd":0.999865,"change7dPct":-0.004176650248781062,"change24hPct":0.00012396892733578693,"marketCapUsd":74730660464,"volume24hUsd":13349051553},{"id":"ripple","name":"XRP","rank":6,"symbol":"XRP","priceUsd":1.19,"change7dPct":8.033931278651126,"change24hPct":-2.4722743499184676,"marketCapUsd":73585102325,"volume24hUsd":1962934217},{"id":"solana","name":"Solana","rank":7,"symbol":"SOL","priceUsd":71.89,"change7dPct":13.134705553625913,"change24hPct":-2.566528175446155,"marketCapUsd":41701412742,"volume24hUsd":2690974829},{"id":"tron","name":"TRON","rank":8,"symbol":"TRX","priceUsd":0.320308,"change7dPct":-0.3508037654305493,"change24hPct":1.2090544480480692,"marketCapUsd":30369443916,"volume24hUsd":576497014},{"id":"figure-heloc","name":"Figure Heloc","rank":9,"symbol":"FIGR_HELOC","priceUsd":1.022,"change7dPct":-0.2971830559787438,"change24hPct":-1.2790347537658076,"marketCapUsd":19348215441,"volume24hUsd":34077040},{"id":"hyperliquid","name":"Hyperliquid","rank":10,"symbol":"HYPE","priceUsd":71.62,"change7dPct":33.076525100696706,"change24hPct":-2.225989053699574,"marketCapUsd":15927474111,"volume24hUsd":1271154368}],"total":10,"source":{"url":"https://www.coingecko.com/","license":"CoinGecko API — attribution required (\"Data by CoinGecko\").","provider":"CoinGecko"}},"meta":{"cost":{"usd":0.00144,"tier":0},"caller":"x402","version":null,"endpoint":"crypto.markets","settlement":{"txHash":"0x8ee68b3da5f0cfc2a59660e8b2cd3a836fc4da8dde7c46a36a69a905b50c0ba0","network":"eip155:8453","success":true}}}},"exampleRequest":{"limit":10},"tags":["x402"],"displayCostAmount":"0.00144","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.00144/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F34zN_sLp5zSeajtziUlK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live price, market cap, 24h volume, and 24h/7d % change for the top N cryptocurrencies by market cap, sourced from CoinGecko.","exampleAgentPrompt":"Show me the top 30 cryptocurrencies ranked by market cap, including their live prices, 24-hour trading volume, and both 24h and 7-day percentage changes.","exampleUseCases":[{"title":"Portfolio comparison across market leaders","prompt":"I'm building a diversified crypto portfolio. Can you show me the top 25 cryptocurrencies by market cap right now, including their current prices and how much they've moved in the last 24 hours and past week? I want to see which ones are trending up or down."},{"title":"Market sentiment tracking for investors","prompt":"Pull up the top 50 cryptocurrencies and show me their live prices along with their 7-day percentage changes. I'm trying to figure out which sectors are performing well and which ones are struggling this week."},{"title":"Risk assessment of major holdings","prompt":"Get me the top 15 crypto coins by market cap with their latest prices, 24-hour volumes, and price changes over the last day and week. I need this to assess whether the biggest coins in the market are showing signs of volatility or stability right now."}],"resultDescription":"A JSON array of up to 100 cryptocurrency objects, each containing the coin name, symbol, current USD price, market capitalization, 24-hour trading volume, 24-hour price change percentage, and 7-day price change percentage, sorted by market cap descending.","failureModes":["limit parameter out of range (not 1–100): likely returns an error or defaults","Upstream CoinGecko data unavailable: may return stale or error response","No query params provided: defaults to top 20 coins","Payment not included or insufficient: HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a ranked list of multiple top cryptocurrencies with market overview data (price, cap, volume, change). Prefer this over crypto.token-price when you need comparisons across many coins simultaneously, or over crypto.global when you need per-coin breakdown rather than aggregate market totals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:57:43.038Z","isFirstParty":false}