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

# Fixer

> Foreign exchange rates for 170+ currencies: latest, historical, conversion, time series and fluctuation.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/fixer.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=7337f954df24892c59e9ebb7f4ad2c56)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

Needs&#x20;

`FIXER_API_KEY`

Endpoints

6

Auth

Key in query

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation)

&#x20;·&#x20;

[Pricing](https://fixer.io/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `FIXER_API_KEY` | required | A Fixer API access key (fixer.io dashboard). Sent as the access\_key query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* The default base currency is EUR.
* Errors come back as JSON with success false and an error object (code, type, info); check success, not only the HTTP status.
* spread (bid and ask) needs the Professional plan or higher; a lower plan gets an upgrade message instead.

## Endpoints

GET

Get the latest exchange rates

Latest rates for every currency (or the ones asked for) against the base.

[Open](#fixer-latest)

GET

Get exchange rates for a past date

Rates for one past day.

[Open](#fixer-historical)

GET

Convert an amount between currencies

Converts an amount at the latest rate, or at a past day's rate.

[Open](#fixer-convert)

GET

Get daily rates over a date range

Daily rates between two dates, at most 365 days apart.

[Open](#fixer-timeseries)

GET

Get rate fluctuation between two dates

Start rate, end rate, change and percent change per currency.

[Open](#fixer-fluctuation)

GET

List supported currencies

Every currency code Fixer supports with its full name.

[Open](#fixer-symbols)

### Get the latest exchange rates

GET

`/latest`

`fixer.latest`

Latest rates for every currency (or the ones asked for) against the base.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`base`</td><td>string</td><td>query</td><td>Base currency, 3-letter code; default EUR. Example `USD`</td></tr>
    <tr><td>`symbols`</td><td>string</td><td>query</td><td>Comma-separated 3-letter codes to limit the rates returned. Example `USD,GBP,JPY`</td></tr>
    <tr><td>`spread`</td><td>integer</td><td>query</td><td>1 adds bid and ask to each rate. Professional plan or higher. One of `0`, `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [US Treasury Fiscal Data](https://docs.webrouter.net/data-apis/treasury-fiscal-data.md#treasury-fiscal-data-rates-of-exchange), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("fixer.latest", {'base': 'USD', 'symbols': 'USD,GBP,JPY'})
```

```text MCP theme={null}
call_data_api(endpoint="fixer.latest", params={"base": "USD", "symbols": "USD,GBP,JPY"})
```

### Get exchange rates for a past date

GET

`/{date}`

`fixer.historical`

Rates for one past day.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`date` required</td><td>string</td><td>path</td><td>Date, YYYY-MM-DD. Example `2024-01-31`</td></tr>
    <tr><td>`base`</td><td>string</td><td>query</td><td>Base currency, 3-letter code; default EUR. Example `USD`</td></tr>
    <tr><td>`symbols`</td><td>string</td><td>query</td><td>Comma-separated 3-letter codes to limit the rates returned. Example `USD,GBP,JPY`</td></tr>
    <tr><td>`spread`</td><td>integer</td><td>query</td><td>1 adds bid and ask to each rate. Professional plan or higher. One of `0`, `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [US Treasury Fiscal Data](https://docs.webrouter.net/data-apis/treasury-fiscal-data.md#treasury-fiscal-data-rates-of-exchange), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("fixer.historical", {'date': '2024-01-31', 'base': 'USD', 'symbols': 'USD,GBP,JPY'})
```

```text MCP theme={null}
call_data_api(endpoint="fixer.historical", params={"date": "2024-01-31", "base": "USD", "symbols": "USD,GBP,JPY"})
```

> [!NOTE]
>
> * A date before a currency was added fails the whole call with currency\_not\_available\_on\_date.

### Convert an amount between currencies

GET

`/convert`

`fixer.convert`

Converts an amount at the latest rate, or at a past day's rate.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`from` required</td><td>string</td><td>query</td><td>Currency to convert from. Example `GBP`</td></tr>
    <tr><td>`to` required</td><td>string</td><td>query</td><td>Currency to convert to. Example `JPY`</td></tr>
    <tr><td>`amount` required</td><td>number</td><td>query</td><td>Amount to convert. Example `25`</td></tr>
    <tr><td>`date`</td><td>string</td><td>query</td><td>Use this day's rates, YYYY-MM-DD. Example `2024-01-31`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [US Treasury Fiscal Data](https://docs.webrouter.net/data-apis/treasury-fiscal-data.md#treasury-fiscal-data-rates-of-exchange), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("fixer.convert", {'from': 'GBP', 'to': 'JPY', 'amount': 25, 'date': '2024-01-31'})
```

```text MCP theme={null}
call_data_api(endpoint="fixer.convert", params={"from": "GBP", "to": "JPY", "amount": 25, "date": "2024-01-31"})
```

### Get daily rates over a date range

GET

`/timeseries`

`fixer.timeseries`

Daily rates between two dates, at most 365 days apart.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start_date` required</td><td>string</td><td>query</td><td>First date, YYYY-MM-DD. Example `2024-01-01`</td></tr>
    <tr><td>`end_date` required</td><td>string</td><td>query</td><td>Last date, YYYY-MM-DD. Example `2024-01-31`</td></tr>
    <tr><td>`base`</td><td>string</td><td>query</td><td>Base currency, 3-letter code; default EUR. Example `USD`</td></tr>
    <tr><td>`symbols`</td><td>string</td><td>query</td><td>Comma-separated 3-letter codes to limit the rates returned. Example `USD,GBP,JPY`</td></tr>
    <tr><td>`spread`</td><td>integer</td><td>query</td><td>1 adds bid and ask to each rate. Professional plan or higher. One of `0`, `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [US Treasury Fiscal Data](https://docs.webrouter.net/data-apis/treasury-fiscal-data.md#treasury-fiscal-data-rates-of-exchange), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("fixer.timeseries", {'start_date': '2024-01-01', 'end_date': '2024-01-31', 'base': 'USD', 'symbols': 'USD,GBP,JPY'})
```

```text MCP theme={null}
call_data_api(endpoint="fixer.timeseries", params={"start_date": "2024-01-01", "end_date": "2024-01-31", "base": "USD", "symbols": "USD,GBP,JPY"})
```

> [!NOTE]
>
> * A range starting before a currency was added is served from its first available date; the response's start\_date says which.

### Get rate fluctuation between two dates

GET

`/fluctuation`

`fixer.fluctuation`

Start rate, end rate, change and percent change per currency.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start_date` required</td><td>string</td><td>query</td><td>First date, YYYY-MM-DD. Example `2024-01-01`</td></tr>
    <tr><td>`end_date` required</td><td>string</td><td>query</td><td>Last date, YYYY-MM-DD. Example `2024-01-31`</td></tr>
    <tr><td>`base`</td><td>string</td><td>query</td><td>Base currency, 3-letter code; default EUR. Example `USD`</td></tr>
    <tr><td>`symbols`</td><td>string</td><td>query</td><td>Comma-separated 3-letter codes to limit the rates returned. Example `USD,GBP,JPY`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [US Treasury Fiscal Data](https://docs.webrouter.net/data-apis/treasury-fiscal-data.md#treasury-fiscal-data-rates-of-exchange), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("fixer.fluctuation", {'start_date': '2024-01-01', 'end_date': '2024-01-31', 'base': 'USD', 'symbols': 'USD,GBP,JPY'})
```

```text MCP theme={null}
call_data_api(endpoint="fixer.fluctuation", params={"start_date": "2024-01-01", "end_date": "2024-01-31", "base": "USD", "symbols": "USD,GBP,JPY"})
```

### List supported currencies

GET

`/symbols`

`fixer.symbols`

Every currency code Fixer supports with its full name.

Input

No inputs.

[Vendor docs](https://docs.apilayer.com/fixer/docs/api-documentation) · Same job: [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-exchange-info), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-products-list), [CoinMarketCap](https://docs.webrouter.net/data-apis/coinmarketcap.md#coinmarketcap-cryptocurrency-map), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-symbols), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-instruments-list), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-currencies)

```python Python theme={null}
router.call_data_api("fixer.symbols")
```

```text MCP theme={null}
call_data_api(endpoint="fixer.symbols")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.