Skip to content
Browse all functions

Convert Currency – ECB Exchange Rates

data/convertcurrency

convertcurrency (Convert Currency – ECB Exchange Rates) is a 1001fx API function in the group Data & JSON: POST https://api.1001fx.com/data/convertcurrency, 1 credit per call. It works as a ready-made module in Make or as a plain HTTP call.

1 credit per callHTTP APIMake

Converts an amount between about 30 currencies (EUR, USD, GBP, CHF, JPY, PLN …) with the official reference rates of the European Central Bank – latest or of a day in the last 90 days.

Endpoint

POSThttps://api.1001fx.com/data/convertcurrency
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • amountnumberrequired
    Example:
    100
  • fromstringrequired

    ISO 4217 code, e.g. USD.

    Example:
    USD
  • tostringrequired

    ISO 4217 code, e.g. EUR.

    Example:
    EUR
  • datestringoptional

    Rate of this day (last 90 days; weekends/holidays use the working day before). Default: latest.

  • decimalsnumberoptional

    Rounding of the result, default 2.

    Default:
    2
    Max:
    10

Examples

Convert Currency – ECB Exchange Rates

Convert Currency – ECB Exchange Rates

Input

Expects a json body
{
  "amount": 100,
  "from": "USD",
  "to": "EUR"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/data/convertcurrency' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"amount":100,"from":"USD","to":"EUR"}'

Try convertcurrency now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created