For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Hotel Property

Endpoint: content/property

Full content for one hotel. A non-existent master returns 29 PROPERTY_NOT_FOUND.

Request

Field
Type
Required
Description

masterId

string (digits)

✔

Hotel id

language

enum

vi | en

{ "masterId": "30715", "language": "en" }

Response — the full Property. Content carries no direct hotel contact details.

Field
Type
Description

masterId, name, latitude, longitude

As in content/properties

address

object

line, line2, city, province, postalCode, country (alpha-2), countryName

propertyType

string

e.g. Hotel, Apartment

starRating

number

e.g. 4.5

guestRating

object

score, count, recommendationPercent, overall, cleanliness, service, comfort, condition, location, neighborhood, quality, value, amenities — all strings. Fields the source lacks are omitted

checkin

object

{ from, to }, e.g. 14:00 – 23:00

checkout

object

{ until }, e.g. 12:00

checkinTime, checkoutTime

string

Equal to checkin.from / checkout.until; kept for partners integrated against 1.0.0

descriptions[], policies[], fees[]

array

{ type, text }; text may contain simple HTML

amenities[]

array

{ id, name, group }

themes[], spokenLanguages[]

array

statistics[]

array

{ name, value } — floors, room count…

images[]

array

{ url, caption, position }

roomTypes[]

array

Up to 4 representative room types

Cập nhật lần cuối