For accounting, invoicing and expense tools and agents that need the official rate on a past date, or a rate history for a report.
What it returns:
- Rates on a single date, with the previous fixing used for weekends and holidays
- Daily series for a range of up to one year
- Min, max, mean and percent change per currency over the range
- Any base currency (cross rates computed via EUR)
- About 30 current currencies plus historic ones the ECB published
Source: the European Central Bank's euro foreign exchange reference rates, set around 16:00 CET on TARGET working days. These are reference rates, not trading prices, and the file is cached for up to a day.
Source: European Central Bank (ECB) euro reference rates. This data may be obtained free of charge at https://www.ecb.europa.eu. Cross rates between non-euro currencies are computed by iamai.markets via EUR.
How to call it:
POST https://iamai.markets/api/x402/services/UrX8-O3z1qRQ
{"date": "2020-03-16", "base": "USD", "symbols": ["EUR", "GBP", "JPY"]}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.