Market Info

Market Data

GET /openInterests

Returns the total open interest positions for long and short positions.

Response:

{
  "long": 1000000,
  "short": 800000
}

GET /marketInfo

Returns general market information.

Response:

{
  "marketCap": 10000000,
  "slpPrice": 2,
  "slpSupply": 5000000,
  "apr": 100%
}

GET /totalVolume

Returns the total trading volume across the platform since launch.

Response:

GET /volume

Returns daily and total trading volume.

Parameters:

Name
Type
Required
Description

timestamp

number

No

Unix timestamp to get volume for a specific day ending at timestamp (defaults to current time)

Response:

Fee Data

GET /fee

Returns fee information for a specific day.

Parameters:

Name
Type
Required
Description

timestamp

number

No

Unix timestamp to get fees for a specific day ending at timestamp (defaults to current time)

Response:

GET /totalFee

Returns total fee information across the platform since launch.

Response:

APR Data

GET /cumulativeApr

Returns the cumulative annual percentage rate since launch.

Response:

GET /apr

Returns the annual percentage rate for a specific time range with "1d" or "7d" only.

Parameters:

Name
Type
Required
Description

time_range

string

No

Time range for APR calculation (Only supported values: "7d" or "1d")

Response:

Last updated