POST/liquidity/pool/range-projections

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute POST /run/uniswap/liquidity/pool/range-projectionsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Fetch backtested LP range preset projections (stable, wide, full-range, one-sided) with projected APR and time-in-range.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/uniswap/liquidity/pool/range-projections" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"pool": {"chainId": 1, "addressOrId": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640", "version": "POOL_PROTOCOL_V3"}}'

Parameters

nameintypedescription
poolbodydictrequiredPool reference object: {chainId: int|str, addressOrId: str (20-byte address for v2/v3 or 32-byte 0x-prefixed poolId for v4), version: 'POOL_PROTOCOL_V2'|'POOL_PROTOCOL_V3'|'POOL_PROTOCOL_V4' (or 'v2'/'v3'/'v4')}.
example: {"chainId":1,"addressOrId":"0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640","version":"POOL_PROTOCOL_V3"}

Response

type: object
data key: projections
pagination: none
sample: {
  "projections": [
    {
      "preset": "str",
      "projectedApr": "float",
      "timeInRange": "float",
      "historyStart": "str",
      "lowConfidenceReasons": "array"
    }
  ]
}