# Google Maps Chain Location Grouper — example

**Use case:** 

Run a small curated real upstream snapshot and inspect the resulting location assessment records. Source capture dates remain in the input; this example does not fetch a new upstream scrape.

## Input

```json
{
  "items": [
    {
      "title": "Natural History Museum",
      "subTitle": null,
      "description": "Landmark museum of animals and natural phenomena, with hands-on exhibits and animatronic dinosaurs.",
      "ownerDescription": null,
      "price": null,
      "categoryName": "Natural history museum",
      "address": "Cromwell Rd, South Kensington, London SW7 5BD, United Kingdom",
      "neighborhood": "South Kensington",
      "street": "Cromwell Rd",
      "city": "London",
      "postalCode": "SW7 5BD",
      "state": null,
      "countryCode": "GB",
      "website": "https://www.nhm.ac.uk/",
      "phone": "+44 20 7942 5000",
      "phoneUnformatted": "+442079425000",
      "location": {
        "lat": 51.496715,
        "lng": -0.1763672
      },
      "totalScore": 4.6,
      "reviewsCount": 39058,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "placeId": "ChIJPy8Y5kIFdkgRxGSXw4Xjt3s",
      "cid": "8914844151054820548",
      "url": "https://www.google.com/maps/search/?api=1&query=Natural%20History%20Museum&query_place_id=ChIJPy8Y5kIFdkgRxGSXw4Xjt3s",
      "scrapedAt": "2026-09-22T23:07:38.397Z",
      "additionalInfo": {
        "Accessibility": [
          {
            "Wheelchair accessible entrance": true
          },
          {
            "Wheelchair accessible parking lot": true
          },
          {
            "Wheelchair accessible restroom": true
          },
          {
            "Wheelchair accessible seating": true
          }
        ]
      },
      "_exampleProvenance": {
        "sourceActorId": "nwua9Gu5YrADL7ZDj",
        "sourceRunId": "5VeVFvxu0MQhPBrWY",
        "sourceDatasetId": "WJkSy7pXIRxQlwPvn",
        "curatedPublicSnapshot": true,
        "redaction": "Allowlisted public business/product fields only; review excerpts and social captions truncated; no reviewer identities."
      }
    },
    {
      "title": "Museum of Illusions",
      "subTitle": null,
      "description": null,
      "ownerDescription": "Come challenge your senses at Museum of Illusions London, an interactive museum and immersive experience located on Tottenham Court Road in the heart of London. Explore a must see attraction that blends museum with illusion rooms, installations and holograms that make it one of the top attractions for anyone looking for fun things to do in London. Perfect for kids activities, family fun, birthday parties, field trips, date night, group activities, teambuilding and corporate events, it is a family friendly museum where educational fun meets unforgettable entertainment. Defy gravity, grow and shrink your body, walk into a life-size kaleidoscope and play tricks on your senses at every turn.",
      "price": null,
      "categoryName": "Museum",
      "address": "6, 17 Tottenham Ct Rd, London W1T 1BJ, United Kingdom",
      "neighborhood": null,
      "street": "6, 17 Tottenham Ct Rd",
      "city": "London",
      "postalCode": "W1T 1BJ",
      "state": null,
      "countryCode": "GB",
      "website": "https://moilondon.uk/?utm_source=google&utm_medium=local&utm_campaign=uberall",
      "phone": "",
      "phoneUnformatted": "",
      "location": {
        "lat": 51.5174418,
        "lng": -0.1316447
      },
      "totalScore": 4.8,
      "reviewsCount": 1015,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "placeId": "ChIJsS5McdcbdkgR9rc9sUf1ZS4",
      "cid": "3343347986657556470",
      "url": "https://www.google.com/maps/search/?api=1&query=Museum%20of%20Illusions&query_place_id=ChIJsS5McdcbdkgR9rc9sUf1ZS4",
      "scrapedAt": "2026-09-22T23:07:41.959Z",
      "additionalInfo": {
        "Service options": [
          {
            "Onsite services": true
          }
        ],
        "Accessibility": [
          {
            "Assisted listening devices": true
          },
          {
            "Wheelchair accessible entrance": true
          },
          {
            "Wheelchair accessible restroom": true
          }
        ],
        "Amenities": [
          {
            "Offers tours": true
          },
          {
            "Restroom": true
          },
          {
            "Wi-Fi": true
          },
          {
            "Free Wi-Fi": true
          }
        ],
        "Crowd": [
          {
            "Family-friendly": true
          }
        ],
        "Planning": [
          {
            "Getting tickets in advance recommended": true
          }
        ],
        "Payments": [
          {
            "Admission fee": true
          }
        ],
        "Children": [
          {
            "Discounts for kids": true
          },
          {
            "Family discount": true
          },
          {
            "Good for kids": true
          },
          {
            "Kid-friendly activities": true
          }
        ]
      },
      "_exampleProvenance": {
        "sourceActorId": "nwua9Gu5YrADL7ZDj",
        "sourceRunId": "5VeVFvxu0MQhPBrWY",
        "sourceDatasetId": "WJkSy7pXIRxQlwPvn",
        "curatedPublicSnapshot": true,
        "redaction": "Allowlisted public business/product fields only; review excerpts and social captions truncated; no reviewer identities."
      }
    },
    {
      "title": "Science Museum",
      "subTitle": null,
      "description": "A vast treasury of science & invention, famous for its state-of-the-art interactive exhibits.",
      "ownerDescription": "Free to visit, the Science Museum is a must-see as part of any trip to London, with award-winning exhibitions, iconic objects and stories of incredible scientific achievement",
      "price": null,
      "categoryName": "Museum",
      "address": "Exhibition Rd, South Kensington, London SW7 2DD, United Kingdom",
      "neighborhood": "South Kensington",
      "street": "Exhibition Rd",
      "city": "London",
      "postalCode": "SW7 2DD",
      "state": null,
      "countryCode": "GB",
      "website": "https://www.sciencemuseum.org.uk/",
      "phone": "+44 330 058 0058",
      "phoneUnformatted": "+443300580058",
      "location": {
        "lat": 51.4972216,
        "lng": -0.1767283
      },
      "totalScore": 4.6,
      "reviewsCount": 77054,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "placeId": "ChIJP9oAE0MFdkgR3iKGFKZO1SE",
      "cid": "2437941248506864350",
      "url": "https://www.google.com/maps/search/?api=1&query=Science%20Museum&query_place_id=ChIJP9oAE0MFdkgR3iKGFKZO1SE",
      "scrapedAt": "2026-09-22T23:07:42.214Z",
      "additionalInfo": {
        "Service options": [
          {
            "Onsite services": true
          }
        ],
        "Highlights": [
          {
            "Live performances": true
          }
        ],
        "Accessibility": [
          {
            "Wheelchair accessible entrance": true
          },
          {
            "Wheelchair accessible parking lot": true
          },
          {
            "Wheelchair accessible restroom": true
          },
          {
            "Wheelchair accessible seating": true
          }
        ],
        "Offerings": [
          {
            "Gift shop": true
          },
          {
            "Theater": true
          }
        ],
        "Amenities": [
          {
            "Restaurant": true
          },
          {
            "Restroom": true
          },
          {
            "Wi-Fi": true
          },
          {
            "Free Wi-Fi": true
          }
        ],
        "Crowd": [
          {
            "Family-friendly": true
          }
        ],
        "Planning": [
          {
            "Getting tickets in advance recommended": true
          }
        ],
        "Children": [
          {
            "Good for kids": true
          },
          {
            "Has changing table(s)": true
          }
        ],
        "Parking": [
          {
            "Free parking lot": true
          },
          {
            "Paid parking lot": true
          },
          {
            "Paid street parking": true
          }
        ]
      },
      "_exampleProvenance": {
        "sourceActorId": "nwua9Gu5YrADL7ZDj",
        "sourceRunId": "5VeVFvxu0MQhPBrWY",
        "sourceDatasetId": "WJkSy7pXIRxQlwPvn",
        "curatedPublicSnapshot": true,
        "redaction": "Allowlisted public business/product fields only; review excerpts and social captions truncated; no reviewer identities."
      }
    }
  ],
  "maxInputRows": 100,
  "maxResults": 10,
  "brandCompatibilityMode": "prefix",
  "additionalExcludedHostnames": []
}
```

## Output

```json
{
  "entityId": {
    "label": "entityId",
    "format": "text"
  },
  "found": {
    "label": "found",
    "format": "boolean"
  },
  "status": {
    "label": "status",
    "format": "text"
  },
  "action": {
    "label": "action",
    "format": "text"
  },
  "confidence": {
    "label": "confidence",
    "format": "text"
  },
  "partial": {
    "label": "partial",
    "format": "boolean"
  },
  "evidence": {
    "label": "evidence",
    "format": "array"
  },
  "sourceDatasetId": {
    "label": "sourceDatasetId",
    "format": "text"
  },
  "sourceRunId": {
    "label": "sourceRunId",
    "format": "text"
  },
  "sourceRowIndexes": {
    "label": "sourceRowIndexes",
    "format": "array"
  },
  "sourceCoverage": {
    "label": "sourceCoverage",
    "format": "text"
  },
  "observedAt": {
    "label": "observedAt",
    "format": "date"
  },
  "processedAt": {
    "label": "processedAt",
    "format": "date"
  },
  "reason": {
    "label": "reason",
    "format": "text"
  },
  "error": {
    "label": "error",
    "format": "text"
  },
  "relationship": {
    "label": "relationship",
    "format": "text"
  },
  "groupKey": {
    "label": "groupKey",
    "format": "text"
  },
  "groupSize": {
    "label": "groupSize",
    "format": "text"
  },
  "groupMembers": {
    "label": "groupMembers",
    "format": "text"
  },
  "hostname": {
    "label": "hostname",
    "format": "text"
  },
  "duplicateSourceRowCount": {
    "label": "duplicateSourceRowCount",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Chain Location Grouper](https://apify.com/zinin/google-maps-chain-location-grouper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zinin/google-maps-chain-location-grouper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zinin/google-maps-chain-location-grouper.md

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`).
