GET/v1/classic/pools/swaps
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/aerodrome/v1/classic/pools/swapsCache cached 10s, never served stale past that windowCost free · weight 0 · heavy rate classSource billing freeLightweight pool routing catalog (address, type, token0, token1, factory, fee) for Aerodrome Classic or Velodrome.
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/classic/pools/swaps?chain=base&limit=10&offset=0"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | query | str | optional | Target classic chain: base (Aerodrome) or optimism (Velodrome). default: baseexample: base |
limit | query | int | optional | Number of routing entries to return (1-250). default: 50example: 10 |
offset | query | int | optional | Zero-based offset. default: 0example: 0 |
Response
type: object
data key: pools
count key: count
pagination: offset
sample: {
"chain": "str",
"chain_id": "int",
"edition": "str",
"offset": "int",
"limit": "int",
"count": "int",
"pools": [
{
"lp": "str",
"pool_type": "int",
"pool_kind": "str",
"token0": "str",
"token1": "str",
"factory": "str",
"pool_fee": "int"
}
]
}