v1

latestOpenAPI 3.0.1Apache 2.02026-07-26142209237.7 KB
DEFI

getDexPools

Get the total number of all DEX pools registered with the Sui Directory.

post/v1/dex/pools

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

period'DAY' | 'WEEK' | 'MONTH' required

Period for which data is shown.

Period for which data is shown.

sortBy'LIQUIDITY_IN_USD' | 'VOLUME' required

Select sorting parameter.

Select sorting parameter.

Request body

poolFactoryIdstring[] required

Common ID for all pools of a single DEX.

poolFactoryEmptyboolean

Example request

{
  "poolFactoryId": [
    "CETUS"
  ]
}

Response

OK