Skip to Content
Markets

Daily market history

GET
/v1/markets/{gpu}/history/daily

One GPU, daily, as far back as archives reach: archived before recording, observed after.

Authorization

bearer
headerAuthorizationBearer <token>

Your API key: Authorization: Bearer opg_live_...

Path Parameters

gpu*string

GPU id, e.g. nvidia-h100-80gb-sxm5. Older short names (h100-80gb-sxm5) are accepted as aliases; responses always return the id.

Query Parameters

days?Days

0 = everything archived

Range0 <= value <= 3660
Default365
segment?Segment
Default"on_demand"
Value in"on_demand""spot"

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/markets/nvidia-h100-80gb-sxm5/history/daily'
Example Response
{  "data": {    "archived_until": "string",    "days": [      "string"    ],    "gpu": "string",    "gpu_name": "string",    "hold_days": 0,    "kind": [      "string"    ],    "market": {      "high": [        null      ],      "low": [        null      ],      "median": [        null      ],      "providers": [        0      ]    },    "providers": [      {        "capture": [          null        ],        "captures": [          null        ],        "provider": "string",        "provider_name": "string",        "values": [          null        ]      }    ],    "resolution": "string",    "segment": "string"  },  "meta": {    "as_of": "2019-08-24T14:15:22Z",    "api_version": "string",    "request_id": "string",    "next_cursor": "string",    "limit": 0,    "total": 0  }}