Convert according to historical rates

GET https://data.fixer.io/api/convert?from=USD&to=INR&amount=100&date=1999-08-14

Using convert endpoint, you can convert any amount from one currency to another based on the latest rates or historical rates.

Request Params

KeyDatatypeRequiredDescription
fromstring[required] The three-letter currency code of the currency you would like to convert from.
tostring
amountnumber[required] The amount to be converted.
datestring[optional] Specify a date (format YYYY-MM-DD) to use historical rates for this conversion.

RESPONSES

status: OK

{"success":true,"query":{"from":"USD","to":"INR","amount":100},"info":{"timestamp":934675199,"rate":43.49913},"date":"1999-08-14","historical":true,"result":4349.913}