{"uid":"cap_By1JEicwJI7Sg_TWUu4Ro","slug":"stablecrypto-dev-908cc9a7","name":"stablecrypto.dev Coin Categories with Market Data","description":"Get all coin categories with market data","url":"https://stablecrypto.dev/api/coingecko/categories","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"type":"string","description":"Sort order (e.g. \"market_cap_desc\")"}}},"responseSchema":null,"example":{"request":{},"response":{"_bytes":262144,"_preview":"[{\"id\":\"smart-contract-platform\",\"name\":\"Smart Contract Platform\",\"market_cap\":2093629760937.439,\"market_cap_change_24h\":-1.115279456250804,\"content\":\"Smart contract platforms are usually blockchains that host smart contracts or decentralized applications. Users can interact with different smart contracts on these platforms to perform various actions such as lending and borrowing funds, staking their assets or minting NFTs. Smart contracts are programs that are stored on the blockchain and are automatically executed when certain conditions are met.\",\"top_3_coins_id\":[\"bitcoin\",\"ethereum\",\"binancecoin\"],\"top_3_coins\":[\"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png\",\"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png\",\"https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png\"],\"volume_24h\":66117712739.780876,\"updated_at\":\"2026-05-29T23:42:22.379Z\"},{\"id\":\"layer-1\",\"name\":\"Layer 1 (L1)\",\"market_cap\":2065684145541.1648,\"market_cap_change_24h\":-1.2793565678366103,\"content\":\"Layer 1 serves as the primary and autonomous chain on which transactions are directly executed and confirmed, as well as providing the essential infrastructure for the blockchain network.\",\"top_3_coins_id\":[\"bitcoin\",\"ethereum\",\"binancecoin\"],\"top_3_coins\":[\"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png\",\"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png\",\"https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png\"],\"volume_24h\":62689847661.41208,\"updated_at\":\"2026-05-29T23:41:53.688Z\"},{\"id\":\"proof-of-work-pow\",\"name\":\"Proof of Work (PoW)\",\"market_cap\":1515321944522.4949,\"market_cap_change_24h\":-1.4625445779116606,\"content\":\"Proof of Work (PoW) is a blockchain consensus mechanism to validate transactions and create new blocks through computational efforts by miners.\",\"top_3_coins_id\":[\"bitcoin\",\"dogecoin\",\"zcash\"],\"top_3_coins\":[\"https://coin-images.coingecko.com/coins/images/1/small/bitco","_truncated":true,"_contentType":"application/json"}},"exampleRequest":{},"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_0T6X71eYt4hod-_G2t55N","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":"Retrieves all cryptocurrency coin categories along with associated market data such as market cap, volume, and price changes","exampleAgentPrompt":"Can you pull up all cryptocurrency coin categories with their current market data — market cap, volume, and price changes — so I can see which sectors are performing best right now?","exampleUseCases":null,"resultDescription":"A list of all coin categories (e.g. DeFi, Layer 1, Gaming, NFTs, Stablecoins) each with associated market data including total market capitalization, 24h trading volume, and percentage price changes, sourced from CoinGecko.","failureModes":["Upstream CoinGecko API unavailable — returns 502 or timeout","Payment not processed — returns 402 Payment Required if x402 payment header is missing or insufficient","Rate limit exceeded — returns 429 Too Many Requests","No categories returned if CoinGecko data feed is stale or temporarily empty"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, categorized view of the crypto market segmented by sector (e.g. DeFi, L1, Gaming) rather than individual coin prices. Prefer this over trending or global stats endpoints when the goal is sector-level analysis or comparing performance across asset categories.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:57.534Z","isFirstParty":false}