GET/countries

Get Countries

This API call returns a list of supported country names along with the acceptable format for the RatesAPI. It is used in the /hotels method when specifying the country parameter while searching for a specific hotel.
GET/countries

Responses

StatusMeaningDescriptionSchema
200OKSuccessschemacountryresp
400Bad RequestBad Request
401UnauthorizedAuthentication Failed or Account validity expired
500Internal Server ErrorInternal server error

Example Request

# You can also use wget
curl -X GET /countries \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
["string"]

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.