# Aggregates Timeseries

**Tier:** Pro

`GET /rwa/aggregates-timeseries`

Volume and/or OI timeseries for symbols classified as real-world assets, grouped by asset class (commodity, stock, etc.), asset group, asset subgroup, exchange, or individual symbol. Returns aggregate series plus breakdowns by group. Use it to analyze RWA derivatives market growth, compare commodity vs stock perpetual OI, or build sector-level charts for RWA perpetual futures.

---

## Authentication

Requires Pro tier or higher. Free and Dev tiers do not have access (returns 403).

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `metric` | string | No | `volume`, `oi`, or `both`. Defaults to `both`. |
| `group_by` | string | No | `asset_class`, `asset_group`, `exchange`, or `symbol`. Defaults to `asset_class`. |
| `range` | string | No | `7d`, `30d`, `90d`, or `all`. Defaults to `30d`. |
| `asset_class` | string | No | Filter by asset class, e.g. `commodity`. |

## Example request

```bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/rwa/aggregates-timeseries?metric=oi&group_by=asset_class&range=30d"
```

## Example response

```json
{
  "range": "30d",
  "metric": "oi",
  "group_by": "asset_class",
  "groups": ["commodity", "stock", "forex"],
  "data": [
    {
      "timestamp": "2026-06-01T00:00:00Z",
      "oi_usd": 4200000000,
      "oi_by_group": {
        "commodity": 2800000000,
        "stock": 980000000,
        "forex": 420000000
      }
    }
  ]
}
```

## Errors

- `403` — Your tier does not have access. Upgrade to Pro.

## Related

- [Exchanges Snapshot](/docs/api/rwa/exchanges-snapshot)
- [Exchange OI Totals](/docs/api/open-interest/exchange-totals)
