API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

geo_request_follow_up

A request object used to retrieve subsequent pages of results from an existing geographic search query.

Implementation Note: This is a subtype of GeoRequest. This request must follow a successful 'initial' request that returned a 'next_cursor'.

Fields

request_id
string · uuid
required

A unique UUID (version 4) for this specific request. Note: This should be a new ID for the follow-up, distinct from the initial request ID, to allow for granular log tracking.

Example 123e4567-e89b-12d3-a456-426614174000
type
string enum
required

Must be set to follow_up. This field identifies the request as a pagination continuation and determines the schema of the remaining fields.

Values follow_up · Example follow_up
cursor
string
required

The opaque pagination token received from the previous 'GeoResponse'.

Stability Guidelines:

  • Expiration: Tokens are short-lived and may expire; clients must not rely on a fixed validity window. In practice, most tokens remain usable for up to 24 hours, but this is not guaranteed and may change without notice.
  • Statelessness: Tokens are strictly for sequential access; skipping pages is not supported.
  • Result Shifts: While the search area is locked in the token, the specific lodgings returned may vary slightly if inventory is updated between page requests.
Example eyJvZmZzZXQiOjIwfQ==
Example
{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "follow_up",
  "cursor": "eyJvZmZzZXQiOjIwfQ=="
}