GET/v1/pools/{address}/tvl-history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/aerodrome/v1/pools/{address}/tvl-historyCache cached 10s, never served stale past that windowCost free · weight 0 · heavy rate classSource billing freeHistorical token0 and token1 reserve balance snapshots across on-chain archive blocks for a pool.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/aerodrome/v1/pools/0x4A7af46bC8aBc00048c6c7920a1488DAF568366c/tvl-history?chain=base&window=day&points=6"Parameters
| name | in | type | description | |
|---|---|---|---|---|
address | path | str | required | Pool contract address. example: 0x4A7af46bC8aBc00048c6c7920a1488DAF568366c |
chain | query | str | optional | Target chain: base (8453, default), optimism (10), arbitrum (42161), or ethereum (1). default: baseexample: base |
window | query | str | optional | Lookback window: day, week, month, trimonth, or duration in seconds. default: dayexample: day |
points | query | int | optional | Number of historical reserve snapshots (2-48). default: 24example: 6 |
Response
type: object
data key: points
count key: count
pagination: none
sample: {
"chain": "str",
"chain_id": "int",
"pool": "str",
"token0": "str",
"token1": "str",
"window": "str",
"window_seconds": "int",
"count": "int",
"points": [
{
"timestamp": "int",
"block_number": "int",
"reserve0": "str",
"reserve1": "str"
}
]
}