Content References API
The Content References API helps you better understand Rapid property content.
Property information (including amenities or services available at property or room level, value adds, and rate amenities) provided in the Rapid Content APIs are represented by numerical IDs. Use the Content References API to self-serve lists of attribute IDs and their meanings.
Reference details
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.
Look for the amenities_property, amenities_rooms and amenities_rates objects.
Each amenity contains 3 fields:
idnamehas_value
Content API response example:
"amenities": {
"9": {
"id": 9,
"name": "Fitness facilities"
},
"2820": {
"id": 2820,
"name": "Number of indoor pools -",
"value": 10
}
},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
accessibilityaccessible_parkingaccessible_wheelchairair_conditioningairport_transferall_inclusivebarcasinocribdry_cleaning_laundrydryerelectric_charging_stationfree_airport_transferfree_all_mealsfree_breakfastfree_breakfast_1_or_2_guestsfree_dinnerfree_lunchfree_wifigymhot_tubkitchenmeeting_facilityocean_viewparkingpets_allowedspa_servicesswimming_poolwasherwater_parkwifi
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.
Look for the attributes_general and attributes_pets objects.
Each attribute contains 3 fields:
idnamehas_value
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"
}
}
},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.
Look for the category object.
Each category contains 2 fields:
idname
Content API response example:
"category": {
"id": 1,
"name": "Hotel"
},The property category list is provided below for quick reference.
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 |
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.
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.
Look for the images object.
Each image category contains 2 fields:
idname
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"
}
}
},
]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.
Look for the onsite_payment_types object.
Each payment type contains 2 fields:
idname
Content API response example:
"onsite_payments": {
"currency": "USD",
"types": {
"171": {
"id": 171,
"name": "American Express"
}
}
},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.
Look for the statistics object.
Each statistic contains 3 fields:
idnamevalue
Content API response example:
"statistics": {
"52": {
"id": 52,
"name": "Total number of rooms -",
"value": "820"
},
"54": {
"id": 54,
"name": "Number of floors -",
"value": "38"
}
},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.
Look for the themes object.
Each theme contains 2 fields:
idname
Content API response example:
"themes": {
"2337": {
"id": 2337,
"name": "Luxury Hotel"
},
"2341": {
"id": 2341,
"name": "Spa Hotel"
}
},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.
Look for the room_views object.
Each views contains 2 fields:
idname
Content API response example:
"views": {
"4146": {
"id": 4146,
"name": "Courtyard view"
}
},Spoken languages
Spoken languages represent the languages that are spoken by the property staff.
In the Rapid Content APIs we provide the id and localized name of the language spoken from the spoken_languages object.
Look for the spoken_languages object.
Each language contains 2 fields:
idname
Content API response example:
"spoken_languages": {
"vi": {
"id": "vi",
"name": "Vietnamese"
}
},