{"uid":"cap_g2fjuVyj_M_05TLtZ8GQJ","slug":"x402-crypto-top-markets-by-market-cap-656eb685","name":"x402 Crypto Top Markets by Market Cap","description":"Top coins by market cap (CoinGecko): price, market cap, 24h volume, 24h change; ?limit= up to 100. No required params. Use when an agent needs a ranked market snapshot.","url":"https://x402-data-api.sigrunner.workers.dev/crypto/markets-top?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"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["coins"],"properties":{"coins":{"type":"array","items":{"type":"object","required":["symbol","price_usd","change_24h_pct"],"properties":{"symbol":{"type":"string"},"price_usd":{"type":"integer"},"change_24h_pct":{"type":"number"}}}}}}}}}},"responseSchema":{"type":"json","example":{"coins":[{"symbol":"BTC","price_usd":82028,"change_24h_pct":1.07}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.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_CffPYuC5x47Vn5YwyGYIm","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 a ranked list of top cryptocurrencies by market cap, including price, market cap, 24h volume, and 24h percent change, with optional limit up to 100.","exampleAgentPrompt":"Give me a market snapshot of the top 25 cryptocurrencies ranked by market cap — I want to see each coin's current price, market cap, 24h volume, and how much it's moved in the last day.","exampleUseCases":[{"title":"Morning crypto market briefing","prompt":"Pull up the top 20 crypto coins by market cap and show me their current prices and 24-hour changes so I can see how the market opened today."},{"title":"Portfolio benchmarking against top assets","prompt":"Get me the current market cap and price for the top 50 cryptocurrencies — I want to benchmark my holdings against the biggest coins in the market."},{"title":"Crypto market cap ranking for a report","prompt":"Fetch a ranked list of the top 100 cryptocurrencies by market cap with their prices, volumes, and 24h percent changes — I'm putting together a weekly market summary."}],"resultDescription":"Returns a JSON array of coin objects ranked by market cap, each containing the coin symbol, current price in USD, 24-hour percent price change, and optionally market cap and 24h volume. The number of results is controlled by the optional `limit` parameter (default behavior returns top coins, up to 100).","failureModes":["Invalid or out-of-range `limit` value (e.g. above 100) may return an error or be clamped","CoinGecko upstream downtime or rate limiting may cause failures or stale data","Payment failure via x402 protocol will block the request ($0.003 USDC required per call)","Network timeout from Cloudflare Workers if CoinGecko response is slow"],"whenToPreferThis":"Use this endpoint when you need a ranked, multi-coin market snapshot sorted by market cap — ideal for portfolio benchmarking, market overviews, or any scenario requiring a broad view of the leading crypto assets. Prefer this over trending or gainers/losers endpoints when market-cap ranking is the primary sorting criterion rather than momentum or recent price action.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:19:29.429Z","isFirstParty":false,"canonicalSlug":"x402-crypto-top-markets-by-market-cap-656eb685"}