Get currency rates
/money/ratesQuery method
GEThttps://api.stableproxy.com/v2/money/rates
Code examples
1const baseUrl = "https://api.stableproxy.com/v2";2const response = await fetch(baseUrl + "/money/rates", {3 method: "GET",4 headers: {5 "Content-Type": "application/json"6 }7});8const data = await response.json();Examples of answers
Success response200application/json
{
"data": {
"rates": {
"EUR": 0.92,
"GBP": 0.78,
"UAH": 41.12,
"USD": 1,
"PLN": 3.92
},
"last_update": 1716969751
},
"good": true,
"timestamp": 1731356095,
"cause": {
"type": "anonymous",
"user_id": -1
}
}