Convert an amount between currencies

Converts an amount from one currency to another at the latest (or a historical) rate.

Request

GEThttps://currency-exchange-rates.p.apihiver.com/v1/convert?amount=100&from=USD&to=INR
*
Number. Amount to convert.
*
String. Source currency, e.g. USD.
*
String. Target currency, e.g. INR.
String. Historical date YYYY-MM-DD (default: latest)
Language
Client
1curl --request GET \
2  --url 'https://currency-exchange-rates.p.apihiver.com/v1/convert?amount=100&from=USD&to=INR&date=%7Bdate%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Convert an amount between currencies: Currency Exchange Rates API reference

Converts an amount from one currency to another at the latest (or a historical) rate. This endpoint is part of the Currency Exchange Rates API: Daily exchange rates for 30 currencies from the European Central Bank: latest, historical, conversion, time series and % change.

Example response (200, application/json)

Success.

1{
2  "to": "INR",
3  "date": "2026-09-25",
4  "from": "USD",
5  "rate": 95.82,
6  "amount": 100,
7  "result": 9582
8}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "amount: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.