For the complete documentation index, see llms.txt. This page is also available as Markdown.

exchangeMetrics

Get exchange metrics. When filtering by market, use the market symbol as a value.

get
/api/v1/exchangeMetrics
Query parameters
periodstring · enumRequired

For tps: h, d or w. For buyback/buyback_usdc and all other kinds: w, m, q, y or all. Allowed values: h, d, w, m, q, y, all.

Possible values:
kindstring · enumRequired

Metric to retrieve; period availability depends on this value.

Possible values:
filterstring · enumOptional

Use byMarket to select one market for trade-related metrics; omit for exchange totals. Allowed values: byMarket.

Possible values:
valuestringOptional

Market symbol when filter=byMarket, for example ETH.

Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
get/api/v1/exchangeMetrics
GET /api/v1/exchangeMetrics?period=h&kind=volume HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
  "code": 200,
  "message": "text",
  "metrics": [
    {
      "timestamp": 1640995200,
      "data": 93566.25
    }
  ]
}

Last updated

Was this helpful?