google_maps_photos
Retrieve photos for a Google Maps location using its data ID. Optionally filter by category and paginate results.
Instructions
Retrieves photos for a Google Maps location, optionally filtered by category, given a Maps data_id. [Credits: Not explicitly stated on this page (see general Scrapingdog credit pricing).] Notes: To filter by category, first call the endpoint without category_id to obtain the categories array and their id values, then re-call with category_id set. Pagination is cursor-based via next_page_token; the response also returns a ready-made scrapingdog_pagination.next URL for convenience. Returns: JSON with categories array of {name, id}, photos array of {thumbnail, image}, and scrapingdog_pagination {next (full next-page URL), next_page_token}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | The Google Maps data ID for the location, obtained from the google_maps_search endpoint (or its returned photos_link). | |
| language | No | Language of the results (e.g. en, es, fr, de). See Google Language Page documentation for full list. (default: en) | |
| category_id | No | Unique identifier of a photo category, obtained from the `categories` array returned by a prior call to this same endpoint (e.g. "Food & drink", "Interior"). | |
| next_page_token | No | Token used to fetch the next page of photo results. |