Skip to main content

Export catalog snapshot (NDJSON)

GET 

/content/hotels/v1/export/catalog

Streams a catalog snapshot as NDJSON for agency batch consumption. Each line is one hotel with base code, providerPropertyIds (e.g. {"example": "..."} when that provider is selected), country, canonical city place id, updatedAt, and (by default) content-signal counts (mediaCount, roomCount) so agencies can triage which hotels have rich content. Full content is retrieved via by-base-codes / by-provider-codes. Use since (RFC3339) for incremental exports.

Request

Responses

NDJSON stream (application/x-ndjson). To page, send the code of the last line back as after; the last page is the one that returns fewer lines than the requested limit. X-Export-Count is not returned: it was only ever an HTTP trailer, which the gateway does not forward.

Response Headers
    X-Export-Schema

    Export schema version (catalog-v1).