DEFI

getDex

Get a list of all DEXes registered with the Sui Directory.

post/v1/dex

Request

  • Base URL
    https://api.blockberry.one/sui
  • URL
    https://api.blockberry.one/sui/v1/dex
  • Auth
    API key in header x-api-key

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 DEX data is shown.

sortBy'CURRENT_TVL' required

Select sorting parameter.

Request body

withTvlOnlyboolean

Flag showing if only DEXes with TVL are queried.

Response

OK

totalPagesinteger
totalElementsinteger
sizeinteger
numberinteger
numberOfElementsinteger
firstboolean
lastboolean
emptyboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.