# Google Maps Place Details Enricher (`maged120/google-place-details`) Actor

Turn a list of Google Maps URLs, Place IDs or CIDs into full business records — name, phone, website, address, rating, review count, hours and live open/closed status.

- **URL**: https://apify.com/maged120/google-place-details.md
- **Developed by:** [Maged](https://apify.com/maged120) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 results

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 Place Details Enricher

**Turn a list of Google Maps places into clean, structured business records.** Feed the Actor **Google Maps URLs, Place IDs, CIDs, or plain "name, city" strings** and get back the full detail for each one — **name, phone, website, address, rating, review count, opening hours and live open/closed status** — one tidy row per place, ready to export.

Built for **enrichment**: you already have a list of places (from your CRM, a lead list, the [Google Maps](https://www.google.com/maps) app's share links, or another scraper) and you want each one hydrated with current, accurate details. Runs on the Apify platform, so you get API access, scheduling, integrations, proxy rotation and run monitoring out of the box.

### Why use this Actor?

- **Enrich lists you already have** — bring your own Place IDs or Maps links and get structured data back, no keyword guessing.
- **Sales & lead gen** — attach phone numbers, websites and ratings to a list of prospects.
- **Data hygiene** — refresh a database of locations with today's hours, rating and open status.
- **Mixed inputs, one format** — Place IDs, CIDs, share links and free-text names all resolve to the same clean schema.
- **Fast and hands-off** — no browser to babysit, no API keys to manage.

### How to use it

1. Open the **Input** tab.
2. Paste your places into **Places to look up** — one per line. Each can be a Maps URL, a Place ID (`ChIJ...`), a CID, or a `business name, city` string.
3. (Optional) Set the **Language** and **Country bias** for localized fields.
4. Click **Start**. Each place becomes one row in the **Output** tab. Download as JSON, CSV, Excel or HTML.

### Input

| Field | Description |
|---|---|
| `placeIdentifiers` | List of places to look up. Google Maps URL, Place ID, CID, or "name, city". **Required.** |
| `language` | Language for localized fields such as hours and categories (default `en`). |
| `countryCode` | Two-letter country code that biases free-text lookups (default `us`). |
| `proxyConfiguration` | Proxy for the lookups. Residential recommended. |

```json
{
    "placeIdentifiers": [
        "ChIJN1t_tDeuEmsRUsoyG83frY4",
        "https://maps.google.com/?cid=10281119596374313554",
        "Blue Bottle Coffee, San Francisco"
    ],
    "language": "en",
    "countryCode": "us"
}
```

### Output

One row per input place. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
{
    "entityType": "place",
    "name": "Google Sydney - Pirrama Road",
    "category": "Corporate office",
    "categories": ["Corporate office", "Software company"],
    "address": "Ground Floor/48 Pirrama Rd, Pyrmont NSW 2009",
    "city": "Pyrmont",
    "state": "NSW",
    "countryCode": "AU",
    "phone": "+61 2 9374 4000",
    "website": "https://google.com",
    "rating": 4.1,
    "reviewCount": 1211,
    "latitude": -33.866489,
    "longitude": 151.195856,
    "placeId": "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "cid": "10281119596374313554",
    "googleMapsUrl": "https://maps.google.com/?cid=10281119596374313554",
    "status": "Open ⋅ Closes 5 PM",
    "openNow": true,
    "openingHours": { "Monday": "9 AM–5 PM", "Tuesday": "9 AM–5 PM" },
    "attributes": { "Accessibility": ["Wheelchair-accessible entrance"] },
    "inputQuery": "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "scrapedAt": "2026-09-16T00:00:00+00:00"
}
```

#### Data fields

| Field | Description |
|---|---|
| `name`, `category`, `categories` | Business name and its Google categories. |
| `address`, `city`, `state`, `countryCode` | Location components. |
| `phone`, `website` | Contact details. |
| `rating`, `reviewCount` | Star rating and number of reviews. |
| `latitude`, `longitude` | Coordinates. |
| `placeId`, `cid`, `googleMapsUrl` | Canonical Google identifiers and a direct Maps link. |
| `status`, `openNow`, `openingHours` | Live open/closed text, boolean, and the weekly schedule. |
| `attributes` | Grouped amenities (accessibility, service options, etc.). |
| `inputQuery`, `scrapedAt` | The identifier you supplied and the lookup timestamp. |

### Usage & cost

Billing is **per result** — each place you look up is one dataset row. A run of 1,000 identifiers produces roughly 1,000 rows. Inputs that can't be matched still return a single row carrying an `error` field, so your counts line up with your input list. To control cost, simply control how many identifiers you submit.

### Tips

- **Place IDs and Maps URLs are the most reliable inputs** — they point at exactly one place. Free-text `name, city` returns the top match, which is usually right but depends on how specific the name is.
- Schedule the Actor to refresh a location database on a cadence — hours and ratings change over time.
- Use the API or integrations to pipe results straight into your CRM, sheet or warehouse.

### FAQ & support

- **Is scraping public Google Maps data legal?** This Actor collects only publicly visible business information. You are responsible for using the data in line with applicable laws and Google's terms.
- **Why did a place come back with an error?** The identifier could not be matched — usually a malformed URL or an overly generic free-text name. Try a Place ID or the full Maps link.
- **Found a bug or need a field added?** Open an issue on the Actor's **Issues** tab. Custom variations are available on request.

# Actor input Schema

## `placeIdentifiers` (type: `array`):

One entry per place. Each can be a Google Maps URL, a Google Place ID (ChIJ...), a CID, or a plain 'business name, city' string. The Actor returns one enriched record per entry.

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

Language for localized fields (hours text, categories).

## `countryCode` (type: `string`):

Two-letter country code used to bias free-text lookups (e.g. us, gb, de).

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

Proxy used for the lookups. Residential is recommended for reliability.

## Actor input object example

```json
{
  "placeIdentifiers": [
    "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "Blue Bottle Coffee, San Francisco"
  ],
  "language": "en",
  "countryCode": "us",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "placeIdentifiers": [
        "ChIJN1t_tDeuEmsRUsoyG83frY4",
        "Blue Bottle Coffee, San Francisco"
    ],
    "language": "en",
    "countryCode": "us",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("maged120/google-place-details").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 = {
    "placeIdentifiers": [
        "ChIJN1t_tDeuEmsRUsoyG83frY4",
        "Blue Bottle Coffee, San Francisco",
    ],
    "language": "en",
    "countryCode": "us",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("maged120/google-place-details").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 '{
  "placeIdentifiers": [
    "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "Blue Bottle Coffee, San Francisco"
  ],
  "language": "en",
  "countryCode": "us",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call maged120/google-place-details --silent --output-dataset

```

## MCP server setup

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

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/HgoFbFNSeIhVXsegR/builds/hutGrEaSkDqmxIerM/openapi.json
