APIs / Local Rank Tracker / Grid
Local Rank Tracker: Grid
Grid from Local Rank Tracker as JSON. 1–81 credits per successful call.
GET /v1/local-rank-tracker/grid
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
q | string | Required | Up to 200 characters |
place_id | string | Optional | Any |
data_id | string | Optional | Any |
cid | string | Optional | Any |
business_name | string | Optional | Up to 200 characters |
lat | number | Required | Any |
lon | number | Required | Any |
grid_size | integer | Optional | Any |
spacing | number | Optional | Any |
unit | string | Optional | km, mi |
hl | string | Optional | Any |
gl | string | Optional | us, de, gb, fr |
Example request
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 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1–81 credits per successful call (1 credit per grid point searched: grid_size × grid_size points, from 9 to 81); failed calls are free.
Response fields
The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
target | object |
points | object[] |
summary | object |