---
title: "Get place photos"
method: GET
path: "/v1/google/maps/photos"
tags: ["Google Maps"]
---

# Get place photos

`GET /v1/google/maps/photos`

Get photos for a Google Maps place.

Photos are extracted from the ``/maps/preview/place`` response
(field ``data[6][37]``). Returns up to 20 photo URLs with
configurable width/height via the Google CDN pattern
``lh3.googleusercontent.com/gps-cs-s/{id}=w{w}-h{h}-k-no``.

## Query parameters

- `data_id` string, required — Google Maps data ID (0x...:0x...)
- `hl` string — Language code
- `gl` string — Country code

## Response `200`

Successful Response

- MapsPhotosResponse — Response for GET /api/v1/maps/photos.
  - `categories` MapsPhotoCategory[]
    - `name` string, required
    - `id` string, nullable
  - `photos` MapsPhoto[]
    - `thumbnail` string, nullable
    - `image` string, nullable
  - `pagination` Pagination, required — Pagination metadata.
    - `current` union
      - integer
      - string
    - `next` string, nullable
    - `total_results` integer, nullable
    - `total_pages` integer, nullable
    - `page_no` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/scrapebadger/apis/scrapebadger-account-api.md) · [All operations](https://skmtc.net/scrapebadger/apis/scrapebadger-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scrapebadger/scrapebadger-account-api/revisions/4a1ef8777baf/schema)
