# Symbol Timeseries

**Tier:** Dev

`GET /markets/{symbol}/timeseries`

Volume and OI timeseries for one symbol, aggregated across all exchanges and broken down per exchange. Supports preset ranges or custom start/end dates. Use it to build per-symbol trend charts that compare how volume and positioning have evolved across venues.

---

## Authentication

Requires Dev tier or higher. Preset `range` values are relative lookbacks ending now. `start` + `end` request an exact historical window. Dev is limited to the rolling 30-day window. Pro and Team can request exact custom windows across the full stored history.

## Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `symbol` | string | Yes | Base symbol, e.g. BTC. |

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `range` | string | No | Preset relative lookback: 1d, 7d, 30d, or 90d. Defaults to 7d. Mutually exclusive with `start` + `end`. |
| `start` | string | No | Start of exact custom range (ISO 8601). Must be used with `end`. |
| `end` | string | No | End of exact custom range (ISO 8601). Must be used with `start`. |

## Tier behavior

**Dev:** `range` values of 1d, 7d, and 30d, or exact custom windows clamped to the rolling 30-day window.
**Pro:** `range` values through 90d, plus exact custom windows across the full stored history.

## Example request

```bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/markets/BTC/timeseries?range=7d"
```

## Example response

```json
{
  "symbol": "BTC",
  "range": "7d",
  "data": [
    {
      "timestamp": "2026-06-01T00:00:00Z",
      "total_volume_usd": 42800000000,
      "total_oi_usd": 38000000000,
      "exchanges": {
        "binance": {
          "volume_usd": 12800000000,
          "oi_usd": 7200000000
        }
      }
    }
  ]
}
```

## Errors

- `404` — Symbol not found in Redis snapshot.
- `400` — Invalid `range`, mixed `range` with `start`/`end`, partial custom window, or invalid date order.

## Related

- [Symbol Stats](/docs/api/markets/symbol-stats)
- [Symbol Exchanges](/docs/api/markets/symbol-exchanges)
