---
title: "Location Photos"
method: GET
path: "/locations/{id}/photos"
tags: ["Location"]
---

# Location Photos

`GET /locations/{id}/photos`

Retrieves photos for a Tripadvisor Location.

 <p>Returns a page of high-resolution images contributed by both travelers and management, sorted with
 the most recent first. Each photo includes dynamic CDN references, the contributor source, an optional
 caption, and (for eligible partners) computer-vision metadata such as scene classification and an
 attractiveness score.

## Path parameters

- `id` integer, required

## Query parameters

- `locale` string[]
- `page` integer
- `size` integer
- `sort` string[]

## Response `200`

a page of photos for the Location

- PagePhoto
  - `data` Photo[], required
    - `caption` string — Caption text describing the photo
    - `cv_metadata` CVMetadata
      - `attractiveness_score` number — Computer vision attractiveness score ranging from 0.0 to 1.0 (higher is more attractive)
      - `scene` string — One of: <ul> <li>spa</li> <li>bathroom</li> <li>food</li> <li>interior</li> <li>view</li> <li>dining</li> <li>menu</li> <li>beach</li> <li>exterior</li> <li>business_ce</li> <li>room</li> <li>other</li> <li>drinks</li> <li>common_area</li> <li>fitness_cen</li> <li>kid_areas</li> <li>pool</li> </ul>
    - `id` integer, required — Unique identifier for the photo
    - `location_id` integer, required — Location ID that is related to the photo
    - `photo` PhotoInfo, required
      - `key` string — Unique identifier for the photo
      - `media_type` string — Media type of the photo (e.g., "image/jpeg", "image/png")
      - `original_height` integer — Original height of the photo in pixels
      - `original_size_url` string — URL to the original size photo
      - `original_width` integer — Original width of the photo in pixels
    - `publish_ts` string, date-time, required — Date and time when the photo was published
    - `source` PhotoSource, required
      - `name` 'Management' | 'Traveler', required
    - `user` UserInfo
      - `avatar_url` ImageUrl
        - `key` string — Unique identifier for the image
        - `url` string — URL to access the image
      - `geo` string — Name of the geographic location associated with the user
      - `geo_id` integer — Geographic ID associated with the user's location
      - `username` string — Username of the user
  - `pagination` PageMetadata, required
    - `page` integer — Current page number (1-based).
    - `size` integer — Number of items per page.
    - `total_elements` integer — Total number of elements
    - `total_pages` integer — Total number of pages.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/tripadvisor/apis/partner-api.md) · [All operations](https://skmtc.dev/tripadvisor/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tripadvisor/partner-api/revisions/b42bdf9fd6a5/schema)
