HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
media
Visual media content for lodging properties, including images and videos that showcase the property's features, amenities, and ambiance to potential guests.
Media Types:
- Images: High-quality photographs of rooms, amenities, exterior views, and local attractions
- Videos: Video content showcasing property features, amenities, and ambiance
Fields
Visual media content for lodging properties, including images and videos that showcase the property's features, amenities, and ambiance to potential guests.
Media Types:
- Images: High-quality photographs of rooms, amenities, exterior views, and local attractions
- Videos: Video content showcasing property features, amenities, and ambiance
type:image (media_image) media_image
typeType of media content
imagevideo · Example imageurlURL to the original media content resource, this is not resized
https://example.com/images/hotel-lobby.jpglinksLinks to the media content at different sizes.
Show fields
1440pxA link to a media image at a specific size
Show fields
urlURL to the media content at this size
https://i.travelapi.com/hotels/1000000/20000/15300/15237/bef1b976_t.jpgcategoryCategory of lodging media content
primarylobbyguest_roompoolfitnessspasports_facilityamenitydiningbarinteriorexteriorviewpoint_of_interestliving_areakitchenbedroombathroomuncategorized · Example primarycaptionOptional caption for the image
Spacious hotel lobby with modern decoris_primaryIndicates if this is the primary image for the lodging
truevideo (media_video) media_video
typeType of media content
imagevideo · Example imageurlURL to the original media content resource
https://example.com/videos/hotel-tour.mp4thumbnail_urlURL to the thumbnail image for the video
https://example.com/videos/hotel-tour-thumbnail.jpg{
"type": "image",
"url": "https://example.com/images/hotel-lobby.jpg",
"category": "primary",
"caption": "Spacious hotel lobby with modern decor",
"is_primary": true,
"links": {
"1440px": {
"url": "https://i.travelapi.com/hotels/1000000/20000/15300/15237/bef1b976_t.jpg"
}
}
}