# Get an index (/api-reference/indices/get-an-index)

## Get an index

`GET https://data.tryopengrid.com/v1/indices/{index_id}`

One index: definition, level, constituents, statistics.

### Parameters

- `index_id` (path, required, string): Index id, e.g. `h100-80gb-sxm5` (index ids are frozen, see IDs).
- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

- `changes` (object)
  - `all` (object)
  - `ytd` (object)
- `components` (array)
- `constituents` (number)
- `constituents_now` (object)
  - `constituents` (array of object)
  - `hour` (string)
- `coverage` (object)
  - `chain_segment` (number)
  - `chain_segment_start` (string)
  - `constituents_now` (number)
  - `first_published` (string)
  - `hours_30d` (number)
  - `published_hours_30d` (number)
- `description` (string)
- `gpu` (string)
- `gpu_name` (string)
- `high` (object)
  - `hour` (string)
  - `level` (number)
  - `since` (string)
- `hour` (string)
- `id` (string)
- `interruptible` (boolean)
- `kind` (string)
- `last_published` (object)
  - `hour` (string)
  - `level` (number)
- `level` (number)
- `low` (object)
  - `hour` (string)
  - `level` (number)
  - `since` (string)
- `method` (string)
- `methodology` (string)
- `methodology_version` (string)
- `name` (string)
- `note` (null)
- `price_concept` (string)
- `provider_class` (null)
- `published` (boolean)
- `raw_level` (number)
- `reason` (null)
- `region_group` (null)
- `segment` (string)
- `spark_7d` (array of null | number)
- `unit` (string)
- `volatility` (object)

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

### Example

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