---
title: "Local Rank Tracker API: 1 endpoint, 1 credit per call"
description: "Local Rank Tracker API that checks a business's local search rank for a keyword across a grid of points, with competitors, as JSON. 1 credit per grid point."
url: https://perceptlayer.com/apis/local-rank-tracker
---

[APIs](https://perceptlayer.com/apis) / [Web and SEO](https://perceptlayer.com/verticals/web-seo) / Local Rank Tracker

1 credit per call 1 endpoint 8 datapoints 

# Local Rank Tracker API

Local Rank Tracker API that checks a business's local search rank for a keyword across a grid of points, with competitors, as JSON. 1 credit per grid point.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Local Rank Tracker

GET /v1/local-rank-tracker/grid?q=pizza&place\_id=ChIJgW-n6g1ZwokRwPVvsDWxpMo&lat=40.7484&lon=-73.9857&grid\_size=3&spacing=1&unit=km&hl=en&gl=us 

```
{
  "search_parameters": {
    "q": "pizza",
    "place_id": "ChIJgW-n6g1ZwokRwPVvsDWxpMo",
    "lat": 40.7484,
    "lon": -73.9857,
    "grid_size": 3,
    "spacing": 1,
    "unit": "km",
    "hl": "en",
    "gl": "us"
  },
  "target": {
    "input": {
      "place_id": "ChIJgW-n6g1ZwokRwPVvsDWxpMo"
    },
    "matched": true,
    "match": "place_id",
    "business": {
      "name": "Quality Pizza Co. Midtown",
      "place_id": "ChIJgW-n6g1ZwokRwPVvsDWxpMo",
      "data_id": "0x89c2590deaa76f81:0xcaa4b135b06ff5c0",
      "cid": "14585713945970579479",
      "category": "Pizza restaurant",
      "categories": [
        "Pizza restaurant"
      ],
      "rating": 4.8,
      "review_count": 2019,
      "address": "888 6th Ave, New York, NY 10001",
      "website": "http://orderqualitypizzaco.com/",
      "phone": "(646) 858-0048",
      "latitude": 40.748154299999996,
      "longitude": -73.9886899
    }
  },
  "points": [
    {
      "index": 0,
      "row": 0,
      "col": 0,
      "lat": 40.757383,
      "lon": -73.997559,
      "status": "not_found",
      "competitors": [
        {
          "rank": 1,
          "name": "Vito's Slices and Ices",
          "place_id": "ChIJn_KJsVhZwokRnjqlCrxKvGE",
          "data_id": "0x89c25958b189f29f:0x61bc4abc0aa53a9e",
          "cid": "2207711027928383436",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Catering food and drink supplier"
          ],
          "rating": 4.7,
          "review_count": 2350,
          "address": "464 9th Ave, New York, NY 10018",
          "website": "https://vitosslicesandices.com/",
          "phone": "(212) 273-1186",
          "latitude": 40.7545009,
          "longitude": -73.9952318
        },
        {
          "rank": 2,
          "name": "Pop’s Pizza - Times Square",
          "place_id": "ChIJ--1GGjJZwokRk2ZRG_l5m7c",
          "data_id": "0x89c259321a46edfb:0xb79b79f91b516693",
          "cid": "4304031254793253920",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Italian restaurant",
            "Pizza delivery"
          ],
          "rating": 4.9,
          "review_count": 535,
          "address": "360 W 42nd St, New York, NY 10036",
          "website": "http://popspizzas.com/",
          "phone": "(212) 489-6287",
          "latitude": 40.758195799999996,
          "longitude": -73.992498
        },
        {
          "rank": 3,
          "name": "Casa Louie Hudson Yards",
          "place_id": "ChIJL87sSQBZwokRKKDWlClzS_g",
          "data_id": "0x89c2590049ecce2f:0xf84b732994d6a028",
          "cid": "18083769114252276370",
          "category": "Italian restaurant",
          "categories": [
            "Italian restaurant",
            "Gluten-free restaurant"
          ],
          "rating": 4.7,
          "review_count": 375,
          "address": "455 W 37th St, New York, NY 10018",
          "website": "https://www.casalouienyc.com/",
          "phone": "(646) 590-2556",
          "latitude": 40.7565168,
          "longitude": -73.9973261
        }
      ],
      "result_count": 20
    },
    {
      "index": 1,
      "row": 0,
      "col": 1,
      "lat": 40.757383,
      "lon": -73.9857,
      "status": "not_found",
      "competitors": [
        {
          "rank": 1,
          "name": "Joe's Pizza Broadway",
          "place_id": "ChIJifIePKtZwokRVZ-UdRGkZzs",
          "data_id": "0x89c259ab3c1ef289:0x3b67a41175949f55",
          "cid": "14105718457890399750",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Pizza delivery",
            "Restaurant"
          ],
          "rating": 4.4,
          "review_count": 27618,
          "address": "1435 Broadway, New York, NY 10018",
          "website": "https://www.joespizzanyc.com/",
          "phone": "(646) 559-4878",
          "latitude": 40.754679499999995,
          "longitude": -73.9870291
        },
        {
          "rank": 2,
          "name": "Carnegie Pizza",
          "place_id": "ChIJLxR6enFZwokRKCjzHCDzAIo",
          "data_id": "0x89c259717a7a142f:0x8a00f3201cf32828",
          "cid": "18347165751577300976",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant"
          ],
          "rating": 4.6,
          "review_count": 2065,
          "address": "200 W 41st St, New York, NY 10036",
          "website": "https://www.carnegiepizza.com/",
          "phone": "(212) 777-4141",
          "latitude": 40.755413499999996,
          "longitude": -73.9878288
        },
        {
          "rank": 3,
          "name": "John's Pizzeria of Times Square",
          "place_id": "ChIJBSESh1RYwokRyHcVnrG7JWo",
          "data_id": "0x89c2585487122105:0x6a25bbb19e1577c8",
          "cid": "16445830863109147311",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Bar",
            "Pizza Takeout"
          ],
          "rating": 4.3,
          "review_count": 8642,
          "address": "260 W 44th St, New York, NY 10036",
          "website": "https://www.johnspizzerianyc.com/",
          "phone": "(212) 391-7560",
          "latitude": 40.7582117,
          "longitude": -73.98839579999999
        }
      ],
      "result_count": 20
    },
    {
      "index": 2,
      "row": 0,
      "col": 2,
      "lat": 40.757383,
      "lon": -73.973841,
      "status": "not_found",
      "competitors": [
        {
          "rank": 1,
          "name": "SIMÒ PIZZA - MIDTOWN",
          "place_id": "ChIJsxo_CT9ZwokR3i73Z1LaSH0",
          "data_id": "0x89c2593f093f1ab3:0x7d48da5267f72ede",
          "cid": "16768025556853732535",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Pizza Takeout"
          ],
          "rating": 4.7,
          "review_count": 638,
          "address": "1290 6th Ave, New York, NY 10104",
          "website": "http://simopizza.com/",
          "phone": "(646) 398-8666",
          "latitude": 40.760667399999996,
          "longitude": -73.978797
        },
        {
          "rank": 2,
          "name": "Abitino's Pizza Rock Center",
          "place_id": "ChIJscxIR1JZwokRH_qBBTOb31w",
          "data_id": "0x89c259524748ccb1:0x5cdf9b330581fa1f",
          "cid": "6176949988808820473",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Caterer",
            "Italian restaurant"
          ],
          "rating": 4.6,
          "review_count": 846,
          "address": "5 W 51st St, New York, NY 10020",
          "website": "https://abitinos.com/rock-center?utm_source=google",
          "phone": "(212) 356-6181",
          "latitude": 40.759607599999995,
          "longitude": -73.9774833
        },
        {
          "rank": 3,
          "name": "Uncle Paul's Pizza",
          "place_id": "ChIJPxPd_P1YwokRfzLhSiACEoU",
          "data_id": "0x89c258fdfcdd133f:0x851202204ae1327f",
          "cid": "5355369267413500726",
          "category": "Pizza restaurant",
          "categories": [
            "Pizza restaurant",
            "Breakfast restaurant",
            "Caterer"
          ],
          "rating": 4.5,
          "review_count": 2577,
          "address": "70 Vanderbilt Ave, New York, NY 10017",
          "website": "https://www.unclepaulspizzamenu.com/",
          "phone": "(212) 922-1200",
          "latitude": 40.7546824,
          "longitude": -73.9768744
        }
      ],
      "result_count": 20
    }
  ],
  "summary": {
    "points_total": 9,
    "points_searched": 9,
    "points_failed": 0,
    "points_found": 2,
    "points_not_found": 7,
    "average_rank": 6.5,
    "average_total_rank": 17.78,
    "share_of_local_voice": 11.1,
    "found_percentage": 22.2,
    "best_rank": 1,
    "worst_rank": 12,
    "rank_distribution": {
      "top_3": 1,
      "top_10": 1,
      "top_20": 2,
      "not_found": 7
    },
    "competitors": [
      {
        "name": "PIZZA DAA ROMA & BAGEL",
        "place_id": "ChIJlT-4UJlZwokRawkaQx2E_go",
        "data_id": "0x89c2599950b83f95:0xafe841d431a096b",
        "category": "Pizza restaurant",
        "rating": 4.8,
        "review_count": 351,
        "appearances": 5,
        "average_rank": 10.4,
        "share_of_local_voice": 22.2
      },
      {
        "name": "NY Pizza Suprema",
        "place_id": "ChIJjaD94kFZwokR-20CXqlpy_4",
        "data_id": "0x89c25941e2fda08d:0xfecb69a95e026dfb",
        "category": "Pizza restaurant",
        "rating": 4.6,
        "review_count": 8895,
        "appearances": 1,
        "average_rank": 1,
        "share_of_local_voice": 11.1
      },
      {
        "name": "J's Pizza",
        "place_id": "ChIJswa6QYFZwokRrujfHaIYk38",
        "data_id": "0x89c2598141ba06b3:0x7f9318a21ddfe8ae",
        "category": "Pizza restaurant",
        "rating": 4.5,
        "review_count": 244,
        "appearances": 1,
        "average_rank": 1,
        "share_of_local_voice": 11.1
      }
    ]
  },
  "meta": {
    "credits_per_point": 1,
    "results_per_point": 20,
    "view_altitude_m": 1500,
    "spacing_m": 1000,
    "response_time_ms": 2045,
    "request_id": "req_8879162dbb3b476cac9ce09732874f39",
    "credits_charged": 9,
    "credits_remaining": 1762
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `grid`: the fields and shapes you will get, shortened to 3 items.

| # | index integer | row integer | col integer | lat number | lon number | status string | competitors object\[\] | result\_count integer |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 0 | 0 | 0 | 40.757383 | \-73.997559 | not\_found | \[3 items\] | 20 |
| 2 | 1 | 0 | 1 | 40.757383 | \-73.9857 | not\_found | \[3 items\] | 20 |
| 3 | 2 | 0 | 2 | 40.757383 | \-73.973841 | not\_found | \[3 items\] | 20 |

Recorded from our API · 3 items shown · 8 datapoints per item GET /v1/local-rank-tracker/grid?q=pizza&place\_id=ChIJgW-n6g1ZwokRwPVvsDWxpMo&lat=40.7484&lon=-73.9857&grid\_size=3&spacing=1&unit=km&hl=en&gl=us

8 datapoints

### Identity

-   status string

### Location

-   lat number
-   lon number

### Other

-   index integer
-   row integer
-   col integer
-   competitors object\[\]
-   result\_count integer

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/local-rank-tracker/grid?q=pizza&place_id=ChIJgW-n6g1ZwokRwPVvsDWxpMo&lat=40.7484&lon=-73.9857&grid_size=3&spacing=1&unit=km&hl=en&gl=us" \
  -H "X-API-Key: $API_KEY"
```

Local Rank Tracker · 1 endpoint

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/local-rank-tracker/grid`](https://perceptlayer.com/apis/local-rank-tracker/grid) | `q` `lat` `lon` +9 optional | `search_parameters` `target` `points` `summary` | 1–81 credits |

Overview

## About the Local Rank Tracker API

## What you can get

The Local Rank Tracker API checks where a business ranks in local search results for a keyword, at each point of a grid around a location. It is a tool, not a single site, and has 1 endpoint.

-   **Grid:** `grid` takes a keyword `q` and a centre `lat` and `lon`. Name the business to track with `place_id`, `data_id`, `cid` or `business_name`. `grid_size` sets the grid (3 gives 3 × 3 points), `spacing` the distance between points in `unit` (km or mi), and `hl` and `gl` (us, de, gb or fr) the language and country.

The recorded `grid` call for "pizza" on a 3 × 3 grid with 1 km spacing around 40.7484, -73.9857 returns `search_parameters`, `target` ( `matched`, `match`, and the `business` with `name`, `category`, `rating`, `review_count`, `address`, `website`, `phone`, `latitude` and `longitude`), and `points`, each with `row`, `col`, `lat`, `lon`, `status`, `result_count` and the ranked `competitors` at that point. Its `summary` gives `points_total`, `points_found`, `points_not_found`, `average_rank`, `best_rank`, `worst_rank`, `found_percentage`, `share_of_local_voice`, a `rank_distribution` ( `top_3`, `top_10`, `top_20`, `not_found`) and `competitors` with `appearances`, `average_rank` and `share_of_local_voice`.

## How a call works

`GET /v1/local-rank-tracker/grid?q=pizza&place_id=ChIJgW-n6g1ZwokRwPVvsDWxpMo&lat=40.7484&lon=-73.9857&grid_size=3&spacing=1&unit=km&hl=en&gl=us` with your key in the `X-API-Key` header searches 9 points. The price is 1 credit per grid point searched, `grid_size` × `grid_size` points, from 9 to 81: this 3 × 3 call costs 9 credits, and a 9 × 9 grid costs 81. Failed calls cost nothing.

Web and SEO JSON REST MCP

### More web and seo APIs

[BuiltWith](https://perceptlayer.com/apis/builtwith) [Domain Availability](https://perceptlayer.com/apis/domain-availability) [Google Ads Transparency](https://perceptlayer.com/apis/google-ads-transparency) [Impressum Extraction](https://perceptlayer.com/apis/impressum-extraction) [North Data](https://perceptlayer.com/apis/north-data) [Owler](https://perceptlayer.com/apis/owler) [PitchBook](https://perceptlayer.com/apis/pitchbook) [Semrush](https://perceptlayer.com/apis/semrush) [Similarweb](https://perceptlayer.com/apis/similarweb) [Web Scraper](https://perceptlayer.com/apis/web-scraper) [Website Contacts](https://perceptlayer.com/apis/contacts) [ZoomInfo](https://perceptlayer.com/apis/zoominfo)

Use cases

### Track a business's local rank for a keyword across a neighbourhood

`Use the Local Rank Tracker API to track a business's local rank for a keyword across a neighbourhood` 

### Find the parts of a city where a location drops out of the results

`Use the Local Rank Tracker API to find the parts of a city where a location drops out of the results` 

### See which competitors outrank a business, and where

`Use the Local Rank Tracker API to see which competitors outrank a business, and where` 

### Report share of local voice to a client over time

`Use the Local Rank Tracker API to report share of local voice to a client over time` 

FAQ

## Questions

**How much does the Local Rank Tracker API cost?**

One credit per grid point searched. A grid has \`grid\_size\` × \`grid\_size\` points, from 9 to 81, so a 3 × 3 grid costs 9 credits and a 9 × 9 grid costs 81. New accounts get free credits to start, and credit packs bring the price down as you scale.

**How do I name the business to track?**

Pass its \`place\_id\`, \`data\_id\`, \`cid\` or \`business\_name\`. The recorded response shows which one matched in \`target.match\`, and returns the business's other identifiers.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official Local Rank Tracker API?**

No. Perceptlayer is an independent service and is not affiliated with Local Rank Tracker. It returns Local Rank Tracker data as JSON with a Perceptlayer key, so there is no Local Rank Tracker developer account, app review or partner approval to get first. It only reads data: if Local Rank Tracker has an official API and you need to act on your own Local Rank Tracker account, such as posting, managing orders or reading private data, use that one.

**Should I build a Local Rank Tracker scraper instead?**

You can, but a Local Rank Tracker scraper is code you maintain: page changes break it, requests get blocked, and Local Rank Tracker's terms govern how you collect data. The Local Rank Tracker API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Local Rank Tracker API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
