Provider

Exchange rates (ECB) API

3 live Exchange rates (ECB) endpoints, $0.0005 per call, one API key. No Exchange rates (ECB) credentials needed.

Daily euro reference exchange rates published by the European Central Bank, rebased to any of its ~30 currencies. Reference rates, for information; not for trading.

Exchange rates (ECB) endpoints

EndpointWhat it returnsPrice
Currency Converter
fx.convert
Convert an amount between 31 currencies at the latest European Central Bank reference rate.$0.0005 per request ($0.50 per 1,000)
Exchange Rate History
fx.history
Daily ECB reference rate of a currency pair for up to the last 90 days, with high, low, average and change.$0.0005 per request ($0.50 per 1,000)
Exchange Rates (ECB)
fx.rates
Daily euro reference exchange rates from the European Central Bank, rebased to any of its ~30 currencies.$0.0005 per request ($0.50 per 1,000)

What people use it for

  • Convert invoice amounts with an official daily rate
  • Show prices in a visitor's currency
  • Give an agent a currency tool

Quick start

Create a key, then call any endpoint with POST /v1/run/<endpoint>. Example with Currency Converter:

curl

curl -s -X POST https://getallapis.com/v1/run/fx.convert \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":250,"from":"USD","to":"EUR"}'

JavaScript

const res = await fetch("https://getallapis.com/v1/run/fx.convert", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.GETALLAPIS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"amount": 250, "from": "USD", "to": "EUR"}),
});
const data = await res.json();
console.log(data.cost_usd, data.output);

For agents: Exchange rates (ECB) MCP server. Compared with going direct: Exchange rates (ECB) API direct vs GetAllAPIs.

Get an API key. New API keys come with $0.10 of free credit, no card required (limited to 2 keys per network every 30 days). That covers about 200 requests of fx.convert. Then add credits (packs from $10). No subscription; failed calls are refunded.

Get a free API key Try it in the playground

FAQ

How much does the Exchange rates (ECB) API cost on GetAllAPIs?

3 endpoints at $0.0005 per call, from one prepaid wallet. Every price is on the endpoint's page and in /v1/catalog.

Do I need a Exchange rates (ECB) account or key?

No. You use one GetAllAPIs key for every endpoint. Direct access: No key; rates are published once per working day as XML/SDMX.

What is different from calling the upstream directly?

One key and wallet for all providers, one response envelope with cost_usd, refunds on upstream failures and an MCP server. Direct access is free; see the comparison.