HIP-4 Dashboard
DevGET /hip4-analytics/dashboard
Combined HIP-4 prediction market dashboard payload — volume, fees, trade counts, settlement series, and timeseries for the requested period, cached in Redis for fast retrieval. Use it as the primary data source for a HIP-4 analytics overview page without needing to make multiple calls.
Authentication
Requires Dev tier or higher. Free tier does not have access (returns 403).
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
period | string | – | 4h, 1d, 1w, 1m, or all. Defaults to 1d. |
Example request
bash
curl -H "X-Api-Key: lk_live_your_key_here" \
"https://api.loris.tools/hip4-analytics/dashboard?period=1d"Example response
json
{
"success": true,
"period": "1d",
"total_volume_usd": 82000000,
"total_trades": 24800,
"total_fees_usd": 41000,
"unique_traders": 2840,
"timeseries": [
{ "timestamp": "2026-06-08T00:00:00Z", "volume_usd": 82000000, "trades": 24800 }
],
"settlement_series": []
}Errors
400— Invalid period value.
For authentication errors (401) and rate limit responses (429), see Errors.