Skip to main content

Hotels by Country

GET

/api/v1/generic-api-service/content/hotel/filter?page=0&size=400

Returns the hotels located in a given country. Send a country id in the body and the service responds with the matching hotel list. Use this endpoint when a sales channel wants to pull hotels filtered by a single country instead of the full inventory returned by the Hotels endpoint. The result is paginated — use the page and size query parameters together with numberOfItems and numberOfPages to iterate through all records.

curl --location --request GET 'https://api.etscore.com/api/v1/generic-api-service/content/hotel/filter?page=0&size=400' \
--header 'Accept-Language: En-US' \
--header 'X-CURRENCY: EUR' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"countryId": 549
}'