GET/v1/fx
Daily exchange rates for ~30 currencies (ECB reference rates), rebased to any of them
PARAMETERS
- basequery · string
- Base currencye.g. USD
- symbolsquery · string
- Only these currenciese.g. EUR,GBP,JPY
REQUEST
curl "https://api.apialmanac.com/v1/fx" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.apialmanac.com/v1/fx", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.apialmanac.com/v1/fx", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"base": "USD",
"date": "2026-10-07",
"rates": {
"EUR": 0.8531,
"GBP": 0.7452,
"JPY": 149.21
},
"count": 3,
"source": "European Central Bank euro foreign exchange reference rates (ecb.europa.eu). Indicative only."
}