HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
geo_response
Paginated response containing matching lodging identifiers.
Fields
lodging_idsDeprecated: use lodgings instead, which carries the same lodgings in the
same order plus per-lodging data. A list of unique identifiers for lodging
properties found within the geographic search area.
total_resultsThe total count of all matching lodgings across all pages.
150has_moreIndicates whether more results are available beyond the current page.
trueresponse_idUnique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.
123e4567-e89b-12d3-a456-426614174000lodgingsThe lodgings found within the geographic search area, in result (sort)
order. Always present, with exactly one entry per matching lodging on
this page — the same membership and order as the deprecated
lodging_ids. An entry is never omitted because its distance is
unknown; distance is simply absent in that case.
Show fields
lodging_idUnique identifier for the lodging
123e4567-e89b-12d3-a456-426614174000distanceGeodesic straight-line distance (WGS84 ellipsoid) from the search's resolved reference location to the lodging's coordinates. Not a travel (driving/walking) distance. Omitted when unknown for this lodging or when the search has no resolvable reference location.
Show fields
valueThe magnitude of the distance.
1834.6unitThe unit of measurement. Currently always meters; other units may be added later (handle unknown values gracefully, per Forward Compatibility).
m · Example mnext_cursorAn opaque string used to fetch the next set of results. If null or omitted, no further results are available.
eyJvZmZzZXQiOjIwfQ=={
"total_results": 150,
"has_more": true,
"next_cursor": "eyJvZmZzZXQiOjIwfQ==",
"response_id": "123e4567-e89b-12d3-a456-426614174000",
"lodgings": [
{
"lodging_id": "123e4567-e89b-12d3-a456-426614174000",
"distance": {
"value": 1834.6,
"unit": "m"
}
}
]
}