# ECB Data Portal API

Category: [Currency and finance](https://free-web-services.com/web-services/unit-convertors/)  
Page: https://free-web-services.com/web-services/unit-convertors/ecb-data-portal-api.html  
Documentation: https://data.ecb.europa.eu/help/api/overview

The ECB Data Portal API gives the statistics of the European Central Bank, including the daily euro reference exchange rates, interest rates, money supply, inflation and other euro area series. Build a request from a dataset and series key, such as EXR for exchange rates, and get the data back as SDMX-ML (XML), JSON or CSV. It follows the SDMX 2.1 REST standard, and filters let you ask for date ranges or only the latest observations. Free, no key needed; cite the ECB as the source.

- API key: Not needed
- Pricing: Free, no key needed; cite the ECB as the source.
- From the browser: Yes (CORS)
- Formats: JSON, XML, CSV
- Interface: REST, HTTP-GET
- Provider: data.ecb.europa.eu
- Last checked: Working on November 1st, 2026

Example request:

```sh
curl 'https://data-api.ecb.europa.eu/service/data/EXR/D.USD.EUR.SP00.A?lastNObservations=1&format=jsondata'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

