Developer Portal

Exchange RatesGET

View as Markdown
GET
/exchange-rates

Authorization

AuthorizationRequiredBearer <token>

JWT token obtained from the login endpoint

In: header

Query Parameters

fromRequiredstring
toRequiredstring
curl -X GET "http://localhost:8081/api/v1/exchange-rates?from=%3Cstring%3E&to=%3Cstring%3E" \
  -H "Authorization: Bearer <token>"

Exchange rate retrieved successfully

{
  "from": "string",
  "to": "string",
  "rate": 0.1
}