POST /v1/data/tripadvisor/hotels/run
Pricing: $0.002 per hotel ($2.00 per 1,000). Setting maxPhotosPerPlace above 0 adds $0.0005 per delivered photo.
Ways to call it
- Search: set
query(optional:maxResults,language,currency,includeTags,checkInDate,checkOutDate,maxPhotosPerPlace,photosType) - URL: set
startUrls(optional:language,currency,includeTags,checkInDate,checkOutDate,maxPhotosPerPlace,photosType)
Request
Send the inputs underparams. Only the keys below are accepted; any other key returns 422 invalid_params.
A location name or keyword to search, e.g. ‘Paris’ or ‘Lisbon hotels’. Use English place names for best coverage. (By Search mode.)
A TripAdvisor search results page or hotel page URL to extract hotels from. (By URL mode.)Format e.g.
https://www.tripadvisor.com/hotels-g189158-lisbon_lisbon_district_central_portugal-hotels.html.Photos to fetch per hotel. Use 0 for none. Billed as an add-on per delivered photo.
Which photo source to pull from.Allowed values:
fromEveryone (From Everyone), fromManagement (From Management), fromTravelers (From Travelers).Example
Response fields
Each row indata is one hotel, keyed by these fields.