Scraper APIGoogle Maps
google.maps_place
One place on Google Maps by its id or address: categories, address, phone, website, rating and its breakdown, opening hours, attributes and photos.
- Id
google.maps_place- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/google.maps_place/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
place_id | string | The place's id on Google Maps, e.g. ChIJkaUn1JPTD4gR7ZWpE9cCuow. |
url | string | The address of the place's page on Google Maps: the long one a browser shows on the place's page, or a short maps.app.goo.gl link.Limit: at most 1800 characters. |
data_id | string | The place's data id on Google Maps, e.g. 0x880fd393d427a591:0x8cba02d713a995ed. |
cid | string | The place's cid number on Google Maps, e.g. 10140420633749198317. |
language | string | Language of the page (Google's hl).Limit: matches ^[a-z]{2,3}(-[A-Za-z]{2,4})?$. Default: "en". |
- Give exactly one of
place_id,url,data_idandcid. More than one, or none, is refused withinvalid_input. urlis the address of the place's page on Google Maps: the long address a browser shows on the place's page, or a shortmaps.app.goo.gllink. An address that is a search or a map view endsunsupportedwithnot_a_place.- The record is what the page shows a visitor who is not signed in. Text is in the
languageasked for: categories, the day names ofopening_hours, the groups ofattributes. rating_histogramcounts the reviews by stars, keyed1to5.opening_hourslists the week from Monday, each day with its times as written (10 AM–12 PM,Closed,Open 24 hours); it is empty for a place that lists none, such as a hotel.attributesis the About tab, group by group:hasis what the place offers,has_notwhat it says it does not.popular_timesis empty for most places: the page gives those figures to a visitor who is not signed in for few of them.imagesholds up to ten photo addresses, andphotos_counthow many photos the place has.linksare the place's own links to book, reserve or order.permanently_closedistruefor a place Google Maps marks so; itshoursandopening_hoursare then empty.- An id Google Maps does not know ends
failedwithnot_found— see the reasons of this family.
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
name | string | The place's name. |
place_id | string or null | Google's place id (ChIJ…). |
feature_id | string or null | Google Maps' own id of the place (0x…:0x…), also called its data id. |
cid | string or null | The number Google Maps addresses the place by (https://www.google.com/maps?cid=…). |
url | string | The place's page on Google Maps. |
category | string or null | The main kind of place, as Google words it, e.g. Plumber. |
categories | array of string | Every kind Google Maps files the place under, the main one first. |
address | string or null | The whole address on one line. |
street | string or null | The street address: number, street and unit, without the city. |
neighborhood | string or null | The neighbourhood or district, when Google Maps names one. |
city | string or null | The city or town of the address. |
region | string or null | The state, province or region, when Google Maps gives one. |
postal_code | string or null | The postcode of the address. |
country_code | string or null | The country as two letters, e.g. US. |
plus_code | string or null | The place's plus code with its locality, e.g. W8CV+H2 Chicago, Illinois. |
latitude | number or null | The latitude of the place's pin, in decimal degrees. |
longitude | number or null | The longitude of the place's pin, in decimal degrees. |
timezone | string or null | The place's time zone, e.g. America/Chicago. |
phone | string or null | The phone number as the page shows it, e.g. (773) 219-6071. |
phone_international | string or null | The phone number in international form without spaces, e.g. +17732196071. |
website | string or null | The place's own website. |
rating | number or null | The average rating, 1 to 5; null for a place nobody has rated. |
review_count | integer or null | The number of reviews. |
rating_histogram | object of integer values or null | How many reviews gave each number of stars, keyed 1 to 5; null when the page shows no breakdown. |
price | string or null | The price level as shown, e.g. $$; null when the page shows none. |
summary | string or null | The one-line description Google Maps gives the place, when there is one. |
description | string or null | The longer description Google Maps gives the place, when there is one. |
owner_description | string or null | What the business says about itself ("From the owner"), when it has written something. |
hours | string or null | The opening state as shown at the time, e.g. Closed · Opens 9 AM Thu. |
opening_hours | array of object | The opening times of each day of the week, Monday first; empty when the page lists none. |
day (in opening_hours[]) | string | The day's name in the language of the page, e.g. Monday. |
day_of_week (in opening_hours[]) | integer | The day as a number: 1 is Monday, 7 is Sunday.Limit: 1 to 7. |
hours (in opening_hours[]) | array of string | The opening times as written, one entry per opening, e.g. 10 AM–12 PM and 1–5 PM; Closed or Open 24 hours where the day has no times. |
popular_times | array of object | How busy the place usually is, per day and hour; empty when the page gives no such figures, which is the usual case. |
day_of_week (in popular_times[]) | integer | The day as a number: 1 is Monday, 7 is Sunday.Limit: 1 to 7. |
hours (in popular_times[]) | array of object | The hours Google Maps gives a value for, in order. |
hour (in popular_times[].hours[]) | integer | The hour of the day in the place's own time, 0 to 23.Limit: 0 to 23. |
busyness (in popular_times[].hours[]) | integer | How busy the place usually is in that hour, from 0 to 100 of its own busiest hour.Limit: 0 to 100. |
attributes | array of object | The "About" tab: service options, accessibility, payments and the like, group by group. |
group (in attributes[]) | string | The group's title, e.g. Service options or Accessibility. |
has (in attributes[]) | array of string | What the place has or offers in this group, as worded there, e.g. Onsite services. |
has_not (in attributes[]) | array of string | What the place says it does not have or offer in this group. |
photos_count | integer or null | The number of photos Google Maps has of the place. |
images | array of string | The addresses of up to ten of the place's photos, the main one first. |
links | array of object | The links the place gives for booking an appointment, reserving a table or ordering. |
url (in links[]) | string | The address of the page to book, reserve or order on. |
source (in links[]) | string or null | The site the link is on, as Google Maps names it, e.g. TableCheck or example.com. |
permanently_closed | boolean | True when Google Maps marks the place as permanently closed.Default: false. |
fetched_at | string (date-time) | When the place was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/google.maps_place/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"place_id":"ChIJuTzkbE0bMVcR2KVZICo_dAc"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("google.maps_place", {
"place_id": "ChIJuTzkbE0bMVcR2KVZICo_dAc",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("google.maps_place", {
place_id: "ChIJuTzkbE0bMVcR2KVZICo_dAc",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "google.maps_place", map[string]any{"place_id": "ChIJuTzkbE0bMVcR2KVZICo_dAc"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("google.maps_place", Map.of("place_id", "ChIJuTzkbE0bMVcR2KVZICo_dAc"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run google.maps_place --input place_id=ChIJuTzkbE0bMVcR2KVZICo_dAcInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"place_id": "ChIJuTzkbE0bMVcR2KVZICo_dAc"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "google.maps_place",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"place_id": "ChIJuTzkbE0bMVcR2KVZICo_dAc"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"name": "Nome Pawn",
"place_id": "ChIJuTzkbE0bMVcR2KVZICo_dAc",
"feature_id": "0x57311b4d6ce43cb9:0x7743f2a2059a5d8",
"cid": "537123705727854040",
"url": "https://www.google.com/maps/place/?q=place_id:ChIJuTzkbE0bMVcR2KVZICo_dAc",
"category": "Pawn shop",
"categories": [
"Pawn shop"
],
"address": "306 W 5th Ave #183A, Nome, AK 99762",
"street": "306 W 5th Ave #183A",
"neighborhood": null,
"city": "Nome",
"region": "Alaska",
"postal_code": "99762",
"country_code": "US",
"plus_code": "GH2V+VH Nome, Alaska",
"latitude": 64.5021818,
"longitude": -165.4060446,
"timezone": "America/Anchorage",
"phone": "(907) 290-3930",
"phone_international": "+19072903930",
"website": "https://nomepawn.com/",
"rating": 5,
"review_count": 2,
"rating_histogram": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 2
},
"price": null,
"summary": null,
"description": null,
"owner_description": null,
"hours": "Opens soon · 10 AM",
"opening_hours": [
{
"day": "Monday",
"day_of_week": 1,
"hours": [
"10 AM–12 PM",
"1–5 PM"
]
},
{
"day": "Tuesday",
"day_of_week": 2,
"hours": [
"10 AM–12 PM",
"1–5 PM"
]
}
],
"popular_times": [],
"attributes": [
{
"group": "Accessibility",
"has": [
"Wheelchair accessible entrance",
"Wheelchair accessible parking lot"
],
"has_not": []
}
],
"photos_count": 2,
"images": [
"https://lh3.googleusercontent.com/grass-cs/AABkmLeXgSI8JVKrzRy7Nb4nFVZ5Oa2qDmg9UJYFqUsDajlJfw-W_8FDBVHLZ7et7tqU5SJh1pvNvssNGpWTDdhfvYXx1SBAq59xbjEXjZfeWYLGed1_bqGb-bstNh0rcOI2iB1JKtWJPA=w114-h86-k-no",
"https://lh3.googleusercontent.com/grass-cs/AABkmLeKIGkZaL2OorIRKVsO0u0TFyZDCFtMjXxz2S2x5G8nke3h8C5dUC0asy6y2GIEHEedpE_YxIIP831seTGdfFcNqR6zElkK1of3effAOyahXdC9ar14eRbN3kZ1zuHQMiVnwxQ=w360-h270-k-no"
],
"links": [],
"permanently_closed": false,
"fetched_at": "2026-11-19T18:07:40.513758Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
opening_hours: 7 items, the first 2 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Google Maps scrapers are in their own section there.