# Google Maps Rank Grid: Starbucks Roastery, Coffee Shop

**Use case:** 

Where the Starbucks Reserve Roastery in Chicago ranks on Google Maps for coffee shop at 9 points of a 3x3 grid, 0.5 km apart, with the top 3 competitors at each point. A free summary row adds the average rank, share of local voice and a text heatmap. Replace the business and keyword with your own, and use a 5x5 to 9x9 grid for full local SEO reports.

## Input

```json
{
  "businessName": "Starbucks Reserve Roastery Chicago",
  "keywords": [
    "coffee shop"
  ],
  "gridSize": 3,
  "spacing": 0.5,
  "distanceUnit": "km",
  "zoom": 14,
  "language": "en",
  "country": "us",
  "includeAllBusinesses": false,
  "compareWithPreviousRun": true,
  "monitoringStoreName": "maps-rank-grid-history",
  "maxConcurrency": 8,
  "maxRetries": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "rowType": {
    "label": "Row type"
  },
  "keyword": {
    "label": "Keyword"
  },
  "status": {
    "label": "Status"
  },
  "row": {
    "label": "Row",
    "format": "number"
  },
  "col": {
    "label": "Column",
    "format": "number"
  },
  "rank": {
    "label": "Rank",
    "format": "number"
  },
  "previousRank": {
    "label": "Previous rank",
    "format": "number"
  },
  "rankChange": {
    "label": "Rank change (+ = up)",
    "format": "number"
  },
  "changeStatus": {
    "label": "Change"
  },
  "inTop3": {
    "label": "In top 3",
    "format": "boolean"
  },
  "isQuickWin": {
    "label": "Quick win (rank 4-6)",
    "format": "boolean"
  },
  "rankExplanation": {
    "label": "Why this rank"
  },
  "lat": {
    "label": "Latitude",
    "format": "number"
  },
  "lng": {
    "label": "Longitude",
    "format": "number"
  },
  "distanceFromCenterKm": {
    "label": "Distance from centre (km)",
    "format": "number"
  },
  "top1Name": {
    "label": "Top 1"
  },
  "top2Name": {
    "label": "Top 2"
  },
  "top3Name": {
    "label": "Top 3"
  },
  "resultsCount": {
    "label": "Results",
    "format": "number"
  },
  "dataQuality": {
    "label": "Data quality"
  },
  "sourceUrl": {
    "label": "Google Maps",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Maps Rank Tracker: Rank Grid API for Local SEO Actor is ready to run with the inputs already set for "Google Maps Rank Grid: Starbucks Roastery, Coffee Shop". [Sign up or log in](https://console.apify.com/create-task-from-example/52JvrE4OCdcU8ri2n) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Maps Rank Grid: Starbucks Roastery, Coffee Shop" task

The Google Maps Rank Tracker: Rank Grid API for Local SEO Actor will start running based on the input automatically. You can also change all the input fields, like business name, keywords, and more, to match your specific use case.

### 3. Receive the "Google Maps Rank Grid: Starbucks Roastery, Coffee Shop" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, row type, keyword, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Google Maps Rank Grid: Starbucks Roastery, Coffee Shop" task via API](https://apify.com/ocius-data/google-maps-rank-grid.md).

## FAQ

### How does it tell branches of a chain apart?

It looks the business up first and matches it by place ID at every point, so two branches with similar names are never confused. A Maps URL is best for one branch.

### What does this example cost?

You pay per grid point with Google results: 9 points here. Failed points and the summary row are free. See the Pricing tab.

## About this Actor

This example demonstrates how to use [Google Maps Rank Tracker: Rank Grid API for Local SEO](https://apify.com/ocius-data/google-maps-rank-grid.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ocius-data/google-maps-rank-grid.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/ocius-data/google-maps-rank-grid.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`).
