GET/v1/pools/{address}/tvl-history

Claude ↗ChatGPT ↗
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 free

Historical 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

nameintypedescription
addresspathstrrequiredPool contract address.
example: 0x4A7af46bC8aBc00048c6c7920a1488DAF568366c
chainquerystroptionalTarget chain: base (8453, default), optimism (10), arbitrum (42161), or ethereum (1).
default: base
example: base
windowquerystroptionalLookback window: day, week, month, trimonth, or duration in seconds.
default: day
example: day
pointsqueryintoptionalNumber of historical reserve snapshots (2-48).
default: 24
example: 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"
    }
  ]
}