Retrieve hotel dump

🆕
The Sandbox environment is available exclusively to new partners who begin their integration in Q4 2025.
https://api-sandbox.worldota.net/api/b2b/v3/hotel/info/dump/
ℹ️
The call is required.

The call gets the dump with all available ETG hotels as a single archive for a single language.

The ETG updates the data every week. To renew your local dump, use the Retrieve hotel incremental dump call.

⚠️
  • Any internal content such as photos, descriptions, and others can’t be indexed. It isn’t allowed.
  • Any public content such as name, address, amenities, and policies can be indexed.

Sandbox limitations

⚠️
Use only field values, IDs, API keys, and any static content from the sandbox environment within the sandbox. Do not use sandbox data in test or production environments, and do not mix data or configuration between different environments.

Request

  • language. The field value is always en.
  • inventory. The possible field values:
    • all.
    • direct.
    • preferable.
    • direct_fast.

Response

  • In the dump, the items’ number is 1000.
  • currency_code. For every object with this field, the value is always EUR.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api-sandbox.worldota.net/api/b2b/v3/hotel/info/dump/' \
--header 'Content-Type: application/json' \
--data '{
  "language": "en",
  "inventory": "all"
}'

Request body

Response

Response example

{
  "data": {
    "last_update": "2024-03-07T20:00:00Z",
    "url": "https://example.com/feed/dump_en_v3.jsonl.zst"
  },
  "debug": null,
  "error": null,
  "status": "ok"
}

Errors

The error field has the value specified in the headers below.

dump_not_ready

The dump is being updated. Try to download the archive later.