# Google Maps Rank Tracker: Local Grid Rankings (`rowfinch/google-maps-rank-tracker`) Actor

Where a business ranks on Google Maps at every point of a grid around it, per keyword, with its average rank and top-3 share. $2.70 per 1,000 grid points on Starter.

- **URL**: https://apify.com/rowfinch/google-maps-rank-tracker.md
- **Developed by:** [Rowfinch](https://apify.com/rowfinch) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 grid points

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Google Maps Rank Tracker

See where a business ranks on Google Maps from every point of a grid around it, for each keyword you
care about. One row per grid point, plus a summary per keyword, ready for a heatmap of local rankings.

### What it's for

- **Local SEO reports**: show a client which parts of their city they rank in, and where they don't.
- **Competitor checks**: run the same grid for a rival's place ID and compare the summaries.
- **Monitoring**: the same grid each month, to see whether local rankings move.

### Input

| Field | What it does |
|---|---|
| `businessName` | The business as it appears on Google Maps. Not needed with a place ID |
| `placeId` | Google's place ID, starting with `ChIJ`. The business is matched by this exactly |
| `keywords` | Up to 10 keywords, like `dentist` or `emergency dentist`. Duplicates are dropped |
| `location` | The centre of the grid: `Austin, TX, USA`. Needed unless the centre is given |
| `centerLat`, `centerLng` | The centre as coordinates. Both are needed; they win over `location` |
| `gridSize` | Points per side, an odd number from 3 to 15 (default 5 for 25 points) |
| `radius` | Distance from the centre to the outermost points (default 2) |
| `distanceUnit` | `miles` or `km` (default `miles`). `radiusMiles` is accepted as an alias of `radius` in miles |
| `zoom` | How close each point's view looks, from 11 to 18 (default 15, a few blocks around the point) |
| `maxRank` | How far down Google's list each point is checked, from 1 to 60 (default 20) |
| `language` | Google's language for names (default `en`) |
| `countryCode` | Two letters for Google's country results (default `us`) |

The business is matched by place ID when one is given. Otherwise its name must equal a listed name,
or one name must contain the other with at least four letters in the shorter one, ignoring accents,
case and punctuation.

### Output

One row per keyword per grid point, in grid order from the north-west corner:

```json
{
  "keyword": "dentist",
  "row": 1,
  "col": 1,
  "lat": 30.3075694,
  "lng": -97.74864755,
  "rank": 1,
  "matchedName": "Austin Dental Works",
  "matchedPlaceId": "ChIJZUcojGPKRIYRzcMs0RVjV3Y",
  "resultsChecked": 20,
  "top3": [
    { "position": 1, "name": "Austin Dental Works", "placeId": "ChIJZUcojGPKRIYRzcMs0RVjV3Y", "rating": 4.9, "reviews": 640 }
  ],
  "businessName": "Austin Dental Works",
  "location": "Austin, TX, USA",
  "scannedAt": "2026-11-19T09:10:31.721Z"
}
```

After each keyword's points, one summary row:

```json
{
  "type": "summary",
  "keyword": "dentist",
  "gridSize": 3,
  "points": 9,
  "foundPoints": 4,
  "averageRank": 9.5,
  "averageRankAll": 15.89,
  "shareOfLocalVoice": 22.2,
  "top3Points": 2,
  "bestRank": 1,
  "worstRank": 19
}
```

`rank` is null where the business is not within the highest rank checked. `averageRankAll` counts
each such point as one past `maxRank`, so a missing point pulls the average down. `shareOfLocalVoice`
is the percent of points where the business ranks 1 to 3.

If the business is not found at any point, the run says so: check `businessName`, or pass the
`placeId`. A keyword Google lists no places for gets an error row saying why, and costs nothing.

### Price

Per 1,000 grid points, by your Apify plan:

| | Free | Starter | Scale | Business |
|---|---|---|---|---|
| Grid points | $3.00 | $2.70 | $2.50 | $2.00 |

Each grid point is charged once per keyword. Summary rows and error rows are free, and so are points
the run did not reach.

| Run, on Starter | Cost |
|---|---|
| 5 by 5 grid, one keyword: 25 × $0.0027 | $0.07 |
| 7 by 7 grid, three keywords: 147 × $0.0027 | $0.40 |
| A month of reports for 20 clients, 9 by 9 grid, three keywords each: 4,860 × $0.0027 | $13.12 |

A run stops at the maximum cost you set for it. On Apify's free plan a run makes a limited number of
requests, then stops and says so in its status.

### FAQ

**Why is a grid point's rank empty?**
Google's list for that point did not show the business within the highest rank you checked. Raise
`maxRank` to look further down the list.

**How far apart are the points?**
The outermost points sit at `radius` from the centre, along north-south and east-west. A 5 by 5 grid
with a radius of 2 miles has points every mile.

**Is every point read at the same zoom?**
Yes. The zoom is measured at the centre's latitude, so every point is read from the same ground size
and the ranks are comparable across the grid.

# Actor input Schema

## `businessName` (type: `string`):

The business as it appears on Google Maps. Not needed with a place ID.

## `placeId` (type: `string`):

Google's place ID, starting with ChIJ. Matches the business exactly.

## `keywords` (type: `array`):

What your customers search for, up to 10: dentist, emergency dentist.

## `location` (type: `string`):

The centre of the grid: a city, neighbourhood or address.

## `centerLat` (type: `number`):

Use with the centre longitude instead of a location.

## `centerLng` (type: `number`):

Use with the centre latitude instead of a location.

## `gridSize` (type: `integer`):

Points per side, an odd number: 5 gives 25 points.

## `radius` (type: `number`):

Distance from the centre to the outermost points, in the distance unit.

## `distanceUnit` (type: `string`):

The unit of the radius.

## `zoom` (type: `integer`):

How close each point's Google Maps view looks. 15 shows the few blocks around the point, so nearby points can rank differently; lower values look at a wider area.

## `maxRank` (type: `integer`):

How far down Google's list each point is checked. Lower it to read fewer places.

## `language` (type: `string`):

Google's language code for names: en, es, pt-BR, de.

## `countryCode` (type: `string`):

Two letters, like us or br, for Google's country results.

## Actor input object example

```json
{
  "businessName": "Austin Dental Works",
  "keywords": [
    "dentist"
  ],
  "location": "Austin, TX, USA",
  "gridSize": 5,
  "radius": 2,
  "distanceUnit": "miles",
  "zoom": 15,
  "maxRank": 20,
  "language": "en",
  "countryCode": "us"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "businessName": "Austin Dental Works",
    "keywords": [
        "dentist"
    ],
    "location": "Austin, TX, USA",
    "gridSize": 5,
    "radius": 2,
    "distanceUnit": "miles",
    "zoom": 15,
    "maxRank": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfinch/google-maps-rank-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "businessName": "Austin Dental Works",
    "keywords": ["dentist"],
    "location": "Austin, TX, USA",
    "gridSize": 5,
    "radius": 2,
    "distanceUnit": "miles",
    "zoom": 15,
    "maxRank": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rowfinch/google-maps-rank-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "businessName": "Austin Dental Works",
  "keywords": [
    "dentist"
  ],
  "location": "Austin, TX, USA",
  "gridSize": 5,
  "radius": 2,
  "distanceUnit": "miles",
  "zoom": 15,
  "maxRank": 20
}' |
apify call rowfinch/google-maps-rank-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowfinch/google-maps-rank-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HaO5CVNKsY6OaOpb9/builds/L8kYhi9G10SCjgyoI/openapi.json
