TradePortfolio
DocsAggregates Timeseries

Aggregates Timeseries

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 equity token OI, or build sector-level charts for tokenized assets.

Authentication

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

Parameters

Query parameters

NameTypeRequiredDescription
metricstring–volume, oi, or both. Defaults to both.
group_bystring–asset_class, asset_group, asset_subgroup, exchange, or symbol. Defaults to asset_class.
rangestring–7d, 30d, 90d, or all. Defaults to 30d.
asset_classstring–Filter by classification, e.g. commodity or stock.
unitstring–OI unit normalization.

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",
  "asset_class": null,
  "unit": "usd",
  "groups": ["commodity", "stock", "forex"],
  "data": [
    {
      "timestamp": "2026-06-01T00:00:00Z",
      "oi_usd": 4200000000,
      "oi_by_group": {
        "commodity": 2800000000,
        "stock": 980000000,
        "forex": 420000000
      }
    },
    {
      "timestamp": "2026-06-02T00:00:00Z",
      "oi_usd": 4350000000,
      "oi_by_group": {
        "commodity": 2900000000,
        "stock": 1020000000,
        "forex": 430000000
      }
    }
  ]
}

Errors

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

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

Related