💱Currency Exchange Rate
Last updated
Last updated
This endpoint retrieves the current exchange rate between two specified currencies. This service supports all major currencies that conform to the ISO 4217 three-letter code standard.
Parameter | Description |
---|---|
A successful request returns the current exchange rate between the specified currencies:
If the request fails, typically due to an invalid currency pair, the following JSON is returned:
Ensure that both currency codes are valid ISO 4217 codes.
This endpoint does not require authentication.
Rates are updated frequently, reflecting current market conditions.
Field | Description |
---|---|
Field | Description |
---|---|
{FROM}-{TO}
The currency pair to convert from and to. Format as FROM
to TO
using ISO 4217 codes (e.g., EUR-USD OR EURUSD
).
status
The status of the request (success
).
from
The currency code of the source currency.
to
The currency code of the target currency.
rate
The exchange rate from from
to to
.
pair
The concatenated currency pair code.
status
The status of the request (failed
).
error
A message describing the nature of the error.