Skip to main content

GET /v1.1/currency

Returns a list of all supported currencies.

Request

GET /v1.1/currency

Example Request

curl -X GET "https://api.rccl.ro/v1.1/currency" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns an array of currency resources.

Response body:

{
"data": [
{
"type": "currency",
"id": "3518f894-4d42-312d-937d-affe097d216e",
"attributes": {
"code": "USD",
"symbol": "$"
},
"links": {
"self": "/v1.1/currency/3518f894-4d42-312d-937d-affe097d216e"
}
},
{
"type": "currency",
"id": "a055562b-db59-3d8b-a9cc-680367308118",
"attributes": {
"code": "EUR",
"symbol": "€"
},
"links": {
"self": "/v1.1/currency/a055562b-db59-3d8b-a9cc-680367308118"
}
},
{
"type": "currency",
"id": "d9fe5d28-50f1-3d16-b451-b193e8bd0e0c",
"attributes": {
"code": "RON",
"symbol": "lei"
},
"links": {
"self": "/v1.1/currency/d9fe5d28-50f1-3d16-b451-b193e8bd0e0c"
}
}
],
"meta": {
"count": 3
},
"jsonapi": {
"version": "1.0"
}
}

Currency Attributes

FieldTypeDescription
codestringISO 4217 currency code
symbolstringCurrency symbol

Error Responses

StatusDescription
401Unauthorized — missing or invalid API key
500Internal Server Error — upstream query failure