Pushbuild

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

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.

FieldTypeDescription
basestringRates are units of each currency per 1 base unit, e.g. USD, EUR, GBP. Default: "USD".
symbolslist of stringsLimit to these currencies (empty = all).
datestringRates on this date (YYYY-MM-DD); weekends and holidays use the previous ECB fixing. Empty = latest.
startDatestringFor a daily time series, the first date (YYYY-MM-DD).
endDatestringLast date of the series (YYYY-MM-DD).
conversionslist of stringsAmounts to convert, e.g. [{"amount": 100, "from": "USD", "to": "EUR", "date": "2024-01-15"}].
maxItemsintegerMaximum 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.

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

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.