Finance

Exchange Rates (ECB)

Daily euro reference exchange rates from the European Central Bank, rebased to any of its ~30 currencies.

live fx.rates $0.0005 per request ($0.50 per 1,000)

Pricing

$0.0005 per request ($0.50 per 1,000), paid from a prepaid USD wallet. The exact amount is on every response as cost_usd; max_cost_usd refuses anything higher; failed calls are refunded.

1,000 requests = $0.50 · 10,000 = $5.00 · 100,000 = $50.00

Run it

curl -s -X POST https://getallapis.com/v1/run/fx.rates \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"base":"USD","symbols":["EUR","GBP","JPY"]}'
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('fx.rates', {'base': 'USD', 'symbols': ['EUR', 'GBP', 'JPY']})
print(result['cost_usd'], result['output'])
getallapis run fx.rates '{"base":"USD","symbols":["EUR","GBP","JPY"]}'

Quote first, free: POST /v1/quote/fx.rates with the same body. MCP: run_endpoint with endpoint="fx.rates".

Input

FieldTypeRequiredDefaultNotes
basestringno"EUR"
symbolsarrayno

Output

Returned in output of the run envelope (ok, request_id, endpoint, status, cost_usd, items, latency_ms, source, output).

FieldMeaning
ratesRate per 1 unit of base.
dateReference date.

Source and latency

European Central Bank reference rates (open data). Free reuse with source attribution; reference rates, information only. One upstream per endpoint; no automatic failover.

p50 102 ms · p95 497 ms (4 calls, 30 days)

Markdown reference · JSON · Playground