Skip to Content
Indices

Index history

GET
/v1/indices/{index_id}/history

Stored index levels over a window.

Authorization

bearer
headerAuthorizationBearer <token>

Your API key: Authorization: Bearer opg_live_...

Path Parameters

index_id*string

Index id, e.g. h100-80gb-sxm5 (index ids are frozen, see IDs).

Query Parameters

window?Window
Default"30d"
Value in"24h""7d""30d""90d""ytd""all"
interval?|null

Header Parameters

OpenGrid-Version?"2026-11-03"

The API version to shape the response for. Default: the version pinned to your key.

Value in"2026-11-03"

Response Body

Success

application/json
  1. response
data*
meta*

Present on every success. List routes add limit, next_cursor (null on the last page) and total.

Example Request
curl -X GET 'https://data.tryopengrid.com/v1/indices/h100-80gb-sxm5/history'
Example Response
{  "data": {    "index": "string",    "index_name": "string",    "interval": "string",    "points": [      {        "constituents": 0,        "level": null,        "link_constituents": null,        "published": true,        "raw_level": 0,        "reason": null,        "segment_no": null,        "t": "string"      }    ],    "unit": "string",    "window": "string"  },  "meta": {    "as_of": "2019-08-24T14:15:22Z",    "api_version": "string",    "request_id": "string",    "next_cursor": "string",    "limit": 0,    "total": 0  }}