POST/data/v2/category
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/uniswap/data/v2/categoryCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeFetch metadata, aggregate volume/TVL stats, and top tokens for one category ID.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/uniswap/data/v2/category" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"categoryId": "stablecoins", "chainIds": [1]}'Parameters
| name | in | type | description | |
|---|---|---|---|---|
categoryId | body | str | required | Category slug (e.g. 'stablecoins', 'stocks', 'trending'). example: stablecoins |
chainIds | body | list[int] | required | List of numeric chain IDs (or chain names such as 'ethereum', 'base', 'arbitrum', 'unichain'). example: [1] |
Response
type: object
pagination: none
sample: {
"category": {
"category": "object",
"stats": "object",
"topTokens": "array"
}
}