# FX rate history (/api-reference/fx/fx-rate-history)

## FX rate history

`GET https://data.tryopengrid.com/v1/fx/rates/history`

Stored ECB EUR->X reference rates (default USD), newest first.

### Parameters

- `days` (query, integer)
- `quote` (query, string)
- `limit` (query, integer)
- `cursor` (query, any)
- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

See the Responses page for the envelope.

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

### Example

```bash
curl "https://data.tryopengrid.com/v1/fx/rates/history" \
  -H "Authorization: Bearer $OPENGRID_API_KEY"
```