Currency converter
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.
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.
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
| Name | Description |
|---|---|
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
- Your files exist on our server only while the call runs, and are deleted when it ends. We keep a record of the call, never the file.
- A call that fails costs nothing.
- Run by Bloodweb (ABN 65 757 166 166) in Australia, under the microservices terms.
- Questions go to support@bloodweb.net, and we reply within one business day.
- Every service is checked every hour: see the status page.