# Google Maps Geo-Grid Rank Tracker & Local SEO Heatmap (`scravion/google-maps-geogrid-rank-tracker`) Actor

Track Google Maps local pack rankings across a 3×3, 5×5, or 7×7 geo-grid. Get interactive HTML heatmaps, Share of Local Voice (SoLV), ARP, ATRP, Place ID matching, and top competitor leaderboards — pay-per-grid-point Local Falcon alternative.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Geo-Grid Rank Tracker & Local SEO Heatmap

**Google Maps Geo-Grid Rank Tracker & Local SEO Heatmap** measures where any local business ranks across a **3×3, 5×5, or 7×7 geographic coordinate grid** on Google Maps — and automatically generates an **interactive visual HTML rank heatmap**, **Share of Local Voice (SoLV %)**, **Average Rank Position (ARP)**, **Average Total Rank Position (ATRP)**, and a **Competitor Dominance Leaderboard**.

Built as a fast, transparent, pay-per-grid-point API alternative to **Local Falcon**, **BrightLocal**, and **LocalViking** — with **no monthly subscription**, **no Google Maps API key**, and **native MCP / AI Agent, n8n, Make, and REST API support**.

***

### What Is a Google Maps Geo-Grid Rank Tracker?

A Google Maps geo-grid rank tracker checks local search rankings from multiple GPS coordinates arranged in a uniform grid around a business or city center. Because Google Maps local pack rankings change dramatically block-by-block based on searcher proximity, checking a single city-wide rank hides blind spots. A geo-grid reveals exactly which neighborhoods see a business in the **Top 3 Local Pack** and which competitors dominate surrounding areas.

***

### Key Features & Local SEO Metrics

| Capability | What You Get |
| --- | --- |
| **Multi-Size Geo-Grids** | **3×3 (9 pins)**, **5×5 (25 pins)**, or **7×7 (49 pins)** north-up grids with custom km spacing and auto-calibrated hyper-local map zoom |
| **Organic Rank vs. Ads Separation** | Automatically flags Sponsored/Ad listings and computes true **organic rank (`1–20+`)** separate from raw list position |
| **Exact Branch Matching** | Match by **Google Place ID (`ChIJ...`)**, **CID (`0x...:0x...`)**, Google Maps URL, or smart/exact business name |
| **Share of Local Voice (SoLV %)** | Exact percentage of grid points where the target business ranks in the **Top 3 Google Maps Local Pack** |
| **ARP & ATRP** | **ARP** (Average Rank Position where found) and **ATRP** (Average Total Rank Position counting unranked pins as `maxResults + 1`) |
| **Competitor Dominance Leaderboard** | Automatically ranks every competitor appearing on the grid by **SoLV %**, **grid coverage %**, **avg organic rank**, **rating**, and **review count** |
| **Interactive Visual HTML Heatmap** | Self-contained `HEATMAP.html` saved in Key-Value Store — color-coded pins, clickable pin inspector, KPI cards, rank-change ▲/▼ arrows, and printable client report |
| **Monitor Mode (Weekly Rank Deltas)** | Set `monitorMode: true` to persist previous runs and automatically track per-pin `rankDelta`, `solvDelta`, and `arpDelta` over time |
| **Multi-Keyword & Auto-Geocoding** | Scan up to **10 local keywords** in one run; enter a city/address (`locationQuery`) or decimal lat/lng |
| **Zero-Charge Failed Scans** | Pay-per-event billing triggers **only on successfully scanned grid points** — errors and rate-limited pins are stored in `geogrid-errors` at `$0` |

***

### Who Uses This Actor?

- **Local SEO Agencies & Consultants** — Generate white-label visual rank heatmaps (`HEATMAP.html`) for client proposals, monthly GBP (Google Business Profile) audits, and prospect outreach.
- **Multi-Location Brands & Franchises** — Automate weekly geo-grid rank tracking across dozens of locations via Apify Schedules, n8n, Make, or webhooks.
- **AI Agents & MCP Workflows** — Connect via the **Apify MCP Server** so Claude, ChatGPT, or custom agents can run live local SEO visibility audits on demand.
- **Lead Generation Teams** — Run in **Competitor Discovery Mode** (leave `targetBusiness` empty) to identify businesses ranking #4–#15 that need Local SEO services.

***

### Comparison: Apify Geo-Grid Rank Tracker vs. Traditional Local SEO SaaS

| Feature | Scravion Geo-Grid Rank Tracker (Apify) | Local Falcon / BrightLocal | Generic Google Maps Scrapers |
| --- | --- | --- | --- |
| **Pricing Model** | Pay-per-grid-point (~$0.036 per 3×3, ~$0.10 per 5×5) | $25–$200+/month subscription | Scrapes places, no grid rank math |
| **Visual HTML Heatmap** | Included (`HEATMAP.html`) | Included | Not included |
| **SoLV %, ARP, ATRP** | Included in `GRID_SUMMARY` JSON | Included | Not included |
| **Competitor Leaderboard** | Included (Top 20 w/ Place IDs & ratings) | Paid add-on / higher tier | Manual post-processing |
| **REST API / n8n / MCP Ready** | Native Apify API + MCP Server | Limited / enterprise tiers | API only, no SEO KPIs |
| **No-Charge on Failed Points** | Yes (charged only on `ok`/`partial` pins) | Credits consumed per attempt | Varies |

***

### Quick Start (1-Click Demo)

1. Click **Try for free** and press **Start** — the prefilled input scans a 3×3 grid in Lower Manhattan for `"coffee shop"` targeting `"La Cabra"`.
2. Open **Output → Interactive Visual Rank Heatmap (HTML)** (`HEATMAP.html`) to view the color-coded grid and click any pin.
3. Open **Output → Geo-Grid Point Rankings (Dataset)** to export **JSON, CSV, or Excel**, or inspect `GRID_SUMMARY` for SoLV %, ARP, ATRP, and the Competitor Leaderboard.

#### 1-Click Industry Templates (Pre-Configured Public Tasks)

Run an instant industry-specific Local SEO geo-grid audit with pre-configured inputs and live sample output tables:

- [**Restaurant & Cafe Google Maps Local Pack Audit**](https://apify.com/scravion/google-maps-geogrid-rank-tracker/examples/restaurant-google-maps-local-pack-audit) — 3×3 coffee shop & restaurant Local Pack scan with interactive HTML heatmap.
- [**Dentist Local SEO Geo-Grid Rank Heatmap**](https://apify.com/scravion/google-maps-geogrid-rank-tracker/examples/dentist-local-seo-geogrid-heatmap) — Dental clinic emergency keyword geo-grid with SoLV %, ARP, and ATRP.
- [**Law Firm Local SEO Geo-Grid & SoLV Tracker**](https://apify.com/scravion/google-maps-geogrid-rank-tracker/examples/law-firm-local-seo-solv-tracker) — Personal injury & legal practice Local Pack dominance tracker.
- [**Real Estate Agency Google Maps Geo-Grid Rank Tracker**](https://apify.com/scravion/google-maps-geogrid-rank-tracker/examples/real-estate-google-maps-rank-tracker) — Brokerage & property management neighborhood visibility grid.
- [**HVAC, Plumber & Home Services Google Maps Rank Grid**](https://apify.com/scravion/google-maps-geogrid-rank-tracker/examples/home-services-hvac-plumber-local-seo-grid) — Service-area contractor Local 3-Pack rank & competitor leaderboard.

***

### Input Configuration

```json
{
  "searchQuery": "emergency dentist",
  "keywords": ["dentist near me"],
  "targetBusiness": "Manhattan Dental Spa",
  "targetPlaceId": "ChIJ...",
  "centerLatitude": 40.7128,
  "centerLongitude": -74.006,
  "gridSize": 5,
  "stepDistanceKm": 1.5,
  "maxResultsPerPoint": 20,
  "matchMode": "smart",
  "mapZoom": "auto",
  "language": "en",
  "includeHeatmap": true,
  "maxConcurrency": 2
}
```

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `searchQuery` | string | `"coffee shop"` | Primary local keyword to search on Google Maps. |
| `keywords` | string\[] | `[]` | Optional additional keywords (up to 10 total) scanned on the same grid. |
| `targetBusiness` | string | `"La Cabra"` | Business name, Place ID (`ChIJ...`), or Google Maps URL. Leave blank for Competitor Discovery Mode. |
| `targetPlaceId` | string | `null` | Exact Google Place ID for multi-branch accuracy. |
| `locationQuery` | string | `""` | City or street address auto-geocoded when lat/lng are omitted. |
| `centerLatitude` / `centerLongitude` | number | `40.7128`, `-74.006` | Grid center in decimal degrees. |
| `gridSize` | integer | `3` | `3` (9 pins), `5` (25 pins), or `7` (49 pins). |
| `stepDistanceKm` | number | `1.5` | Distance in km between adjacent grid pins. |
| `maxResultsPerPoint` | integer | `20` | Listings inspected per coordinate (1–50). |
| `matchMode` | string | `"smart"` | `smart` (Place ID + exact + clean partial match) or `exact`. |
| `mapZoom` | string | `"auto"` | Auto-calibrated zoom (`15z`/`16z` for tight grids) or manual `12`–`17`. |
| `includeHeatmap` | boolean | `true` | Generates `HEATMAP.html` in Key-Value Store. |
| `proxyConfiguration` | object | `null` | Optional Apify Proxy (recommended for 7×7 grids or bulk monitoring). |

***

### Output Example

#### 1. Per-Grid-Point Dataset Row (JSON)

```json
{
  "gridId": "R2_C2",
  "row": 2,
  "col": 2,
  "latitude": 40.7128,
  "longitude": -74.006,
  "searchQuery": "coffee shop",
  "targetBusiness": "La Cabra",
  "status": "ok",
  "targetStatus": "matched",
  "targetRank": 3,
  "targetRawPosition": 4,
  "inLocalPack": true,
  "matchMethod": "fuzzy_name",
  "matchedBusinessName": "La Cabra Bakery",
  "matchedPlaceId": "ChIJ...",
  "targetRating": 4.7,
  "targetReviewCount": 1420,
  "top1Competitor": "Moon Coffee Lab",
  "top3Competitors": [
    { "rank": 1, "name": "Moon Coffee Lab", "placeId": "ChIJ...", "rating": 4.8, "reviewCount": 310 },
    { "rank": 2, "name": "BUDDIES COFFEE", "placeId": "ChIJo20fEQpZwokRW7sSJjFierw", "rating": 4.9, "reviewCount": 520 },
    { "rank": 3, "name": "La Cabra Bakery", "placeId": "ChIJ...", "rating": 4.7, "reviewCount": 1420 }
  ],
  "inspectedCount": 20,
  "organicCount": 18,
  "sponsoredCount": 2,
  "mapZoom": 15,
  "resultSummary": "Ranked #3 organically (Top 3 Local Pack) via fuzzy_name among 20 listings.",
  "scannedAt": "2026-11-21T11:00:00.000Z"
}
```

#### 2. Local SEO KPI & Competitor Summary (`GRID_SUMMARY` in Key-Value Store)

```json
{
  "status": "SUCCEEDED",
  "totalPointsScanned": 9,
  "primarySummary": {
    "keyword": "coffee shop",
    "targetBusiness": "La Cabra",
    "gridSize": "3x3",
    "kpis": {
      "solvPercent": 44.4,
      "arp": 3.5,
      "atrp": 6.44,
      "top3Count": 4,
      "top10Count": 7,
      "top10Percent": 77.8,
      "foundCount": 7,
      "foundPercent": 77.8,
      "bestRank": 1,
      "worstRank": 8
    },
    "competitorLeaderboard": [
      {
        "name": "BUDDIES COFFEE",
        "placeId": "ChIJo20fEQpZwokRW7sSJjFierw",
        "rating": 4.9,
        "reviewCount": 520,
        "appearances": 9,
        "coveragePercent": 100,
        "top3Count": 8,
        "solvPercent": 88.9,
        "avgOrganicRank": 1.89,
        "bestRank": 1
      }
    ]
  }
}
```

***

### Integrations: API, Python, Node.js, n8n & AI Agents (MCP)

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("scravion/google-maps-geogrid-rank-tracker").call(run_input={
    "searchQuery": "emergency dentist",
    "targetBusiness": "Manhattan Dental Spa",
    "locationQuery": "Midtown Manhattan, New York",
    "gridSize": 5,
    "stepDistanceKm": 1.0,
    "maxResultsPerPoint": 20,
})

summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("GRID_SUMMARY")["value"]
print("SoLV %:", summary["primarySummary"]["kpis"]["solvPercent"])
print("ARP:", summary["primarySummary"]["kpis"]["arp"])
```

#### JavaScript / Node.js (`apify-client`)

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('scravion/google-maps-geogrid-rank-tracker').call({
    searchQuery: 'coffee shop',
    targetBusiness: 'La Cabra',
    centerLatitude: 40.7128,
    centerLongitude: -74.006,
    gridSize: 3,
    stepDistanceKm: 1.5,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI Agents & Apify MCP Server

This Actor is **MCP-ready**: add `scravion/google-maps-geogrid-rank-tracker` to your Apify MCP Server tool list in Claude Desktop, Cursor, or custom agent workflows. Example prompt:

> *"Run a 3×3 Google Maps geo-grid rank audit for 'emergency plumber' around Austin, TX for 'Austin Rapid Plumbing' and summarize their Share of Local Voice and top 3 local competitors."*

***

### Transparent Pay-Per-Event Pricing

Pricing is based strictly on **successfully scanned grid points (`grid-point`)** — platform compute is included, and failed/blocked pins are never billed:

| Grid Size | Grid Points | Typical Cost (Standard Tier) |
| --- | --- | --- |
| **3×3 Quick Audit** | 9 points | **~$0.027** ($0.003/point) |
| **5×5 Standard Local SEO** | 25 points | **~$0.075** ($0.003/point) |
| **7×7 Deep Metro Audit** | 49 points | **~$0.147** ($0.003/point) |

Volume discounts apply automatically on higher Apify subscription tiers (Silver, Gold, Platinum, Diamond).

***

### Frequently Asked Questions (FAQ)

#### How accurate is a Google Maps geo-grid rank tracker?

This Actor sets browser geolocation via Playwright and Chrome DevTools Protocol (`Emulation.setGeolocationOverride`), centers Google Maps at each exact grid coordinate with auto-calibrated zoom (`15z`–`16z` for dense grids), separates Sponsored ads from organic rankings, and matches businesses by Google Place ID or CID. Because live Google Maps rankings fluctuate by time of day, personalization, and IP region, use consistent grid spacing and Apify Residential Proxies when comparing week-over-week trends.

#### What is Share of Local Voice (SoLV) in Local SEO?

Share of Local Voice (SoLV) is the percentage of scanned geo-grid coordinates where a business ranks in the **Top 3 organic Google Maps results (the Local Pack)**. A 60% SoLV on a 5×5 grid means the business appears in the Top 3 at 15 out of 25 geographic pins.

#### What is the difference between ARP and ATRP?

**ARP (Average Rank Position)** averages your organic rank only across grid points where your business appeared in the top N results. **ATRP (Average Total Rank Position)** averages across *all* scanned points by assigning a penalty rank (`maxResultsPerPoint + 1`, e.g., `21`) to points where your business did not appear — making ATRP the industry-standard metric for tracking total area visibility over time.

#### Do I need a Google Maps API key or Google account?

No. The Actor scans public Google Maps search views directly with zero Google Cloud API keys, billing accounts, or logins required.

#### What happens if a grid point fails or gets rate-limited?

Failed or rate-limited points are retried once automatically; if still unavailable, they are logged to the separate `geogrid-errors` dataset, excluded from rank averages, and **never charged** as a billable `grid-point` event.

***

### Related Growth & Competitor Intelligence Actors by Scravion

- [**YouTube Viral Video Finder & Competitor Outlier Analyzer**](https://apify.com/scravion/youtube-data-scraper-pro) — Find 5x–30x breakout YouTube videos & Shorts using Channel View Multipliers (`views ÷ channelMedianViews`), 0–100 Viral Scores, and views/day velocity.
- [**TikTok Viral Video Finder & Competitor Breakout Analyzer**](https://apify.com/scravion/tiktok-viral-video-competitor-analyzer) — Discover breakout TikTok videos with Creator View Multipliers, 0–100 Breakout Scores, views/hour velocity, and deterministic hook/CTA analysis.

***

### Responsible Use & Limitations

This Actor inspects publicly visible Google Maps listings only and does not bypass logins or access controls. Live search rankings vary by locale, network, and time. Users are responsible for complying with applicable laws and platform terms.

# Actor input Schema

## `searchQuery` (type: `string`):

The Google Maps search term to track across the geographic grid (e.g., 'emergency dentist', 'coffee shop', 'personal injury lawyer').

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

Optional list of extra local keywords to scan across the exact same geo-grid in a single run.

## `targetBusiness` (type: `string`):

Business name (e.g., 'La Cabra'), Google Place ID ('ChIJ...'), or Google Maps place URL. Leave empty to run in Competitor Discovery Mode and see who dominates the area.

## `targetPlaceId` (type: `string`):

Optional Google Place ID (starts with 'ChIJ') for 100% unambiguous multi-branch business matching.

## `locationQuery` (type: `string`):

Enter a city or street address (e.g., 'SoHo, New York' or 'Austin, TX') if you leave Center Latitude/Longitude blank.

## `centerLatitude` (type: `number`):

Decimal latitude of the grid center (e.g., 40.7128 for Lower Manhattan, 51.5074 for London, 41.0082 for Istanbul).

## `centerLongitude` (type: `number`):

Decimal longitude of the grid center (e.g., -74.0060 for Lower Manhattan, -0.1278 for London, 28.9784 for Istanbul).

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

Enter 3 for a 3×3 grid (9 points — fast audit), 5 for a 5×5 grid (25 points — standard Local SEO), or 7 for a 7×7 grid (49 points — deep metro coverage).

## `stepDistanceKm` (type: `number`):

Spacing in kilometers between adjacent pins (e.g., 0.5 km for dense urban neighborhoods, 1.5 km for standard city audits, 3–5 km for suburbs).

## `maxResultsPerPoint` (type: `integer`):

How deep into Google Maps results to check at each pin (1–50). Default 20 matches Local Falcon / BrightLocal standard top-20 tracking.

## `matchMode` (type: `string`):

Smart matches Place ID, CID, exact name, or clean partial match (e.g., 'Blue Bottle Coffee' matches 'Blue Bottle Coffee - SoHo'). Exact requires exact normalized name or Place ID.

## `mapZoom` (type: `string`):

Auto chooses optimal zoom based on stepDistanceKm (16z for <=0.5km, 15z for <=1.5km, 14z for <=4km) for sharp hyper-local variation.

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

Language code for Google Maps results (e.g., en, tr, de, es, fr, pt-BR).

## `includeHeatmap` (type: `boolean`):

Saves a self-contained visual rank heatmap with SoLV %, ARP, ATRP, clickable pins, rank-change arrows, and competitor leaderboard to the Key-Value Store.

## `monitorMode` (type: `boolean`):

Persists each grid scan in a named Key-Value Store and computes per-pin rankDelta (+3 / -2), SoLV delta, and ARP delta against your last scan. Ideal for weekly scheduled Local SEO monitoring.

## `monitorStateNamespace` (type: `string`):

Custom label to isolate monitor history per client or campaign (auto-generated from keyword + target + coordinates when left blank).

## `maxConcurrency` (type: `integer`):

Number of grid points scanned concurrently (1–3). Keep at 1–2 for best stability without proxy.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration for large 5×5 / 7×7 or high-volume scheduled Local SEO monitoring.

## Actor input object example

```json
{
  "searchQuery": "coffee shop",
  "targetBusiness": "La Cabra",
  "centerLatitude": 40.7128,
  "centerLongitude": -74.006,
  "gridSize": 3,
  "stepDistanceKm": 1.5,
  "maxResultsPerPoint": 20,
  "matchMode": "smart",
  "mapZoom": "auto",
  "language": "en",
  "includeHeatmap": true,
  "monitorMode": false,
  "maxConcurrency": 2
}
```

# Actor output Schema

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

Structured per-coordinate organic ranks, Place IDs, ratings, reviews, and full top-N local competitor lists.

## `heatmap` (type: `string`):

Open this agency-ready visual geo-grid heatmap with clickable pins, SoLV %, ARP, ATRP, and competitor leaderboard.

## `summary` (type: `string`):

Machine-readable SoLV %, ARP, ATRP, Top-3/Top-10 coverage, and ranked competitor leaderboard.

# 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 = {
    "searchQuery": "coffee shop",
    "targetBusiness": "La Cabra",
    "centerLatitude": 40.7128,
    "centerLongitude": -74.006
};

// Run the Actor and wait for it to finish
const run = await client.actor("scravion/google-maps-geogrid-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 = {
    "searchQuery": "coffee shop",
    "targetBusiness": "La Cabra",
    "centerLatitude": 40.7128,
    "centerLongitude": -74.006,
}

# Run the Actor and wait for it to finish
run = client.actor("scravion/google-maps-geogrid-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 '{
  "searchQuery": "coffee shop",
  "targetBusiness": "La Cabra",
  "centerLatitude": 40.7128,
  "centerLongitude": -74.006
}' |
apify call scravion/google-maps-geogrid-rank-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scravion/google-maps-geogrid-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/lNvQr0gEuI18wlWQD/builds/2B2Y5NqP0jGn3lTqG/openapi.json
