Stats

Endpoints to fetch statistics

get

Retrieve liquidations records, with optional pagination. Results are ordered from newest to oldest, with up to 20 unique liquidations per request.

Note: This endpoint provides records for the last 31 days.

Responses
200

Default Response

application/json
get
/stats/liquidations
200

Default Response

get

Retrieve bankruptcy records, with optional pagination. Results are ordered from newest to oldest, with up to 20 unique bankruptcy per request.

Note: This endpoint provides records for the last 31 days.

Responses
200

Default Response

application/json
get
/stats/bankruptcies
200

Default Response

get
Responses
200

Default Response

application/json
get
/stats/vaults
200

Default Response

get
Responses
200

Default Response

application/json
get
/stats/insuranceFundSwaps
200

Default Response

get

Get rolling market volume data for specified interval

Path parameters
intervalstring · enumRequiredDefault: 24hPossible values:
Responses
200

Default Response

application/json
get
/stats/markets/volume/{interval}
200

Default Response

get

Get historical market volume data bucketed into 1-hour intervals. Time range must be between 1 and 24 hours (rounded down to nearest hour).

Query parameters
startTsnumberRequired

Start timestamp in seconds (Unix epoch)

endTsnumberRequired

End timestamp in seconds (Unix epoch)

Responses
200

Default Response

application/json
get
/stats/markets/volume
200

Default Response

get

Get the 24-hour price change and percentage change for all markets.

Responses
200

Default Response

application/json
get
/stats/markets/prices
200

Default Response

get
Path parameters
symbolstringRequired
typestring · enumRequiredDefault: depositPossible values:
Responses
200

Default Response

application/json
get
/stats/{symbol}/rateHistory/{type}
200

Default Response

get

Get leaderboard entries with optional date and market filters.

Query parameters
pageinteger · min: 1OptionalDefault: 1
limitinteger · min: 1 · max: 100OptionalDefault: 100
sortstring · enumOptionalDefault: pnlPossible values:
startstringOptional

UTC date string YYYY-MM-DD

endstringOptional

UTC date string YYYY-MM-DD

symbolstringOptional
Responses
200

Default Response

No content

get
/stats/leaderboard
200

Default Response

No content

get

Get leaderboard rank and stats for a specific user.

Path parameters
authoritystringRequired
Query parameters
startstringOptional

UTC date string YYYY-MM-DD. Defaults to 7 Days prior

endstringOptional

UTC date string YYYY-MM-DD. Defaults to today

symbolstringOptional
Responses
200

Default Response

No content

get
/stats/leaderboard/{authority}
200

Default Response

No content

Last updated