{"uid":"cap_tapxE3umj07zWOQ0X0wKh","slug":"coingecko-global-defi-stats-via-locus-x402-c7c9f0d4","name":"CoinGecko Global DeFi Stats via Locus x402","description":"Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.","url":"https://coingecko.x402.paywithlocus.com/coingecko/global-defi","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T50BUyvnT2FBjENDqKyK2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches global decentralized finance (DeFi) market statistics such as total DeFi market cap, trading volume, and DeFi dominance via CoinGecko, billed per-call in USDC over x402.","exampleAgentPrompt":"What's the current global DeFi market cap and DeFi dominance percentage according to CoinGecko — I want the latest snapshot of the overall DeFi sector.","exampleUseCases":[{"title":"DeFi market health dashboard","prompt":"Pull the latest global DeFi stats from CoinGecko — I need total DeFi market cap, 24h trading volume, and what percentage of the total crypto market DeFi represents right now."},{"title":"Crypto research report enrichment","prompt":"I'm writing a weekly crypto report — can you grab the current CoinGecko global DeFi data so I can include the latest DeFi market cap and dominance figures?"},{"title":"DeFi vs total market comparison","prompt":"I want to understand how big DeFi is relative to the whole crypto market — fetch the CoinGecko global DeFi stats so I can see the DeFi dominance ratio and total DeFi volume today."}],"resultDescription":"Returns a JSON object containing global DeFi market metrics sourced from CoinGecko, including total DeFi market capitalization, 24-hour trading volume, DeFi dominance as a percentage of total crypto market cap, and the number of DeFi coins tracked. Also includes payment settlement metadata (settled USDC amount, authorized max) and a request ID with a status URL.","failureModes":["Payment failure: insufficient USDC balance or x402 payment not accepted, resulting in a 402 response","CoinGecko API rate limit or downtime causing upstream error","Malformed request body causing a 400 validation error","Network timeout if CoinGecko data source is slow to respond","Empty or missing data fields if CoinGecko's DeFi data is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need authoritative, real-time global DeFi market statistics (market cap, volume, dominance) from CoinGecko and want a pay-per-call model via x402/USDC rather than managing a CoinGecko API key subscription. Ideal for agents that need occasional DeFi macro data without committing to a recurring API plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:52.562Z","isFirstParty":false}