# Currency Exchange Rates API – ECB Daily & Historical

Official European Central Bank reference exchange rates for 30+ currencies, daily since 1999. Get the latest rates, a historical time series or currency conversions on any date, rebased to any currency (USD, GBP, EUR...).

$0.16 per 1,000 results

[Get an API key](https://pushbuild.com/apis/app/signup?api=currency-exchange-rates)

Example request

```
POST /currency-exchange-rates/run
{
  "base": "USD",
  "symbols": [
    "EUR",
    "GBP",
    "JPY",
    "CAD"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /currency-exchange-rates/run{"base": "USD", "maxItems": 5, "symbols": ["EUR", "GBP", "JPY", "CAD"]}

```
{"count": 1, "items": [{ "base": "USD", "date": "2026-11-09", "rates": {  "CAD": 1.410256,  "EUR": 0.893416,  "GBP": 0.745377,  "JPY": 157.946931 }, "type": "rates"} ]}
```

| base | date | type |
| --- | --- | --- |
| USD | 2026-11-09 | rates |

Real rows returned by this API on 2026-11-09 for the request shown.

## What it returns

Official European Central Bank reference rates for 30+ major currencies, every business day since 1999.

## Common uses

Invoicing and accounting, e-commerce pricing, financial reports, historical analysis. Pay per result row.

## Request

`POST https://api.pushbuild.com/currency-exchange-rates/run` with a JSON body. Send your key in the `X-API-Key` header.

| Field | Type | Description |
| --- | --- | --- |
| `base` | string | Rates are units of each currency per 1 base unit, e.g. USD, EUR, GBP. Default: `"USD"`. |
| `symbols` | list of strings | Limit to these currencies (empty = all). |
| `date` | string | Rates on this date (YYYY-MM-DD); weekends and holidays use the previous ECB fixing. Empty = latest. |
| `startDate` | string | For a daily time series, the first date (YYYY-MM-DD). |
| `endDate` | string | Last date of the series (YYYY-MM-DD). |
| `conversions` | list of strings | Amounts to convert, e.g. [{"amount": 100, "from": "USD", "to": "EUR", "date": "2024-01-15"}]. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/currency-exchange-rates/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"base": "USD", "symbols": ["EUR", "GBP", "JPY", "CAD"], "maxItems": 20}'
```

### Response

```
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
```

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

## Pricing

Pay only for results returned: $0.16 per 1,000 results. No charge for errors or empty searches.

| Results | Cost |
| --- | --- |
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/currency-exchange-rates`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [ECB Data API: Euro Rates, Yields, Euribor, M3 & FX API](https://pushbuild.com/apis/ecb-data-portal.html): European Central Bank data from the official ECB Data Portal: deposit and refinancing rates, euro short-term rate, AAA euro yield curve, Euribor, M1/M3 growth, bank lending rates, unemployment and ECB reference FX rates.
- [Brazil Central Bank API: Focus Survey Expectations & PTAX FX API](https://pushbuild.com/apis/brazil-central-bank-data.html): Banco Central do Brasil Focus survey of market expectations (IPCA, Selic per Copom meeting, GDP, BRL/USD, IGP-M, fiscal and external accounts: median, mean, spread, respondents) and official PTAX exchange rates for USD, EUR and other currencies..
- [Argentina Central Bank API](https://pushbuild.com/apis/argentina-central-bank.html): Banco Central de la Republica Argentina data: catalog of 1,600+ monetary series with latest values, daily history for any series (reserves, policy rate, base money, inflation, peso exchange rates) and official FX quotes for every currency..
- [Swiss National Bank API: Policy Rate, SARON, CHF FX & CPI API](https://pushbuild.com/apis/swiss-national-bank-data.html): Swiss National Bank statistics from its official data portal: SNB policy rate, SARON and sight deposit rates (daily), Swiss franc exchange rates, CPI, M1/M2/M3 and SNB gold and foreign currency holdings.
- [CVE Vulnerability Lookup: NVD, CISA KEV, EPSS, OSV API](https://pushbuild.com/apis/cve-vulnerability-lookup.html): Look up CVEs by ID or keyword, or check open-source packages for known vulnerabilities.
- [Cricket Ball-by-Ball & Results API](https://pushbuild.com/apis/cricket-ball-by-ball.html): Every ball of 23,000+ cricket matches: Tests, ODIs, T20Is and T20 leagues (IPL, BBL, PSL, CPL, The Hundred, WPL), men's and women's.

## Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

[hello@pushbuild.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/currency-exchange-rates.html
