API Reference
POSTHotel

Get Geo

/hotel/geo/list

Find a geographic region identifier from a country and location keyword before hotel discovery.

Source: API Documentation.pdf, pages 2-3

Authorization required

Call the authentication endpoint first, then include the returned access token in the Authorization header together with Content-Type: application/json.

Source notes

Source ambiguityThe source parameter table labels `lat` with the longitude example and `lan` with the latitude example, while the response uses `lon` and `lat`. Both source forms are preserved for review.

Parameters

NameTypeExampleDescription
countryCodeRequiredStringIDISO country code used to filter the search region. Example: ID for Indonesia.
offsetRequiredInteger0Starting index of the result list (used for pagination).
limitRequiredInteger15Maximum number of records to return per request.
keyRequiredStringDenpasarKeyword used to search for a geographic location (e.g., city name, area name).
geoIdString102747Unique identifier of the geographic region. Used for hotel search and discovery APIs.
parentIdString102746Parent geographic region ID (e.g., province or higher-level region).
typeStringCITYType of geographic region (e.g., CITY, AREA, REGION).
nameStringDenpasarOfficial name of the region.
localeNameStringDenpasarLocalized name of the region (based on locale setting).
centroidObject-Geographic coordinate information of the region.
latString (Decimal)115.2219942212104 8Longitude coordinate of the region.
lanString (Decimal)-8.67189642353182 7Latitude coordinate of the region.
validBooleanTrueIndicates whether the coordinate data is valid.