TradePortfolio
DocsTop Symbols Timeseries
Use with AI

Top Symbols Timeseries

Dev

GET /oi/exchange-top-symbols-timeseries


Open interest USD snapshots for the top N symbols on one exchange, returned in wide format where each row is a timestamp and each column is a symbol. One-day and custom windows of up to 24 hours use hourly snapshots; longer windows use daily snapshots. Each bucket uses the latest OI observation, not OI summed over time.

Authentication

Requires Dev tier or higher. Dev: 30-day max range. Pro and Team: full stored history through custom start/end windows. Requests beyond your tier's limit are clamped.

Parameters

Query parameters

NameTypeRequiredDescription
exchangestring✓Lowercase exchange slug, e.g. binance.
limitinteger–Maximum individual symbols, from 1 to 20. Defaults to 20; higher values are clamped to 20.
rangestring–1d, 7d, 30d, 90d, or all. Defaults to 7d. Cannot be combined with start/end.
others_thresholdinteger–Combined long-tail percentage, from 1 to 100. With 10, rank normalized coins across the requested window and group roughly the smallest 10% combined into Others. The individual-symbol limit can increase this share. Others is an additional column, and each row retains the full total. Without this parameter, return only the top symbols by recent OI.
startstring–Custom window start. Must be provided with end. Dev is clamped to the rolling 30-day lookback.
endstring–Custom window end. Must be after start.

Tier behavior

  • Dev: 30-day maximum. Requests for 90d or all are clamped to 30d with a notice.
  • Pro/Team: Full stored historical lookback through custom start/end windows.

Example request

bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/oi/exchange-top-symbols-timeseries?exchange=binance&range=7d&limit=5"

Example response

json
{
  "timeseries": [
    {
      "timestamp": "2026-06-01T00:00:00Z",
      "BTC": 7200000000,
      "ETH": 3100000000,
      "SOL": 980000000,
      "DOGE": 420000000,
      "XRP": 380000000
    },
    {
      "timestamp": "2026-06-02T00:00:00Z",
      "BTC": 7350000000,
      "ETH": 3080000000,
      "SOL": 1010000000,
      "DOGE": 415000000,
      "XRP": 392000000
    }
  ],
  "symbols": ["BTC", "ETH", "SOL", "DOGE", "XRP"]
}

Errors

  • 400 — Missing required parameter exchange, invalid limit/others_threshold or start/end, or range combined with start/end.

For authentication errors (401) and rate limit responses (429), see Errors.

Related