Services
This API method allows you to retrieve the exchange rates for different currencies based on a specific amount and your own currency. By providing the amount and the currency code, you can access the current exchange rates against various other currencies. The response will include the exchange rates for the specified amount in comparison to each currency, allowing you to see currency conversions.
Authorization JWT-token with a lifetime of 1 hour in header
Amount of money to get sum in exchange rate for specified currency. Must include 2 decimal places.
100Sender`s country code, according to the ISO 3166-1 Alpha-2 standard.
^[A-Z]{2}$Currency code to get exchange rate, according to the iso-4217 standard.
^[A-Z]{3}$Operation date for exchange rate in ISO 8601 format.
2023-10-16T00:00:00Zshipments
Unauthorized
The specified resource was not found
Validation error
Connection time-out
POST /v.1.0/exchange-rates/conversion HTTP/1.1
Host: api-stage.novapost.com/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"amount": 100,
"countryCode": "UA",
"currencyCode": "USD",
"date": "2023-10-16T00:00:00.000000Z"
}{
"requestCurrency": {
"currencyCode": "USD",
"amount": 100
},
"mainCurrency": {
"currencyCode": "UAH",
"amount": 3662.16
},
"convertedCurrencies": [
{
"currencyCode": "TND",
"amount": 317.18
},
{
"currencyCode": "CZK",
"amount": 2320.03
},
{
"currencyCode": "BRL",
"amount": 504.08
},
{
"currencyCode": "TRY",
"amount": 2755.78
},
{
"currencyCode": "RON",
"amount": 472.25
},
{
"currencyCode": "EUR",
"amount": 95.02
},
{
"currencyCode": "MDL",
"amount": 1823.15
},
{
"currencyCode": "ZAR",
"amount": 1956.6
},
{
"currencyCode": "NZD",
"amount": 168.27
},
{
"currencyCode": "SAR",
"amount": 375.59
},
{
"currencyCode": "LYD",
"amount": 489.62
},
{
"currencyCode": "PLN",
"amount": 437.49
},
{
"currencyCode": "GBP",
"amount": 82.31
}
]
}Last updated