# Get rates for forex pairs

`GET https://api.cryptohopper.com/v1/exchange/forex-rates`

Part of [Exchanges](https://www.cryptohopper.com/api-documentation/api-reference/exchanges.md) in the Cryptohopper API reference.

Returns all currency conversion rates Cryptohopper stores. Each entry is the rate from quote_currency to currency.

No access token needed.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/exchange/forex-rates" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": [
        {
            "quote_currency": "USD",
            "currency": "EUR",
            "exchange_rate": "0.9215"
        }
    ]
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
