Retrieve hotel dump
https://api.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.
Request example
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/hotel/info/dump/' \
--header 'Content-Type: application/json' \
--data '{
"inventory": "all",
"language": "en"
}'
Request body
The language.
ℹ️
The possible values:
ar
— Arabic.bg
— Bulgarian.cs
— Czech.da
— Danish.de
— German.el
— Greek.en
— English.es
— Spanish.fi
— Finnish.fr
— French.he
— Hebrew.hu
— Hungarian.it
— Italian.ja
— Japanese.kk
— Kazakh.ko
— Korean.nl
— Dutch.no
— Norwegian.pl
— Polish.pt
— Portuguese.pt_PT
— Portuguese (Portugal).ro
— Romanian.ru
— Russian.sq
— Albanian.sr
— Serbian.sv
— Swedish.th
— Thai.tr
— Turkish.uk
— Ukrainian.vi
— Vietnamese.zh_CN
— Simplified Chinese.zh_TW
— Traditional Chinese.
The hotel list to get.
ℹ️
- The possible values:
- The default value is
all
.
Response
Response example
{
"data": {
"last_update": "2024-07-01T00:38:13Z",
"url": "https://example.com/feed/dump_en.json.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.