Skip to main content
GET
/
data
/
fx
/
v1
/
fx
/
codes
Supported currency codes
curl --request GET \
  --url https://api.voyant.travel/data/fx/v1/fx/codes \
  --header 'Authorization: Bearer <token>'
{
  "result": "success",
  "supportedCodes": [
    [
      "<string>"
    ]
  ]
}

Authorizations

Authorization
string
header
required

Voyant Data API token, scoped per sub-product (data:{product}:read). Sent as Authorization: Bearer <token>.

Response

Supported codes

result
string
required
Example:

"success"

supportedCodes
string[][]
required

Pairs of [code, name], e.g. ["USD", "United States Dollar"].

Required array length: 2 elements
source
enum<string>
Available options:
bnr,
voyant-data-fx