Retrieve hotel custom dump

Retrieve hotel custom dump

#affiliate

https://api.worldota.net/api/b2b/v3/hotel/custom/dump/

The call gets the dump customized by the request body.

Custom dumps (e.g., ski, usa, etc.) are curated manually or defined by internal business rules. Their content and criteria may change without notice and are not exhaustive.

For a comprehensive hotel selection by location or attributes, use the Retrieve hotel dump and apply your own filters.

⚠️

The dump download link you receive from the API is temporary and will expire 1 hour after being issued.

To download the dump, you must call the API method each time to obtain a fresh, valid link.

Request example

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

Request body

Response

Response example

{
  "data": {
    "last_update": "2020-07-01T00:38:13Z",
    "url": "https://.../partner_feed_v3_en.jsonl.zst?..." // link valid for 1 hour
  },
  "debug": null,
  "error": null,
  "status": "ok"
}