Content reference lists
Reference lists are provided to help you better understand the property content.
Property information provided in the Rapid Content APIs is often represented as identifiers (IDs). Use these reference lists to understand the meaning of those IDs.
Content References API
The Rapid Content References API is a resource for property information. Using the API offers some distinct advantages to using the static list including:
- Reference data will always be current when accessed via API.
- Localized reference data is available via API whereas the static list is only available in English.
Static content reference list
A single JSON file is provided containing all of the content reference lists mentioned below. Learn more about the individual lists and what is provided in the JSON file by clicking on the name of the content reference. The downloadable lists are only available in English for reference purposes. Localized names are returned in the Content APIs.
Last updated date: 21 October 2024.
Amenities
Amenities represent the features or services available to travelers.
In the Rapid Content APIs, we provide the id, localized name, and the explicit value (when applicable) of each amenity within the amenities object.
Amenities are available at the property, room, and rate plan level and are complimentary unless a surcharge or restriction is specified.
- Property level: Amenities available to all travelers.
- Room level: Amenities applicable only to the associated room.
- Rate level: Amenities applicable only to the associated rate plan.
Content API response example:
"amenities": {
"9": {
"id": 9,
"name": "Fitness facilities"
},
"2820": {
"id": 2820,
"name": "Number of indoor pools -",
"value": 10
}
},Reference list
Look in the content reference lists file (see above) for the amenities_property, amenities_rooms and amenities_rates objects.
Each amenity contains three fields:
idnamehas_value
Amenity categories
Amenity categories allow the grouping of related amenities for display, search, or filtering.
In the Rapid Content APIs the categories object describes the category that an amenity fits into. This lets you more easily group related amenities for display, search, or filtering.
Content API response example:
{
"12345": {
"property_id": "12345",
...
"amenities": {
"2070": {
"id": "2070",
"name": "Dry cleaning/laundry service",
"categories": [
"drycleaning_and_laundry_services"
]
}
}
}
}| Available categories |
|---|
accessibility |
accessible_bathroom |
accessible_parking |
accessible_wheelchair |
air_conditioning |
airport_transfer |
all_inclusive |
bar |
casino |
crib |
dry_cleaning_laundry |
dryer |
electric_charging_station |
free_airport_transfer |
free_all_meals |
free_breakfast |
free_breakfast_1_or_2_guests |
free_dinner |
free_lunch |
free_wifi |
gym |
hot_tub |
kitchen |
meeting_facility |
ocean_view |
parking |
pets_allowed |
restaurant_in_hotel |
spa_services |
swimming_pool |
washer |
water_park |
wifi |
Attributes
Attributes represent policies and features applicable to the property and the stay.
In the Rapid Content APIs, we provide the id, localized name, and the explicit value (when applicable) of the attribute within the attributes object.
Attributes are available at the property level and represent policies and features applicable to the property and the stay.
general: General policies that apply to the property.pets: Pet policies that apply to the property.
Content API response example:
"attributes": {
"general": {
"2549": {
"id": 2549,
"name": "No elevators"
},
"3357": {
"id": 3357,
"name": "Caters to adults only"
}
},
"pets": {
"51": {
"id": 51,
"name": "Pets allowed"
},
"2809": {
"id": 2809,
"name": "Dogs only"
}
}
},Reference list
Look in the content reference lists file (above) for the attributes_general and attributes_pets objects.
Each attribute contains three fields:
idnamehas_value
Category
Each property is associated with only one property category which represents the type of property.
In the Rapid Content APIs, we provide both the id and name of the property category within the category object.
Each property is associated with only one property category which represents the type of property being offered.
Content API response example:
"category": {
"id": 1,
"name": "Hotel"
},Reference list
The property category list is provided below for quick reference. It is also available in the download file.
id | name |
|---|---|
| 0 | Property |
| 1 | Hotel |
| 2 | Motel |
| 3 | Resort |
| 4 | Inn |
| 5 | Bed & Breakfast |
| 6 | Guesthouse |
| 7 | Condo |
| 8 | All-Inclusive Property |
| 9 | Cabin |
| 10 | Chalet |
| 11 | Cottage |
| 12 | Hostel/Backpacker Accommodation |
| 13 | Ranch |
| 14 | Villa |
| 15 | Lodge |
| 16 | Apartment |
| 17 | Private Vacation Home |
| 18 | Houseboat |
| 20 | Ryokan |
| 21 | Tree House Property |
| 22 | Aparthotel |
| 23 | Condominium Resort |
| 24 | Campsite |
| 25 | Riad |
| 26 | Hostal |
| 29 | Country House |
| 30 | Pension |
| 31 | Pousada (Portugal) |
| 32 | Pousada (Brazil) |
| 33 | Residence |
| 34 | Affittacamere |
| 36 | Castle |
| 37 | Safari/Tentalow |
| 39 | Palace |
| 40 | Agritourism Property |
| 41 | Cruise |
| 42 | Holiday Park |
| 43 | Capsule hotel |
| 44 | Mobile home |
Look in the content reference lists file for the category object.
Each category contains two fields:
idname
Chain references
Property chains represent a parent company which can have multiple brands associated with it.
In the Rapid Content API, we provide a chain reference mapping of all recognized chains.
Because chains and brands can change frequently, we don't include them in the reference file. We recommend that you check the reference API for the latest list. This mapping is updated daily.
Each property is associated with only one brand, which has a parent chain.
Content API response example:
"chain": {
"id": -6,
"name": "Hyatt Hotels"
},
"brand": {
"id": 2209,
"name": "Hyatt Place"
},Images
Images are organized by category, based on the area of the property depicted in the image.
In the Rapid Content APIs, we provide the category ID in the category field and the category name in the caption field for each property image. Room images also have captions.
Content API response example:
"images": [
{
"caption": "Featured Image",
"hero_image": true,
"category": 3,
"links": {
"350px": {
"method": "GET",
"href": "https://i.travelapi.com/hotels/1000000/10000/100/1/5a329959_b.jpg"
},
"70px": {
"method": "GET",
"href": "https://i.travelapi.com/hotels/1000000/10000/100/1/5a329959_t.jpg"
},
"1000px": {
"method": "GET",
"href": "https://i.travelapi.com/hotels/1000000/10000/100/1/5a329959_z.jpg"
}
}
},
]Reference list
Look in the content reference lists file for the images object.
Each image category contains two fields:
idname
Onsite payment types
Onsite payment types represent the forms of payment accepted for charges incurred or due at the property.
In the Rapid Content APIs, we provide the id and localized name of the onsite payment types within the types object, which is in the onsite_payments object.
Onsite payment types are available at the property level and represent forms of payments accepted for charges incurred or due at the property.
Content API response example:
"onsite_payments": {
"currency": "USD",
"types": {
"171": {
"id": 171,
"name": "American Express"
}
}
},Reference list
Look in the content reference lists file (above) for the onsite_payment_types object.
Each payment type contains two fields:
idname
Statistics
Statistics represent property-level information such as number of floors or number of rooms.
In the Rapid Content APIs, we provide the id, localized name, and the explicit value (when applicable) of the statistic within the statistics object.
Statistics are available at the property level and represent data such as number of floors and number of rooms.
Content API response example:
"statistics": {
"52": {
"id": 52,
"name": "Total number of rooms -",
"value": "820"
},
"54": {
"id": 54,
"name": "Number of floors -",
"value": "38"
}
},Reference list
Look in the content reference lists file for the statistics object.
Each statistic contains three fields:
idnamevalue
Themes
Themes represent the type of traveler typically targeted or vibe of a property.
In the Rapid Content APIs, we provide both the id and localized name of the theme within the themes object.
Themes are available at the property level and represent the type of traveler typically targeted or vibe of a property. A property can be associated with more than one theme but not all properties have a theme.
Content API response example:
"themes": {
"2337": {
"id": 2337,
"name": "Luxury Hotel"
},
"2341": {
"id": 2341,
"name": "Spa Hotel"
}
},Reference list
Look in the content reference lists file (above) for the themes object.
Each theme contains two fields:
idname
Room views
Room views represent the view available from a given room.
In the Rapid Content APIs we provide the id and localized name of the view available from the views object.
Content API response example:
"views": {
"4146": {
"id": 4146,
"name": "Courtyard view"
}
},Reference list
Look in the content reference lists file (above) for room_views.
Each views contains two fields:
idname
Spoken languages
Spoken languages represent the languages that are spoken by the property.
In the Rapid Content APIs we provide the id and localized name of the language spoken from the spoken_languages object.
Content API response example:
"spoken_languages": {
"vi": {
"id": "vi",
"name": "Vietnamese"
}
},Reference list
Look in the content reference lists file for spoken_languages
Each language contains two fields:
idname