curl --request POST \
--url https://sandbox-platform.jupico.com/v1/exchange-rates/rates \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"base": "USD"
}'import requests
url = "https://sandbox-platform.jupico.com/v1/exchange-rates/rates"
payload = { "base": "USD" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'USD'})
};
fetch('https://sandbox-platform.jupico.com/v1/exchange-rates/rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/exchange-rates/rates';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'USD'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "succeeded",
"code": "0",
"data": {
"base": "USD",
"rates": {
"GBP": 0.7845
},
"fetchedAt": "2026-08-14T16:20:45.331Z"
}
}Get exchange rates
Returns exchange rates for a given base currency. If symbols is omitted, all supported currencies are returned.
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/exchange-rates/rates \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"base": "USD"
}'import requests
url = "https://sandbox-platform.jupico.com/v1/exchange-rates/rates"
payload = { "base": "USD" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'USD'})
};
fetch('https://sandbox-platform.jupico.com/v1/exchange-rates/rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/exchange-rates/rates';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'USD'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"message": "succeeded",
"code": "0",
"data": {
"base": "USD",
"rates": {
"GBP": 0.7845
},
"fetchedAt": "2026-08-14T16:20:45.331Z"
}
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
Requests exchange rates for a base currency.
Base currency the rates are quoted against. 3-letter ISO 4217 code, uppercase.
3"USD"
Target currency codes to return rates for. Omit to return every supported currency.
Target currency code. 3-letter ISO 4217 code, uppercase.
3Response
Exchange rates for the requested base currency.
Whether the request was processed successfully. Declines return HTTP 200 with success: false.
Human-readable result message.
Machine-readable result code. See the Error Codes reference.
The response payload.
Hide child attributes
Hide child attributes
Base currency the rates are quoted against.
UTC timestamp of when the rates were retrieved from the rate provider.
Was this page helpful?

