EOD OI
ProGET /hip4-analytics/oi-eod
End-of-day two-sided HIP-4 trading open interest — shares and USD values, with settlement legs excluded. Returns daily OI snapshots that can be filtered by outcome ID or scoped to a minimum date. Use it to track how overall prediction market positioning has evolved, or chart OI for a specific outcome.
Authentication
Requires Pro tier or higher. Free and Dev tiers do not have access (returns 403).
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
by_outcome | string | – | Set to 1 or true for per-outcome rows. |
outcome_id | int | – | Filter to a specific outcome market. |
min_day | string (YYYY-MM-DD) | – | Earliest date to include. |
Example request
bash
curl -H "X-Api-Key: lk_live_your_key_here" \
"https://api.loris.tools/hip4-analytics/oi-eod?min_day=2026-06-01"Example response
json
{
"success": true,
"data": [
{ "day": "2026-06-01", "oi_usd": 12400000, "oi_shares": 84200 },
{ "day": "2026-06-02", "oi_usd": 13200000, "oi_shares": 89800 }
],
"default_min_day": "2026-01-01"
}Errors
403— Your tier does not have access. Upgrade to Pro.
For authentication errors (401) and rate limit responses (429), see Errors.