# Current FX rates (/api-reference/fx/current-fx-rates)

## Current FX rates

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

Reference rates in force now: EUR->USD and every X->USD cross.

### Parameters

- `OpenGrid-Version` (header, string): The API version to shape the response for. Default: the version pinned to your key.

### Response `data`

- `eur_usd` (object)
  - `age_days` (null)
  - `base` (string)
  - `cross_currencies` (array)
  - `cross_method` (string)
  - `last_fetch_at` (null)
  - `last_fetch_error` (null)
  - `last_fetch_ok` (null)
  - `last_ok_fetch_at` (null)
  - `max_age_days` (number)
  - `published_at` (null)
  - `quote` (string)
  - `rate` (null)
  - `rate_date` (null)
  - `source` (string)
  - `source_name` (string)
  - `source_url` (string)
  - `state` (string)
- `to_usd` (array)

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

### Example

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