Get started
Exchange rates in Duaer
In Duaer: European Central Bank reference exchange rates for about 30 currencies, latest or on any working day since 1999, one day or a date range. One successful search uses 1 credit.
What you get
Duaer Exchange rates returns ECB reference rates through Frankfurter. Rates are published once per working day around 16:00 CET; weekends and holidays have no new rate.
Pick Duaer Data → Exchange rates in the node creator, or open the data market. Related: IMF indicators, World Bank indicators.
When to use it
- Convert invoice or sales amounts to one currency for a report.
- Chart a currency pair over a few weeks.
When not to use it
- Intraday or trading prices. ECB rates are one daily reference fix.
- Currencies the ECB does not publish, such as many African and Central Asian ones.
Search on the canvas
- Open the node creator and pick Duaer Data → Exchange rates.
- Fill Base (such as USD). Optional: Currencies (such as CNY,EUR), Date, From, To.
- Limit defaults to 10, max 20. Execute.
A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.
Call the API
- GET https://api.duaer.com/v1/data/exchange-rates?base=USD&symbols=CNY,EUR,JPY
- Authorization: Bearer <Duaer key>
The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.
Call skill
Same text as Copy skill.
---
name: duaer-exchange-rates
description: >-
Duaer Exchange rates. European Central Bank reference exchange rates for about 30 currencies, latest or on any working day since 1999, one day or a date range.
One successful search uses 1 Duaer credit.
---
# Duaer Exchange rates
Duaer Exchange rates returns ECB reference rates through Frankfurter. Rates are published once per working day around 16:00 CET; weekends and holidays have no new rate.
## When to use
- Convert invoice or sales amounts to one currency for a report.
- Chart a currency pair over a few weeks.
## When not to use
- Intraday or trading prices. ECB rates are one daily reference fix.
- Currencies the ECB does not publish, such as many African and Central Asian ones.
## Call
`GET https://api.duaer.com/v1/data/exchange-rates?base=USD&symbols=CNY,EUR,JPY`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide at least one of `base`, `symbols`, `date`, or `from`.
- `base` — Three-letter currency code to convert from. Default EUR.
- `symbols` — Optional. Target codes joined by commas, such as CNY,EUR,JPY. Default all.
- `date` — Optional. One past day, YYYY-MM-DD. Data starts 1999-01-04.
- `from` — Optional. Start of a date range, YYYY-MM-DD.
- `to` — Optional. End of a date range, YYYY-MM-DD. Default today.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/exchange-rates?base=USD&symbols=CNY,EUR,JPY` — latest USD rates.
- `GET https://api.duaer.com/v1/data/exchange-rates?base=EUR&symbols=CNY&from=2024-01-01&to=2024-01-19` — EUR to CNY for three weeks.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `base`, `currency` — from and to currency codes.
- `rate` — units of currency for 1 base.
- `date` — ECB publication day.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/imf.md — Duaer IMF indicators
- https://skills.duaer.com/world-bank.md — Duaer World Bank indicators
Questions
How many credits does a Exchange rates search use in Duaer?
One credit when Duaer returns rows. A search with no rows or an error uses 0.
Why is there no Duaer exchange rate for a Sunday?
The ECB publishes on working days only. Duaer returns the rates of the working days in the range.
In this section
IMF indicators in Duaer
In Duaer: IMF World Economic Outlook figures by country, including forecasts: GDP growth, inflation, unemployment, debt, and current account. Also finds indicator codes by words. One successful search uses 1 credit.
Get startedWorld Bank indicators in Duaer
In Duaer: Yearly development data for any country from the World Bank: GDP, population, inflation, trade, health, education, and 1,000+ other indicators by code. One successful search uses 1 credit.