Skip to main content
Get market-maker uptime rollup

Authorizations

Authorization
string
header
default:Token <token>
required

Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"

Query Parameters

assets
string[]

Comma separated assets. Defaults to all visible to the user.

Maximum array length: 100
bps
number<double>[]
required

Uptime depths to return and average, e.g. 50,100,200.

Maximum array length: 25
day
string<date-time>

UTC day for daily rows; ignored in aggregate mode.

depth_bps
number<double>[]
required

Depths the depth dataset is fetched at, for target evaluation.

Maximum array length: 25
depth_interval
enum<string>

Bucket the depth dataset is fetched at for target-depth uptime. The summary view sends its range-appropriate bucket (5m/1h for short ranges); defaults to 1d.

  • 5m - Five-minute depth.
  • 1h - Hourly depth.
  • 1d - Daily depth.
Available options:
5m,
1h,
1d
Minimum string length: 1
mode
enum<string>
  • aggregate - Totals over the range; rows over the range grid.
  • daily - Rows for a single day; requires day.
Available options:
aggregate,
daily
Minimum string length: 1
organization
string

Organization slug. Scopes totals; required when returning rows.

Minimum string length: 1
time_end
string<date-time>
required
time_start
string<date-time>
required

Response

200 - application/json
time_start
string<date-time>
required

Effective start after the daily range limit.

time_end
string<date-time>
required
totals
object[]
required
rows
object[]
required
mode
  • aggregate - Totals over the range; rows over the range grid.
  • daily - Rows for a single day; requires day.
Available options:
aggregate,
daily