ECB, PTAX & TRM Official Exchange Rates API
Pricing
from $2.00 / 1,000 exchange rate returneds
ECB, PTAX & TRM Official Exchange Rates API
Official exchange rates from central banks: ECB exchange rates (euro reference rates), Banco Central do Brasil PTAX and Colombia's TRM. One row per source, currency pair and date.
Pricing
from $2.00 / 1,000 exchange rate returneds
Rating
0.0
(0)
Developer
David Rincon
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Get official exchange rates straight from the institutions that publish them: ECB exchange rates (the European Central Bank's euro reference rates), Banco Central do Brasil's PTAX and Colombia's TRM, in one call and one format.
- Official sources only: every row names its publisher and the API URL it came from. No scraped or averaged market quotes.
- One format for all sources: each row reads
1 baseCurrency = rate quoteCurrency, with ISO 4217 codes and ISO 8601 dates. - History and monitoring: ask for up to 30 recent dates per currency, or turn on monitor mode to get only new rates on a schedule.
Output example
{"source": "BCB_PTAX","publisher": "Banco Central do Brasil","baseCurrency": "USD","quoteCurrency": "BRL","rate": 5.1991,"bid": 5.1985,"ask": 5.1991,"date": "2026-09-25","validTo": null,"license": "Open data of the Banco Central do Brasil: free reuse citing the BCB as the source.","sourceUrl": "https://olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/..."}
Sources
| Source | Publisher | Rows | Currencies |
|---|---|---|---|
ECB | European Central Bank | 1 EUR = rate X | About 30 currencies (USD, GBP, JPY, BRL, MXN, ...) |
BCB_PTAX | Banco Central do Brasil | 1 X = rate BRL (closing PTAX; rate is the selling rate, with bid and ask) | AUD, CAD, CHF, DKK, EUR, GBP, JPY, NOK, SEK, USD |
CO_TRM | Superintendencia Financiera de Colombia (via datos.gov.co) | 1 USD = rate COP, with validTo for weekends and holidays | USD |
A source skips currencies it does not publish; the log says which.
Cost
You pay per rate returned: US$0.002 each, so 1,000 rates = US$2.00, plus US$0.00005 per run start. Monitor runs with no new rates cost only the run start.
The European Central Bank's reference rates are also available free of charge on the ECB website. What you pay for is the service: several official sources in one call and one format, history, and monitoring.
Input
| Field | Type | Default | Description |
|---|---|---|---|
currencies | array of strings | required | ISO 4217 codes, for example USD, EUR, GBP. |
sources | array | all three | ECB, BCB_PTAX, CO_TRM. |
days | integer | 1 | Most recent published dates per source and currency (1 to 30). |
maxItems | integer | 50 | Stop after this many rows in total. |
monitorMode | boolean | false | Return only rows that are new or changed since the previous run. |
proxyConfiguration | object | empty | Not needed for these sources. |
FAQ
Why is there no rate for today? Each institution publishes on its own schedule: the ECB around 16:00 CET on business days, the BCB closing PTAX in the early afternoon (Brasília time), and the TRM the business day before it applies.
Can I get COP or BRL against the euro? The ECB publishes EUR/BRL. It does not publish COP; for COP use CO_TRM (USD/COP).
Can AI agents use it? Yes. Input is a plain list of currency codes and runs take a few seconds.
Legal
All data comes from official public APIs that need no login or key. The TRM dataset on datos.gov.co is published by the Superintendencia Financiera de Colombia under CC BY-SA 4.0; rows from it carry that license and must be attributed. Every row names its publisher and source URL, so the ECB and Banco Central do Brasil are cited as the sources of their data. ECB rates are reused under the ECB's terms: each ECB row cites the ECB and states that the rate is free on the ECB website, and rates are returned exactly as published. Banco Central do Brasil publishes PTAX as open data under Brazil's open data policy, which allows free reuse citing the BCB; each BCB row says so. The rates are for information only; neither the publishers nor this Actor accept liability for decisions made with them.
En español
Tasas de cambio oficiales del BCE, del Banco Central do Brasil (PTAX) y de Colombia (TRM de la Superintendencia Financiera), en un solo formato y con la fuente de cada fila.
Changelog
- 0.2: ECB and BCB rows state their reuse terms in
license; results are saved in batches. - 0.1: first version.