BloodwebMicroservices Sign in
← All microservices

Currency converter

Data

Convert between about 30 currencies using the European Central Bank's daily reference rates.

Want to see the job done first? Try the free Currency Converter in your browser, no account needed.

Create an account

It comes with 10,000 free tokens a month.

What it does

  • About 30 currencies
  • European Central Bank reference rates
  • Any day's rates back to 1999
  • Several currencies in one call

Good for

  • Prices for overseas visitors
  • Invoices at the right day's rate
  • Reports

Rates update once each working day, around 16:00 Central European Time. They are reference rates for information, not the rate a bank or card will give.

Try it now

No account needed. Up to 10 runs a day here, files up to 2MB, and nothing is kept.

More options

Example

GETPOST https://bloodweb.net/api/v1/currency-convert

curl -H "Authorization: Bearer YOUR_KEY" "https://bloodweb.net/api/v1/currency-convert?amount=100&from=AUD&to=USD,INR"

Complete, tested code for this call: curl · Node.js · Python · PHP

Options

NameDescription
amount The amount to convert.
Default: 1
from
required
Three-letter currency code, such as AUD.
to One or more codes, comma separated. Leave out for every currency.
date A past date as YYYY-MM-DD, for that day's rates (back to 4 January 1999). Weekends and holidays use the last working day before. Leave out for the latest.

Returns

JSON: amount, from, date (the publication date of the rates used), rates and results per currency, source, and stale: true when the source could not be reached and older rates were used.

Limits

Reference rates are for information. They are not the rate a bank or card will give.

Good to know