GET/api/v1/references/currencies

Get Currencies

Currency refers to the currency the fare is to be extracted from. The API endpoint provides a list of all available in our database currencies. Users can access this endpoint to identify and retrieve the complete list of currencies and their codes offered in our database.

The GET request to retrieve the currencies data does not require any parameters. Simply make a GET request to the endpoint mentioned above.
GET/api/v1/references/currencies

Parameter Details

NameInTypeRequiredDescription
pagequeryintegerOptionalThe page number to retrieve.
sizequeryintegerOptionalThe number of items to be displayed per page.

Responses

StatusMeaningDescriptionSchema
200OKSuccess
400Bad RequestRequest data failed validation(s)None
401UnauthorizedAuthentication Failed!None
429Too Many RequestsToo Many Requests.None
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET /api/v1/references/currencies \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Example responses

200 Response
{
  "error": false,
  "currencies": [
    {
      "_id": "64ae7d3ed06e77f95bff04e7",
      "iso": "DZD",
      "symbol": "DZD",
      "isActiveStatus": true,
      "id": "63ff432ce2276fc08e64f794"
    }
  ],
  "totalData": 10282,
  "totalPages": 10282,
  "page": 1,
  "size": 1
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.