# Google Maps Photos Scraper (`rainminer/google-maps-photos-scraper`) Actor

Returns Google Maps photos at $0.49/1k, vs $2.00/1k for the top alternative, including image URL, size, and place ID. Export Google Maps place gallery photos with direct image URLs, dimensions, upload dates, and place context. Feed URLs, Place IDs, or text queries. Pay per photo row. No Google API

- **URL**: https://apify.com/rainminer/google-maps-photos-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Travel, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.37 / 1,000 photo scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Maps Photos Scraper

Returns Google Maps photos at $0.49/1k, vs $2.00/1k for the top alternative, including image URL, size, and place ID.

Export **public Google Maps place gallery photos** as dataset rows with full-size URLs, thumbnails, dimensions, upload dates when available, and place context (name, Place ID, Maps link).

Use it for visual datasets, listing audits, tourism boards, and brand monitoring without maintaining a headless browser or Google Places API quota.

### What you get

Each successful row includes:

| Field | Description |
| --- | --- |
| `imageUrl` | Full-size `googleusercontent` URL when dimensions are known |
| `thumbnailUrl` | Gallery thumbnail URL |
| `photoId` | Google photo key when present |
| `uploadDate` | ISO timestamp when the gallery exposes a date |
| `category` | Coarse label such as Photo or Street View |
| `width` / `height` | Pixel dimensions when present |
| `placeName` / `placeId` / `placeUrl` | Resolved listing metadata |
| `authorName` / `authorProfileUrl` | Usually `null` (not exposed in the list API) |

Failed place resolutions produce a single `ok: false` row with an error message. **Those rows are not charged.**

### Input

- **Start URLs**: Google Maps place URLs or short links
- **Place IDs**: e.g. `ChIJN1t_tDeuEmsRUsoyG83frY4`
- **Search queries**: first Maps result only (e.g. `Katz's Delicatessen New York`)
- **maxPhotosPerPlace**: cap per input (default 20 in schema, prefill 5 for tests)
- **language**: Maps UI language (`en` default)
- **proxyConfiguration**: optional; defaults to **no Apify Proxy**

Google typically returns about **10 photos per request**; the actor paginates until your cap or the gallery ends.

### Example

```json
{
  "placeIds": ["ChIJN1t_tDeuEmsRUsoyG83frY4"],
  "maxPhotosPerPlace": 15,
  "language": "en",
  "proxyConfiguration": { "useApifyProxy": false }
}
```

### Pricing (pay per event)

| Event | When charged | Price |
| --- | --- | --- |
| `photo` | Each `ok: true` photo row pushed | $0.49 per 1,000 photos (Free plan) |

Console spending limits stop the run cleanly when the limit is hit.

### Limitations

- Contributor names and profile URLs are **not** available from the anonymous gallery list response this actor uses.
- Very large galleries need many paginated requests; use `maxPhotosPerPlace` to control cost.
- Heavy bot blocking may require enabling Apify Proxy in input.

### Related rainminer actors

- [Google Maps Menu Scraper](https://apify.com/rainminer/google-maps-menu-scraper)
- [Google Maps Place Reviews Scraper](https://apify.com/rainminer/google-maps-place-reviews-scraper)
- [Google Maps Images Annotator](https://apify.com/rainminer/google-maps-images-annotator)

### Image Credit

Image credit: [Google Maps](https://www.google.com/maps)

# Actor input Schema

## `startUrls` (type: `array`):

Google Maps place URLs or maps.app.goo.gl short links for businesses you want photos from.

## `placeIds` (type: `array`):

Google Maps Place IDs (for example ChIJN1t_tDeuEmsRUsoyG83frY4). Each ID is resolved to the public photo gallery.

## `searchQueries` (type: `array`):

Free-text Maps search queries. The first matching place is used (for example Katz's Delicatessen New York).

## `maxPhotosPerPlace` (type: `integer`):

Maximum number of unique gallery photos to save per input place or query. Google returns about 10 photos per page; pagination continues until this cap is reached.

## `language` (type: `string`):

Google Maps interface language (ISO code such as en, de, es). Affects labels and some metadata.

## `proxyConfiguration` (type: `object`):

Optional Apify proxy settings. The scraper works without a proxy for many runs; enable Apify Proxy if Google rate-limits your region.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJN1t_tDeuEmsRUsoyG83frY4"
    }
  ],
  "placeIds": [],
  "searchQueries": [],
  "maxPhotosPerPlace": 5,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJN1t_tDeuEmsRUsoyG83frY4"
        }
    ],
    "placeIds": [],
    "searchQueries": [],
    "maxPhotosPerPlace": 5,
    "language": "en",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/google-maps-photos-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.google.com/maps/place/?q=place_id:ChIJN1t_tDeuEmsRUsoyG83frY4" }],
    "placeIds": [],
    "searchQueries": [],
    "maxPhotosPerPlace": 5,
    "language": "en",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/google-maps-photos-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJN1t_tDeuEmsRUsoyG83frY4"
    }
  ],
  "placeIds": [],
  "searchQueries": [],
  "maxPhotosPerPlace": 5,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/google-maps-photos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/google-maps-photos-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ge5QfSx7XpARYu1Po/builds/dodZa9aaHMfpdwjmX/openapi.json
