Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of google.maps_place
    FieldTypeDescription
    place_idstringThe place's id on Google Maps, e.g. ChIJkaUn1JPTD4gR7ZWpE9cCuow.
    urlstringThe 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_idstringThe place's data id on Google Maps, e.g. 0x880fd393d427a591:0x8cba02d713a995ed.
    cidstringThe place's cid number on Google Maps, e.g. 10140420633749198317.
    languagestringLanguage 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_id and cid. More than one, or none, is refused with invalid_input.
    • url is the address of the place's page on Google Maps: the long address a browser shows on the place's page, or a short maps.app.goo.gl link. An address that is a search or a map view ends unsupported with not_a_place.
    • The record is what the page shows a visitor who is not signed in. Text is in the language asked for: categories, the day names of opening_hours, the groups of attributes.
    • rating_histogram counts the reviews by stars, keyed 1 to 5. opening_hours lists 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.
    • attributes is the About tab, group by group: has is what the place offers, has_not what it says it does not.
    • popular_times is empty for most places: the page gives those figures to a visitor who is not signed in for few of them.
    • images holds up to ten photo addresses, and photos_count how many photos the place has. links are the place's own links to book, reserve or order.
    • permanently_closed is true for a place Google Maps marks so; its hours and opening_hours are then empty.
    • An id Google Maps does not know ends failed with not_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.

    Record fields of google.maps_place
    FieldTypeNotes
    namestringThe place's name.
    place_idstring or nullGoogle's place id (ChIJ…).
    feature_idstring or nullGoogle Maps' own id of the place (0x…:0x…), also called its data id.
    cidstring or nullThe number Google Maps addresses the place by (https://www.google.com/maps?cid=…).
    urlstringThe place's page on Google Maps.
    categorystring or nullThe main kind of place, as Google words it, e.g. Plumber.
    categoriesarray of stringEvery kind Google Maps files the place under, the main one first.
    addressstring or nullThe whole address on one line.
    streetstring or nullThe street address: number, street and unit, without the city.
    neighborhoodstring or nullThe neighbourhood or district, when Google Maps names one.
    citystring or nullThe city or town of the address.
    regionstring or nullThe state, province or region, when Google Maps gives one.
    postal_codestring or nullThe postcode of the address.
    country_codestring or nullThe country as two letters, e.g. US.
    plus_codestring or nullThe place's plus code with its locality, e.g. W8CV+H2 Chicago, Illinois.
    latitudenumber or nullThe latitude of the place's pin, in decimal degrees.
    longitudenumber or nullThe longitude of the place's pin, in decimal degrees.
    timezonestring or nullThe place's time zone, e.g. America/Chicago.
    phonestring or nullThe phone number as the page shows it, e.g. (773) 219-6071.
    phone_internationalstring or nullThe phone number in international form without spaces, e.g. +17732196071.
    websitestring or nullThe place's own website.
    ratingnumber or nullThe average rating, 1 to 5; null for a place nobody has rated.
    review_countinteger or nullThe number of reviews.
    rating_histogramobject of integer values or nullHow many reviews gave each number of stars, keyed 1 to 5; null when the page shows no breakdown.
    pricestring or nullThe price level as shown, e.g. $$; null when the page shows none.
    summarystring or nullThe one-line description Google Maps gives the place, when there is one.
    descriptionstring or nullThe longer description Google Maps gives the place, when there is one.
    owner_descriptionstring or nullWhat the business says about itself ("From the owner"), when it has written something.
    hoursstring or nullThe opening state as shown at the time, e.g. Closed · Opens 9 AM Thu.
    opening_hoursarray of objectThe opening times of each day of the week, Monday first; empty when the page lists none.
    day (in opening_hours[])stringThe day's name in the language of the page, e.g. Monday.
    day_of_week (in opening_hours[])integerThe day as a number: 1 is Monday, 7 is Sunday.Limit: 1 to 7.
    hours (in opening_hours[])array of stringThe 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_timesarray of objectHow 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[])integerThe day as a number: 1 is Monday, 7 is Sunday.Limit: 1 to 7.
    hours (in popular_times[])array of objectThe hours Google Maps gives a value for, in order.
    hour (in popular_times[].hours[])integerThe hour of the day in the place's own time, 0 to 23.Limit: 0 to 23.
    busyness (in popular_times[].hours[])integerHow busy the place usually is in that hour, from 0 to 100 of its own busiest hour.Limit: 0 to 100.
    attributesarray of objectThe "About" tab: service options, accessibility, payments and the like, group by group.
    group (in attributes[])stringThe group's title, e.g. Service options or Accessibility.
    has (in attributes[])array of stringWhat the place has or offers in this group, as worded there, e.g. Onsite services.
    has_not (in attributes[])array of stringWhat the place says it does not have or offer in this group.
    photos_countinteger or nullThe number of photos Google Maps has of the place.
    imagesarray of stringThe addresses of up to ten of the place's photos, the main one first.
    linksarray of objectThe links the place gives for booking an appointment, reserving a table or ordering.
    url (in links[])stringThe address of the page to book, reserve or order on.
    source (in links[])string or nullThe site the link is on, as Google Maps names it, e.g. TableCheck or example.com.
    permanently_closedbooleanTrue when Google Maps marks the place as permanently closed.Default: false.
    fetched_atstring (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_dAc

    Install 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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.