API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
GeoResult
Fields
lodging_idstring
required
Unique identifier for the lodging
Example
123e4567-e89b-12d3-a456-426614174000distanceGeoResultDistance
Geodesic 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
valuenumber
required
The magnitude of the distance.
Example
1834.6unitstring enum
required
The unit of measurement. Currently always meters; other units may be added later (handle unknown values gracefully, per Forward Compatibility).
Values
m · Example mExample
{
"lodging_id": "123e4567-e89b-12d3-a456-426614174000",
"distance": {
"value": 1834.6,
"unit": "m"
}
}