# 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.

Google Maps place, one of the Google Maps scrapers.

| | |
| --- | --- |
| 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](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `place_id` | string | no | The place's id on Google Maps, e.g. `ChIJkaUn1JPTD4gR7ZWpE9cCuow`. |
| `url` | string | no | 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 | no | The place's data id on Google Maps, e.g. `0x880fd393d427a591:0x8cba02d713a995ed`. |
| `cid` | string | no | The place's `cid` number on Google Maps, e.g. `10140420633749198317`. |
| `language` | string | no | 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_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](https://docs.enrichednow.com/results-and-statuses.md#google-maps).

## 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. |
| `opening_hours[].day` | string | The day's name in the language of the page, e.g. `Monday`. |
| `opening_hours[].day_of_week` | integer | The day as a number: 1 is Monday, 7 is Sunday. Limit: 1 to 7. |
| `opening_hours[].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. |
| `popular_times[].day_of_week` | integer | The day as a number: 1 is Monday, 7 is Sunday. Limit: 1 to 7. |
| `popular_times[].hours` | array of object | The hours Google Maps gives a value for, in order. |
| `popular_times[].hours[].hour` | integer | The hour of the day in the place's own time, 0 to 23. Limit: 0 to 23. |
| `popular_times[].hours[].busyness` | 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. |
| `attributes[].group` | string | The group's title, e.g. `Service options` or `Accessibility`. |
| `attributes[].has` | array of string | What the place has or offers in this group, as worded there, e.g. `Onsite services`. |
| `attributes[].has_not` | 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. |
| `links[].url` | string | The address of the page to book, reserve or order on. |
| `links[].source` | 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

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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"}}'
```

## 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](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Google Maps scrapers](https://docs.enrichednow.com/results-and-statuses.md#google-maps) are in their own section there.
