Markets

List the markets on a chain

Returns every live market on a chain, Uniswap V4 pools and 1inch Aqua ranges, with its pair, fee, tick spacing and the liquidity committed to it.

GET
/api/vaults/markets

Authorization

ApiKeyAuth
X-API-Key<token>

Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.

In: header

Query Parameters

chainId*integer

The chain's numeric id. GET /api/vaults/chains lists them.

includePendingAqua?string

Set to true to also list the 1inch Aqua ranges with no live program yet, each with pending and notLive. Off by default.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/vaults/markets?chainId=1"
{  "chainId": 8453,  "markets": [    {      "venue": "v4",      "strategyId": "38960560214548620419581884607967218229413556116830054641371650059665611327033",      "token0": "0x4200000000000000000000000000000000000006",      "token1": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",      "fee": 3000,      "tickSpacing": 60,      "poolId": "0x5622e547d200169623684248c4e4ac258688aea6dd540acf5fb26965861e8639",      "tickLower": -887220,      "tickUpper": 887220,      "backers": 2,      "amount0": "16719015731379870",      "amount1": "48211758",      "ranges": [        {          "tickLower": -199140,          "tickUpper": -197100,          "backers": 2,          "amount0": "16719015731379870",          "amount1": "48211758"        }      ]    },    {      "venue": "aqua",      "strategyId": "92726198157957754193669371637803827482136777413772685447996610639426731093966",      "token0": "0x3ed03e95dd894235090b3d4a49e0c3239edce59e",      "token1": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",      "fee": 500,      "tickSpacing": 10,      "tickLower": -290610,      "tickUpper": -290210,      "backers": 1,      "amount0": "79549752099568047710",      "amount1": "22200600",      "ranges": [        {          "tickLower": -290610,          "tickUpper": -290210,          "backers": 1,          "amount0": "79549752099568047710",          "amount1": "22200600"        }      ]    }  ]}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}