> ## Documentation Index
> Fetch the complete documentation index at: https://docs.silicondata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RAM Index API

> API docs for accessing RAM Index from Silicon Data.

> **Note:** The RAM Index API is only available for **Plus** and **Professional** tier subscribers. Access is further gated per subscription, which may restrict the queryable date range.

## <span style={{ color: 'white', fontWeight: 'bold', backgroundColor: '#007BFF', border: '2px solid #007BFF', borderRadius: '5px', padding: '5px', display: 'inline-block' }}>POST</span> /api/ram-index/index

Get RAM index data, from starting date (from 2026-01-26) to ending date. If no date range is provided, data for today will be used by default. A returned value of `-1` or any negative number indicates that the data has not yet been generated; please wait or contact support.

### Authorization

**🔒OAuth2**: OAuth2PasswordBearer\
**Flow type**: password\
**Token URL**: token

### Request Body

The request body must be in `application/json` format.

| Field           | Type           | Required | Description                                                                             | Constraints                                 |
| --------------- | -------------- | -------- | --------------------------------------------------------------------------------------- | ------------------------------------------- |
| `ram`           | string         | YES      | The RAM type to query (case-insensitive). Currently supported: `GDDR6`.                 | One of `gddr6`; 1 to 20 characters          |
| `index_version` | string         | NO       | Index version. Defaults to `WAVG_v1`.                                                   | One of `WAVG_v1`; 1 to 20 characters        |
| `starting_date` | string or null | NO       | The start date for the query in `YYYY-MM-DD` format. Defaults to today if not provided. | On or after `2026-01-26`; not in the future |
| `ending_date`   | string or null | NO       | The end date for the query in `YYYY-MM-DD` format. Defaults to today if not provided.   | Not in the future                           |

`starting_date` must be less than or equal to `ending_date`.

### Request Example

```json theme={null}
{
  "ram": "GDDR6",
  "index_version": "WAVG_v1",
  "starting_date": "2026-02-19",
  "ending_date": "2026-02-25"
}
```

### Responses

* **200**: Successful Response

  Index values are returned as strings formatted to two decimal places. The `index_version` field is only included when your subscription grants access to a `WAVG_v1` catalog.

```json theme={null}
{
  "meta": {
    "code": 0,
    "url": "/api/ram-index/index",
    "message": "OK",
    "timestamp": 1774968508
  },
  "data": {
    "ram": "GDDR6",
    "starting_date": "2026-02-19",
    "ending_date": "2026-02-25",
    "indexes": {
      "2026-02-19": "14.64",
      "2026-02-20": "14.64",
      "2026-02-21": "14.64",
      "2026-02-22": "14.64",
      "2026-02-23": "14.64",
      "2026-02-24": "14.87",
      "2026-02-25": "14.87"
    },
    "index_version": "wavg_v1"
  }
}
```

* **422**: Validation Error

```json theme={null}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
```

* **10008**: Parameter limit error (e.g. `starting_date` after `ending_date`, a date in the future, or an unsupported `ram` type)

```json theme={null}
{
  "meta": {
    "code": 10008,
    "url": "/api/ram-index/index",
    "message": "starting date should be less than or equal to ending date",
    "timestamp": 1774968510,
    "args": [],
    "kwargs": {}
  },
  "data": {}
}
```

* **404**: Subscription not found

```json theme={null}
{
  "meta": {
    "code": 404,
    "url": "/api/ram-index",
    "message": "404, Not Found",
    "timestamp": 1774968510
  },
  "data": {}
}
```
