# Local Rank Tracker API: Google Reviews, Local Pack and Listings (`nabeelbaghoor/local-seo-rankings-reviews-api`) Actor

Local rank tracker and local SEO API: Google, Google Maps Local Finder and Bing local pack and organic rank checks, Google Business Profile and directory listing data, and up to 500 reviews per profile from Google, Facebook, Tripadvisor and Trustpilot via the BrightLocal API. Bring your own key.

- **URL**: https://apify.com/nabeelbaghoor/local-seo-rankings-reviews-api.md
- **Developed by:** [Nabeel Hassan](https://apify.com/nabeelbaghoor) (community)
- **Categories:** SEO tools, Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 search results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Local Rank Tracker API: Google Reviews, Local Pack and Listings

Check where a business ranks in the Google local pack, Google Local Finder, Google mobile, Bing and Bing Local for any keyword and location, read its Google Business Profile and directory listings, and pull its reviews from Google and other directories, as clean rows you can export to CSV, Excel or JSON.

This actor wraps BrightLocal's raw data APIs: the Rankings API and Listings API on api.brightlocal.com, and the batch Reviews API on tools.brightlocal.com. Use it for local SEO audits, local rank tracking across many cities, Google Business Profile monitoring, review monitoring and agency reporting. Bring your own BrightLocal API key.

BYOK, not live tested: every route, field and response shape comes from BrightLocal's own OpenAPI documents (developer.brightlocal.com) and its earlier API reference, and every route was probed on 2026-11-06 with an invalid key of realistic length. The routes have not been run against a live key.

### What it does

- **Local rank check**: one request per search term and location on Google, Google (as mobile), Google Local Finder, Bing or Bing Local. One row per search result with its type (local pack, Local Finder, organic, local ads, organic ads, knowledge panel, carousel), position, page, title, URL, website, category, Google CID and coordinates.
- **Your rank, matched for you**: give your website URLs, Google CID or business name, phone and postcode, and every result that is your business carries `isMatch`, `rank` and `matchedBy`. Or keep only your matches.
- **Find business listings**: look a business up by name and address on Google, Apple Maps, Facebook or any other directory BrightLocal supports.
- **Fetch business listings**: read a listing profile from its URL: name, address, phone, website, coordinates, claimed and open flags, opening hours, categories, amenities, review count, star rating, photo count and Google CID, Place ID or Apple ID.
- **Reviews**: up to 500 reviews per request for each directory profile, by profile URL or found from the business name, city and ZIP code, with sort order, a since date and paging.
- **Batch handling built in**: the actor creates the batch, adds one job per profile, commits it and polls it. A batch still running after the wait can be collected later by its ID.
- **Reference data**: the supported directories per country and canonical location names for rank checks.

### What you need

A BrightLocal account with API access. BrightLocal issues API keys on request through its sales or support team; this actor never signs up or buys anything for you.

1. Ask BrightLocal for an API key for the raw data APIs (Rankings, Listings and the batch Reviews API).
2. Paste it into the **BrightLocal API key** field, or set the DATA_API_KEY secret. The key goes only to BrightLocal and is removed from every log line and message.

### Input

| Field | Modes | Notes |
| --- | --- | --- |
| `mode` | all | `rankings`, `findListings`, `fetchListings`, `reviews`, `reviewsByBusiness`, `batchResults`, `findLocations`, `directories` |
| `apiKey` | all | your BrightLocal API key; falls back to the DATA_API_KEY secret |
| `country` | all but batchResults | ISO 3 code such as USA, GBR, AUS (default USA) |
| `searchTerms`, `locations` | rankings | one per line; every pair is one request |
| `searchEngine` | rankings | `google`, `google-mobile`, `google-local-finder`, `bing`, `bing-local` |
| `language`, `numResults` | rankings | ISO 639-1 code; 1 to 100 results (default 20) |
| `resultScope` | rankings | `all` or `matched` |
| `matchWebsiteUrls`, `matchUid` | rankings | your URLs (up to 10) and Google CID or Bing Local ID |
| `businessNames`, `telephone`, `postcode` | rankings, findListings, reviewsByBusiness | business details |
| `city`, `region`, `streetAddress` | findListings, reviewsByBusiness | business address |
| `directories` | findListings, reviewsByBusiness | directory IDs; empty means google |
| `profileUrls` | fetchListings, reviews | one profile URL per line |
| `reviewSort`, `reviewsLimit`, `dateFrom`, `startPage` | reviews modes | order, a number or all, YYYY-MM-DD, paging token |
| `batchId` | batchResults | from an earlier reviews run |
| `locationQuery` | findLocations | place name |
| `waitMinutes` | async modes | how long to wait for results (default 15) |
| `maxResults` | all | stop after this many rows (default 1,000) |

Example input:

```json
{
    "mode": "rankings",
    "country": "USA",
    "searchTerms": ["pizza near me", "pizza delivery"],
    "locations": ["Woodstock, Georgia, United States"],
    "searchEngine": "google",
    "numResults": 20,
    "matchUid": "14242700967722301077",
    "businessNames": ["Domino's"],
    "resultScope": "all"
}
```

### Output

A local rank check row (values are illustrative):

```json
{
    "recordType": "serpResult",
    "found": true,
    "mode": "rankings",
    "query": "pizza near me | Woodstock, Georgia, United States",
    "searchEngine": "google",
    "searchTerm": "pizza near me",
    "location": "Woodstock, Georgia, United States",
    "resultType": "local",
    "position": 1,
    "pageNumber": 1,
    "title": "Domino's Pizza",
    "url": "https://www.google.com/maps?cid=14242700967722301077",
    "websiteUrl": "https://www.dominos.com/",
    "category": "Pizza delivery",
    "uid": "14242700967722301077",
    "isMatch": true,
    "rank": 1,
    "matchedBy": "business_names: Domino's"
}
```

A listing row carries `businessName`, `address`, `telephone`, `websiteUrl`, `profileUrl`, `latitude`, `longitude`, `isClaimed`, `isOpen`, `openingHours`, `categories`, `amenities`, `numReviews`, `starRating`, `numPhotos`, `googleCid`, `googlePlaceId` and `appleAuid`. A review row carries `profileUrl`, `directory`, `reviewId`, `rating` (or `grade` for recommendations), `author`, `reviewDate`, `text`, `link`, `profileReviewsCount`, `profileStarRating` and `nextStartPage`.

### Pricing

Pay per event, only for rows with data:

| Event | Price |
| --- | --- |
| Search result (local rank check) | $0.01 |
| Business listing profile | $0.02 |
| Review | $0.01 |
| Directory or location reference row | $0.005 |

BrightLocal bills the API requests themselves to your BrightLocal account, separately from this actor.

### FAQ

#### What is a local rank tracker API?

A local rank tracker API checks where a business appears in location-specific search results: the Google local pack (map pack), Google Local Finder (the full Maps list), Google organic results and Bing Local, as seen from a chosen city or coordinates. This actor runs those checks through BrightLocal's Rankings API.

#### How does it find my business in the results?

BrightLocal matches results against the details you give: website URLs, the Google CID (ludocid) or Bing Local ID, and business name, phone and postcode. For local pack and Local Finder matching, the Google CID is the most reliable. Matched rows carry `rank` and `matchedBy`.

#### Can I get Google reviews?

Yes. Give a Google Maps profile URL in Reviews by profile URL mode, or the business name, city and ZIP code with directory google in Reviews by business data mode. Each request returns up to 500 reviews; the `nextStartPage` value reads the next 500.

#### Which review sites are supported?

Reviews by business data documents google, trustpilot, dentist1800, expedia, facebook, grubhub, healthgrades, insiderpages, opentable, realself, selfstorage, tripadvisor and yellowpages, in the USA. Reviews by profile URL takes a profile link from a directory BrightLocal supports, in any supported country.

#### What Google Business Profile data does it return?

Find or Fetch business listings returns the profile URL, website, name, address, phone, coordinates, claimed status, open status, opening hours, categories, amenities, review count, star rating, photo count, main photo, Google CID and Place ID. Apple Maps listings return the Apple place ID instead.

#### Why does a run wait?

BrightLocal processes rank checks, listing lookups and review jobs asynchronously. The actor polls every 10 seconds until the results are ready or the wait runs out. Requests not ready in time become free rows; a reviews batch can be collected later with Read a reviews batch.

#### What do I pay?

$0.01 per search result, $0.02 per listing profile, $0.01 per review and $0.005 per directory or location row to this actor, plus what BrightLocal charges your account for the requests. Not found results, failed jobs, requests still running and refused requests are free.

### Keyword map

local rank tracker API, local SEO API, Google local pack rank checker, Google Maps rank tracker, Local Finder rankings, Bing Local rankings, SERP API for local search, Google Business Profile API, business listings API, Google reviews API, review scraper API, citation and listing audit, BrightLocal API.

### Routes and verification

| Mode | Route | Probe with an invalid 32 character key (twice) |
| --- | --- | --- |
| Local rank check | POST /data/v1/rankings/search, then GET /data/v1/rankings/results/{request_id} | 401 "Unauthorized." |
| Find and fetch business listings | POST /data/v1/listings/find or /fetch, then GET /data/v1/listings/results/{request_id} | 401 "Unauthorized." |
| Supported directories, search locations | GET /data/v1/listings/directories\[/{country}], POST /data/v1/locations/search | 401 "Unauthorized." |
| Reviews | POST /v4/batch, POST /v4/ld/fetch-reviews or /v4/ld/fetch-reviews-by-business-data, PUT /v4/batch, GET /v4/batch | 403 INVALID_API_KEY "Invalid API key" |
| Invented control routes | /data/v1/listingz/directories, /data/v1/rankingz/search, /v4/batchz, /v4/ld/fetch-reviewz | 404 "The requested resource was not found." |

### Licensing and data use

This actor works only with your own BrightLocal key, and your agreement with BrightLocal applies. BrightLocal's terms do not allow sharing account access with others or reselling the service on its own, so use the data for your own business or your own clients' reporting. This actor is not affiliated with or endorsed by BrightLocal.

# Actor input Schema

## `mode` (type: `string`):

Each mode calls documented BrightLocal API routes with your own API key. Rank checks and listings use the Data APIs (api.brightlocal.com); reviews use the batch API (create a batch, add jobs, commit, poll). No batch is ever stopped or deleted.

## `apiKey` (type: `string`):

Your own BrightLocal API key, issued by BrightLocal to your account on request. Sent only to BrightLocal: as the x-api-key header to api.brightlocal.com and as the api-key field to tools.brightlocal.com, and removed from every log line. Requests are billed by BrightLocal to that account. Leave empty to use the DATA_API_KEY secret.

## `country` (type: `string`):

Three letter ISO 3166-1 country code such as USA, GBR, CAN or AUS. Used by every mode except Read a reviews batch. Reviews by business data supports USA only. In Supported directories mode, leave empty to list every country.

## `searchTerms` (type: `array`):

Local rank check. One keyword per line, at most 400 characters each. Each term is checked in each location.

## `locations` (type: `array`):

Local rank check. One location per line: a canonical name (see the Find search locations mode) or a free form place name. Each pair of search term and location is one BrightLocal request.

## `searchEngine` (type: `string`):

Local rank check. The engine to check.

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

Local rank check. Two letter ISO 639-1 language code.

## `numResults` (type: `integer`):

Local rank check. How many search results BrightLocal returns or matches against, 1 to 100.

## `resultScope` (type: `string`):

Local rank check. All search results (your matches carry a rank and how they matched), or only the results that match your business.

## `matchWebsiteUrls` (type: `array`):

Local rank check. Up to 10 URLs that identify your business in the results.

## `matchUid` (type: `string`):

Local rank check. The Google ludocid (CID) or Bing Local ID of your business, recommended for local pack and Local Finder matching.

## `napMatchLocal` (type: `boolean`):

Local rank check. Use the business names, telephone and postcode below to match local pack and Local Finder results.

## `napMatchOrganic` (type: `boolean`):

Local rank check. Also match organic results by name, phone and postcode. Finds third party mentions but can give fuzzier matches.

## `businessNames` (type: `array`):

Local rank check (up to 20, for matching), Find business listings and Reviews by business data. The business name and its variants, one per line.

## `telephone` (type: `string`):

Local rank check (at most 20 characters), Find business listings and Reviews by business data. Improves match quality.

## `postcode` (type: `string`):

Local rank check (at most 10 characters), Find business listings, and Reviews by business data (required there).

## `city` (type: `string`):

Find business listings, and Reviews by business data (required there).

## `region` (type: `string`):

Find business listings.

## `streetAddress` (type: `string`):

Find business listings and Reviews by business data. Optional, improves match accuracy.

## `directories` (type: `array`):

Find business listings (any directory ID from the Supported directories mode, such as google, apple or facebook) and Reviews by business data (google, trustpilot, dentist1800, expedia, facebook, grubhub, healthgrades, insiderpages, opentable, realself, selfstorage, tripadvisor or yellowpages). One per line; empty means google.

## `profileUrls` (type: `array`):

Fetch business listings and Reviews by profile URL. One directory profile link per line, such as a Google Maps cid link, an Apple Maps place link or a directory business page.

## `reviewSort` (type: `string`):

Reviews modes. Newest first or by rating.

## `reviewsLimit` (type: `string`):

Reviews modes. A positive whole number, or all. BrightLocal returns up to 500 reviews per request for a directory; use the next start page value of the last row to read further.

## `dateFrom` (type: `string`):

Reviews modes. Only reviews from this date: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.

## `startPage` (type: `string`):

Reviews modes. The nextStartPage value of an earlier run (a page number or token), to read the next batch of up to 500 reviews.

## `batchId` (type: `string`):

Read a reviews batch. The batch ID an earlier reviews run logged.

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

Find search locations. A place name such as Springfield, at most 400 characters.

## `waitMinutes` (type: `integer`):

Rank checks, listings and reviews run as asynchronous BrightLocal jobs. How long to keep checking before ending the run. Requests still running are saved as free rows; a reviews batch can be read later with its batch ID.

## `maxResults` (type: `integer`):

The run stops after this many rows. It also caps how many requests are created (at most 500).

## Actor input object example

```json
{
  "mode": "rankings",
  "country": "USA",
  "searchTerms": [
    "pizza near me"
  ],
  "locations": [
    "Chicago, Illinois, United States"
  ],
  "searchEngine": "google",
  "language": "en",
  "numResults": 20,
  "resultScope": "all",
  "napMatchLocal": true,
  "napMatchOrganic": false,
  "reviewSort": "date",
  "reviewsLimit": "100",
  "waitMinutes": 15,
  "maxResults": 1000
}
```

# Actor output Schema

## `records` (type: `string`):

One row per search result, listing profile, review, directory or location.

# 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 = {
    "searchTerms": [
        "pizza near me"
    ],
    "locations": [
        "Chicago, Illinois, United States"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nabeelbaghoor/local-seo-rankings-reviews-api").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 = {
    "searchTerms": ["pizza near me"],
    "locations": ["Chicago, Illinois, United States"],
}

# Run the Actor and wait for it to finish
run = client.actor("nabeelbaghoor/local-seo-rankings-reviews-api").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 '{
  "searchTerms": [
    "pizza near me"
  ],
  "locations": [
    "Chicago, Illinois, United States"
  ]
}' |
apify call nabeelbaghoor/local-seo-rankings-reviews-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nabeelbaghoor/local-seo-rankings-reviews-api"
        }
    }
}
```

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/eEA8iRmRR2mkEgpax/builds/gDkY8d0wk2tcwQcNf/openapi.json
