# OI Trends (Total)

**Tier:** Dev

`GET /hip3-analytics/oi-trends/total`

Estimated HIP-3 open interest derived from fill data — all markets combined as a daily time series, with a per-DEX breakdown. Use it to chart overall HIP-3 OI growth, see which DEXes are driving positioning, or track how HIP-3 market depth is evolving over time.

---

## Authentication

Requires Dev tier or higher. Free tier does not have access (returns 403).

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `range` | string | No | `7d`, `30d`, or `all`. Defaults to `all`. Legacy `period` values `1w` and `1m` are accepted until July 21, 2026. |

## Example request

```bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/hip3-analytics/oi-trends/total?range=30d"
```

## Example response

```json
{
  "success": true,
  "range": "30d",
  "period": "1m",
  "data": [
    { "day": "2026-05-01", "oi_usd": 182000000, "oi_contracts": 2420 },
    { "day": "2026-05-02", "oi_usd": 194000000, "oi_contracts": 2580 },
    { "day": "2026-05-03", "oi_usd": 201000000, "oi_contracts": 2680 }
  ],
  "by_dex": {
    "hyperliquid_dex": [
      { "day": "2026-05-01", "oi_usd": 98000000, "oi_contracts": 1380 },
      { "day": "2026-05-02", "oi_usd": 105000000, "oi_contracts": 1460 }
    ]
  }
}
```

## Related

- [OI Trends (DEX)](/docs/api/hip3-analytics/oi-trends-dex)
- [Dashboard](/docs/api/hip3-analytics/dashboard)
- [Exchange OI Totals](/docs/api/open-interest/exchange-totals)
