/trip/hotels/photos
Get all photos for a Trip.com hotel by hotel id (or hotel URL): each photo with its full-resolution image url, watermarked thumbnail, category (Featured, Exterior, Rooms, Dining, etc.), title, and original source.
Price: 1 credit
💡 AI Hint: Fetch the photo gallery of a single Trip.com hotel by numeric hotel id or a hotel URL containing it. Returns a list of photos, each with id, category, title, image (full-resolution url), thumbnail and source. Use count to cap how many photos are returned.
⚠️ Common errors: 412: Hotel not found or has no photos (well-formed but nonexistent hotel id)
Authorizations
API token from the dashboard
Headers
Body
Trip.com hotel id or a hotel URL containing it
1"1480287"
"https://us.trip.com/hotels/new-york-hotel-detail-1480287/the-plaza/"
Max number of photos to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500