DeFi
TVL aggregated by category API
Total DeFi TVL aggregated by category (Lending, Dexes, CEX, etc.) with protocol counts and dominance share. Sourced from DefiLlama /protocols. Answers 'how is TVL split across DeFi categories','which category dominates DeFi'.
Price$0.01per request
MethodPOST
Route/v1/defi/category-tvl
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
defitvlcategorydominanceaggregatesectordefillamamarket
API URL
Integration docshttps://x402.hexl.dev/v1/defi/category-tvlExample request
{}Example response
{
"totalTvlUsd": 501563447249,
"categoryCount": 82,
"categories": [
{
"category": "CEX",
"tvlUsd": 253283733714,
"protocolCount": 77,
"dominancePct": 50.5
},
{
"category": "Lending",
"tvlUsd": 60000000000,
"protocolCount": 564,
"dominancePct": 11.96
}
]
}Input schema
{
"type": "object",
"properties": {}
}Output schema
{
"type": "object",
"additionalProperties": true
}