The Location Photos request returns up to 5 high-quality photos for a specific location. Please note that the limits are different for the beta subscribers. You need to upgrade to get the higher limits mentioned here.

The photos are ordered by recency.

Sizes (height x width) for each photo type are as follows:

Thumbnail: Fixed 50x50px, cropped, resized, and optimized by Tripadvisor
Small: Fixed 150x150px, cropped, resized, and optimized by Tripadvisor
Medium: Max dimension 250px (can be height or width, depending on photo orientation), the other dimension is resized to maintain the aspect ratio
Large: Max dimension 550px (same rules as Medium, resized to maintain aspect ratio)
Original: This is the photo in its original resolution and aspect ratio as provided by the user who submitted it.

Log in to see full request history
Path Params
int32
required

A unique identifier for a location on Tripadvisor. The location ID can be obtained using the Location Search.

Query Params
string
required

The Partner API Key

string
Defaults to en

The language in which to return results (e.g. "en" for English or "es" for Spanish) from the list of our Supported Languages.

number

The number of results to return

number

The index of the first result

string

A comma-separated list of allowed photo sources. Allowed values are 'Expert', 'Management', 'Traveler'. If not specified, allow photos from all sources.

Response

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json