GET/v1/classic/pools/swaps

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

Lightweight 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

nameintypedescription
chainquerystroptionalTarget classic chain: base (Aerodrome) or optimism (Velodrome).
default: base
example: base
limitqueryintoptionalNumber of routing entries to return (1-250).
default: 50
example: 10
offsetqueryintoptionalZero-based offset.
default: 0
example: 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"
    }
  ]
}