← Agent Data Hub · Search endpoints · /llms.txt
ECB reference rate for any currency pair on a given date; weekends/holidays use the previous business day. Useful for invoices, taxes and historical conversions.
GET https://api.agentdatahub.de/api/v1/call/fx-rate-on-date?date=2020-03-16&base=USD"e=EUR&amount=100&compact=1
Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"fx-rate-on-date"}
date | Date YYYY-MM-DD (default: yesterday) |
base | Base currency (default: EUR) |
quote | Quote currency (default: USD) |
amount | Optional amount to convert (default: 1) |
{
"apiId": "fx-rate-on-date",
"data_freshness": "cached",
"data": {
"requested_date": "2020-03-16",
"rate_date": "2020-03-16",
"pair": "USD/EUR",
"rate": 0.89629829,
"amount": 100,
"converted": 89.6298
},
"source": "European Central Bank reference rates",
"license": "ECB Open Data (reuse with attribution)"
}
Recorded history available: /api/v1/history/fx-rate-on-date?date=2020-03-16&base=USD"e=EUR&amount=100
| Source | European Central Bank reference rates |
| License | ECB Open Data (reuse with attribution) |
| Source URL | https://api.frankfurter.dev/v1 |
| Terms | https://www.ecb.europa.eu/stats/ecb_statistics/governance_and_quality_framework/html/usage_policy.en.html |
| Category | Finance & Markets › FX History (ECB, since 1999) |