# Daily market history (/api-reference/markets/daily-market-history)

## Daily market history

`GET https://data.tryopengrid.com/v1/markets/{gpu}/history/daily`

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

### Parameters

- `gpu` (path, required, string): GPU id, e.g. `nvidia-h100-80gb-sxm5`. Older short names (`h100-80gb-sxm5`) are accepted as aliases; responses always return the id.
- `days` (query, integer): 0 = everything archived
- `segment` (query, string)
- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

- `archived_until` (string)
- `days` (array of string)
- `gpu` (string)
- `gpu_name` (string)
- `hold_days` (number)
- `kind` (array of string)
- `market` (object)
  - `high` (array of null | number)
  - `low` (array of null | number)
  - `median` (array of null | number)
  - `providers` (array of number)
- `providers` (array of object)
  - `capture` (array of null)
  - `captures` (array)
  - `provider` (string)
  - `provider_name` (string)
  - `values` (array of null | number)
- `resolution` (string)
- `segment` (string)

Every success is `{"data": ..., "meta": {as_of, api_version, request_id, next_cursor?}}`.

### Example

```bash
curl "https://data.tryopengrid.com/v1/markets/nvidia-h100-80gb-sxm5/history/daily" \
  -H "Authorization: Bearer $OPENGRID_API_KEY"
```