Google Local Pack API
For some requests, Google search includes local results, called local pack, and a local map. SerpApi is able to scrape, extract, and make sense of this information.
When SerpApi encounters a local map and/or local results, we add them to our JSON output. From the local_map, we are able to extract link, gps_coordinates, image and streetview information. From the local_results, we are able to extract position title, reviews, price, type, address, description, hours, extensions, thumbnail, gps_coordinates, place_id, lsig and more.
API Examples
Results for: stores and places
{
...
"local_map": {
"link": "https://www.google.com/search?hl=en&gl=us&q=mcdonalds&npsic=0&rflfq=1&rldoc=1&rlha=0&rllag=32431150,-99733487,4363&tbm=lcl&sa=X&ved=2ahUKEwi07q2576DlAhUEv54KHXtrAtUQtgN6BAgIEAQ",
"image": "https://serpapi.com/searches/681e4d153882c511a409abb4/images/06c98f4a9a223d9bd22ad0774f881c32.png",
"gps_coordinates": {
"latitude": 32.43115,
"longitude": -99.733487
}
},
"local_results": {
"more_locations_link": "https://www.google.com/search?hl=en&gl=us&q=mcdonalds&npsic=0&rflfq=1&rldoc=1&rlha=0&rllag=32431150,-99733487,4363&tbm=lcl&sa=X&ved=2ahUKEwi07q2576DlAhUEv54KHXtrAtUQjGp6BAgIEC0",
"places": [
{
"position": 1,
"label": "A",
"title": "McDonald's",
"place_id": "9217580661049740855",
"lsig": "AB86z5WZ0L4jOJdygGcgZJxwaZqT",
"place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+tx%2C+texas%2C+united+states&ludocid=9217580661049740855&q=mcdonalds&tbm=lcl&token=ae38ed37970df6b0",
"links": {
"delivery": "https://orderfood.google.com/chooseprovider?restaurantId=/g/1thy06lf&hl=en-US&gei=IBmnXbTeK4T--gT71omoDQ&utm_source=search_restaurant_list&authuser=-1&fo_s=OA,AH&fo_m=CDEIMAgvCCAIOAgqCCsIKAgYCCcIKQgPCBMICwgsCAwIEQgKCC0IFAgSCC4ICAgQCB4IHQgmCAMIAggyCDMIJQg3CCIIJAg2CDQINQgj",
"website": "https://www.mcdonalds.com/us/en-us/location/TX/ABILENE/4302-BUFFALO-GAP-RD/5432.html?cid=RF:YXT:GMB::Clicks",
"directions": "https://www.google.com/maps/dir//McDonald's,+4302+Buffalo+Gap+Rd,+Abilene,+TX+79605/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x86568db0e778b561:0x7feb6cc63e614e37?sa=X&hl=en"
},
"phone": "(325) 695-2616",
"address": "4302 Buffalo Gap Rd",
"hours": "Open 24 hours",
"gps_coordinates": {
"latitude": 32.3997901,
"longitude": -99.7594225
}
},
{
"position": 2,
"label": "B",
"title": "McDonald's",
"place_id": "9912131383807101605",
"lsig": "AB86z5Vr7I7_Du4pdOcCURnP7CuQ",
"place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+tx%2C+texas%2C+united+states&ludocid=9912131383807101605&q=mcdonalds&tbm=lcl&token=1af2526ee1d9a0e1",
"links": {
"delivery": "https://orderfood.google.com/chooseprovider?restaurantId=/g/1tdqb_74&hl=en-US&gei=IBmnXbTeK4T--gT71omoDQ&utm_source=search_restaurant_list&authuser=-1&fo_s=OA,AH&fo_m=CDEIMAgvCCAIOAgqCCsIKAgYCCcIKQgPCBMICwgsCAwIEQgKCC0IFAgSCC4ICAgQCB4IHQgmCAMIAggyCDMIJQg3CCIIJAg2CDQINQgj",
"website": "https://www.mcdonalds.com/us/en-us/location/TX/ABILENE/3147-S-14TH-ST/18074.html?cid=RF:YXT:GMB::Clicks",
"directions": "https://www.google.com/maps/dir//McDonald's,+3147+S+14th+St,+Abilene,+TX+79605/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x86568e7926837c17:0x898ef6fa12d2caa5?sa=X&hl=en"
},
"phone": "(325) 691-5902",
"address": "3147 S 14th St",
"hours": "Open 24 hours",
"gps_coordinates": {
"latitude": 32.43174,
"longitude": -99.761488
}
},
{
"position": 3,
"label": "C",
"title": "McDonald's",
"place_id": "11465435962430160066",
"lsig": "AB86z5XeRhYNfBmqLZSMRY-BHhld",
"place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+tx%2C+texas%2C+united+states&ludocid=11465435962430160066&q=mcdonalds&tbm=lcl&token=16a71babbf1edec2",
"links": {
"delivery": "https://orderfood.google.com/chooseprovider?restaurantId=/g/1hc38wv28&hl=en-US&gei=IBmnXbTeK4T--gT71omoDQ&utm_source=search_restaurant_list&authuser=-1&fo_s=OA,AH&fo_m=CDEIMAgvCCAIOAgqCCsIKAgYCCcIKQgPCBMICwgsCAwIEQgKCC0IFAgSCC4ICAgQCB4IHQgmCAMIAggyCDMIJQg3CCIIJAg2CDQINQgj",
"website": "https://www.mcdonalds.com/us/en-us/location/TX/ABILENE/1201-N-JUDGE-ELY/10684.html?cid=RF:YXT:GMB::Clicks",
"directions": "https://www.google.com/maps/dir//McDonald's,+1201+N+Judge+Ely+Blvd,+Abilene,+TX+79601/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x865691c6b94acbcd:0x9f1d6942e7a37cc2?sa=X&hl=en"
},
"phone": "(325) 672-1271",
"address": "1201 N Judge Ely Blvd",
"hours": "Open 24 hours",
"gps_coordinates": {
"latitude": 32.4625117,
"longitude": -99.70548749999999
}
}
]
},
...
}
Results for: products
{
...
"local_map": {
"link": "https://www.google.com/search?gl=us&hl=en&q=Coffee&npsic=0&rflfq=1&rldoc=1&rlha=0&rllag=40712630,-74006438,192&tbm=lcl&sa=X&ved=2ahUKEwi1_PPdyojqAhU5mnIEHQFrDlQQtgN6BAgNEAQ",
"image": "https://serpapi.com/searches/681e4df22ddc43f4381e5463/images/bb79015bb32088cabb0d218f2929f1ea.png",
"gps_coordinates": {
"latitude": 40.71263,
"longitude": -74.006438
}
},
"local_results": {
"more_locations_link": "https://www.google.com/search?gl=us&hl=en&q=Coffee&npsic=0&rflfq=1&rldoc=1&rlha=0&rllag=40712630,-74006438,192&tbm=lcl&sa=X&ved=2ahUKEwi1_PPdyojqAhU5mnIEHQFrDlQQjGp6BAgNEEY",
"places": [
{
"position": 1,
"title": "Birch Coffee",
"place_id": "13182349020049531595",
"lsig": "AB86z5WBb2rV9I03tVrgxWYOccna",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=New+York%2C+New+York%2C+United+States&ludocid=13182349020049531595&q=Coffee&tbm=lcl",
"rating": 4.5,
"reviews": 299,
"price": "$$",
"type": "Coffee shop",
"address": "Entrance on Beekman, 8 Spruce St · In 8 Spruce Street Tower",
"hours": "Closed ⋅ Opens 7AM",
"thumbnail": "https://serpapi.com/searches/681e4df22ddc43f4381e5463/images/6af58de408b3d43ba7fb502bede7c8dd0c85573e2afede3e0a48c433b34b60cb853fa1861702c208.jpeg",
"service_options": {
"dine_in": false,
"takeout": true
},
"gps_coordinates": {
"latitude": 40.710934,
"longitude": -74.00601
}
},
{
"position": 2,
"title": "Blue Spoon Coffee Company",
"place_id": "8277114589593241915",
"lsig": "AB86z5U-iKsA7791MmGe231M2hjr",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=New+York%2C+New+York%2C+United+States&ludocid=8277114589593241915&q=Coffee&tbm=lcl",
"rating": 4.2,
"reviews": 124,
"price": "$",
"type": "Coffee shop",
"address": "76 Chambers St",
"hours": "Closed ⋅ Opens 7AM",
"thumbnail": "https://serpapi.com/searches/681e4df22ddc43f4381e5463/images/6af58de408b3d43ba7fb502bede7c8dd730368536a99e99e5d8389ad4761453c1c8b07d29f75de5c.jpeg",
"service_options": {
"dine_in": false,
"takeout": true,
"delivery": false
},
"gps_coordinates": {
"latitude": 40.71433,
"longitude": -74.00687
}
},
{
"position": 3,
"title": "Starbucks",
"place_id": "10988205551705517188",
"lsig": "AB86z5UGVCE4FvcwKWPY5MXcz3OM",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=New+York%2C+New+York%2C+United+States&ludocid=10988205551705517188&q=Coffee&tbm=lcl",
"rating": 3.8,
"reviews": 867,
"price": "$$",
"type": "Coffee shop",
"address": "38 Park Row #4",
"hours": "Opens soon ⋅ 6AM",
"thumbnail": "https://serpapi.com/searches/681e4df22ddc43f4381e5463/images/6af58de408b3d43ba7fb502bede7c8dd1e4bb52115436a5c7fb2a85137bfc9db008f89682eb58252.jpeg",
"service_options": {
"dine_in": false,
"takeout": true,
"delivery": true
},
"gps_coordinates": {
"latitude": 40.71162,
"longitude": -74.00673
}
}
]
},
...
}
Results for: specific addresses
{
...
"local_map": {
"link": "https://www.google.com/maps/place/500+Comal+St,+Austin,+TX+78702/data=!4m2!3m1!1s0x8644b5b0e222f353:0xbcb365f860da512d?sa=X&hl=en",
"image": "https://www.google.com/maps/vt/data=bzIjw9QAVygUra30-7PomAdH-pbGlikMaXRDAE9KHWrdwiYqvPJSOrpMcqU2cYN7vtfwEq6uU3Wl5D2mMU8OqxmFQ04d3nligB_NM0ACraOAlPJleXyZgunWDMkBkn0ghUD5UZJ4jqord7yM5H94af8lLtwEbNDrUJuk1o3G6eelS0l-73ifgtfGk73KeAJy8amNx3U2Zgeni_mWIvGkaZfhthpWvAk8ReSV17i4jYWR-wgAsg",
"streetview": {
"link": "https://www.google.com/maps/place/500+Comal+St,+Austin,+TX+78702,+United+States/@30.2624755,-97.7268184,3a,75y,294.27h,90t/data=!3m4!1e1!3m2!1s0SiB8M9D59AIhhY_cvJ5vg!2e0!4m2!3m1!1s0x8644b5b0e222f353:0xbcb365f860da512d?sa=X&hl=en&ved=2ahUKEwjqhbON76DlAhV1HjQIHQozC34QxB0wAHoECAoQAg",
"image": "https://geo1.ggpht.com/cbk?panoid=0SiB8M9D59AIhhY_cvJ5vg&output=thumbnail&cb_client=search.gws-prod/local-details-getcard.gps&thumb=2&yaw=294.27374&pitch=0&thumbfov=100&w=158&h=78"
}
},
"local_results": {
"address": "500 Comal St Austin, TX 78702",
"directions_link": "https://www.google.com/maps/dir//500+Comal+St,+Austin,+TX+78702/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x8644b5b0e222f353:0xbcb365f860da512d?sa=X&hl=en",
"places": [
{
"position": 1,
"title": "Bomb Tacos",
"place_id": "1569906711283131607",
"lsig": "AB86z5VP4kESjV2Ci7Ou2_g14dF5",
"place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=Austin%2C+TX%2C+Texas%2C+United+States&ludocid=1569906711283131607&q=Bomb+Tacos+500+Comal+St+Austin%2C+TX+78702&token=e3aa444178d7badb",
"rating": 3.5,
"reviews": 55
},
{
"position": 2,
"title": "The White Horse",
"place_id": "4298210679177660809",
"lsig": "AB86z5VDHCKTuwr8fdG55Pr5PSTs",
"place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=Austin%2C+TX%2C+Texas%2C+United+States&ludocid=4298210679177660809&q=The+White+Horse+500+Comal+St+Austin%2C+TX+78702&token=cc3bca034782d61c",
"rating": 4.5,
"reviews": 1188,
"price": "$"
}
]
},
...
}
Results for cafes nearby with New York coordinates and the radius
Note the additional within_radius place field that tells whether the returned place is within the requested radius. It's included only when radius parameter is specified and place has gps_coordinates.
{
...
"local_map": {
"image": "<URL to image>",
"gps_coordinates": {
"latitude": 40.58720089,
"longitude": -73.95245075
}
},
"local_results": {
"places": [
{
"position": 1,
"rating": 4.2,
"reviews": 481,
"reviews_original": "(481)",
"price": "$10–20",
"description": "\"Amazing coffee, unbelievable bakery, customer service of impeccable level.\"",
"lsig": "AB86z5VZYr-FTY6IesiaDADqAb0V",
"thumbnail": "<URL to image>",
"place_id": "9892690493713382760",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&lat=40.58788097425217&lon=-73.95527792835198&ludocid=9892690493713382760&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 40.58724,
"longitude": -73.95279
},
"within_radius": false,
"title": "Coffee Spot Cafe",
"type": "Cafe",
"address": "0.1 mi · 1617 Jerome Ave"
},
{
"position": 2,
"rating": 4.3,
"reviews": 1200,
"reviews_original": "(1.2K)",
"price": "$$",
"description": "\"Coffee is delicious at a good price and the baristas are very friendly.\"",
"lsig": "AB86z5WVaciChFzzyHYgF8NNJRGC",
"thumbnail": "<URL to image>",
"place_id": "16559887682758424879",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&lat=40.58788097425217&lon=-73.95527792835198&ludocid=16559887682758424879&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 40.587753,
"longitude": -73.95511
},
"within_radius": true,
"title": "Tete-a-Tete",
"type": "Cafe",
"address": "66 ft · 2601 E 14th St"
},
{
"position": 3,
"rating": 4.9,
"reviews": 74,
"reviews_original": "(74)",
"price": "$1–10",
"description": "\"The coffee is exceptional—rich, full of flavor, and brewed to perfection.\"",
"lsig": "AB86z5WZNCQNbZ4LQ1Ugcd2H63Qq",
"thumbnail": "<URL to image>",
"place_id": "8162281612672421344",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&lat=40.58788097425217&lon=-73.95527792835198&ludocid=8162281612672421344&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 40.587402,
"longitude": -73.95384
},
"within_radius": true,
"title": "Drury Coffee",
"type": "Coffee shop",
"address": "435 ft · 1501 Sheepshead Bay Rd"
}
],
"more_locations_link": "https://www.google.com/search?sca_esv=fee75db914028769&gl=us&hl=en&tbm=lcl&q=cafes+nearby&rflfq=1&num=10&uule=a+cm9sZTogMQpwcm9kdWNlcjogMTIKdGltZXN0YW1wOiAxNzQ3ODMzOTkyNTY0MDAwCmxhdGxuZyB7CiAgbGF0aXR1ZGVfZTc6IDQwNTg3ODgxMAogIGxvbmdpdHVkZV9lNzogLTczOTU1Mjc3OQp9CnJhZGl1czogMTUwNzUwLjAKcHJvdmVuYW5jZTogMAo&sa=X&ved=2ahUKEwjmi-qC1bSNAxW_MVkFHe1WIiQQjGp6BAg0EAE"
},
...
}
Results for cafes nearby with Paris coordinates and the radius
Note the additional gl search parameter, in this case for France. With some countries, coordinates should be accompanied with the matching country parameter. Otherwise, incorrect search results are returned.
{
...
"local_map": {
"image": "<URL to image>",
"gps_coordinates": {
"latitude": 48.87340928,
"longitude": 2.33317852
}
},
"local_results": {
"places": [
{
"position": 1,
"rating": 4.8,
"reviews": 6100,
"reviews_original": "(6,1K)",
"price": "€20–30",
"description": "\"Friendly staffs, great food, nice atmosphere, awesome coffee !!\"",
"lsig": "AB86z5VNkcparGjpyAfyG6Op36vL",
"thumbnail": "<URL to image>",
"place_id": "273863179592697231",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=fr&google_domain=google.com&hl=en&lat=48.87069489094314&lon=2.3322903791831706&ludocid=273863179592697231&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 48.87271,
"longitude": 2.3288002
},
"within_radius": false,
"title": "La Petite Bleue",
"type": "Brunch",
"address": "350,0 m · 13 Rue Auber"
},
{
"position": 2,
"rating": 4.8,
"reviews": 1500,
"reviews_original": "(1,5K)",
"price": "€20–30",
"description": "\"Delicious & healthy food in a relaxing & friendly setting!\"",
"lsig": "AB86z5WJw7e4r4bYMPaXgIN8nG1l",
"thumbnail": "<URL to image>",
"place_id": "8082809158883825572",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=fr&google_domain=google.com&hl=en&lat=48.87069489094314&lon=2.3322903791831706&ludocid=8082809158883825572&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 48.873775,
"longitude": 2.3326602
},
"within_radius": false,
"title": "DS Café",
"type": "Restaurant",
"address": "350,0 m · 40 Bd Haussmann"
},
{
"position": 3,
"rating": 4.4,
"reviews": 9900,
"reviews_original": "(9,9K)",
"price": "€€€",
"description": "\"... Great attention, excelente food and incredible coffee.\"",
"lsig": "AB86z5VuYeJeRCyMPdGwpRwQDoYe",
"thumbnail": "<URL to image>",
"place_id": "14345340856536771728",
"place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=fr&google_domain=google.com&hl=en&lat=48.87069489094314&lon=2.3322903791831706&ludocid=14345340856536771728&q=cafes+nearby&radius=150.75",
"gps_coordinates": {
"latitude": 48.871105,
"longitude": 2.33364
},
"within_radius": true,
"title": "Grand Café Capucines",
"type": "Cafe",
"address": "110,0 m · 4 Bd des Capucines"
}
],
"more_locations_link": "https://www.google.com/search?sca_esv=fee75db914028769&gl=fr&hl=en&tbm=lcl&q=cafes+nearby&rflfq=1&num=10&uule=a+cm9sZTogMQpwcm9kdWNlcjogMTIKdGltZXN0YW1wOiAxNzQ3ODM2MzMyNjc1MDAwCmxhdGxuZyB7CiAgbGF0aXR1ZGVfZTc6IDQ4ODcwNjk0OQogIGxvbmdpdHVkZV9lNzogMjMzMjI5MDQKfQpyYWRpdXM6IDE1MDc1MC4wCnByb3ZlbmFuY2U6IDAK&sa=X&ved=2ahUKEwj4v5ve3bSNAxXYmbAFHa5IDecQjGp6BAgpEAE"
},
...
}
Results for q: plumber, and device: mobile
When the device is set to mobile, we sometimes see ads in local_results.places, which are identified by the ad field being set to true.
{
...
"local_results": {
"places": [
{
"position": 1,
"rating": 4.9,
"reviews": 2700,
"reviews_original": "(2.7K)",
"ad": true,
"title": "Champion AC & Plumbing",
"address": "Serves Austin",
"type": "Plumbers",
"years_in_business": "14+ years in business",
"hours": "Open 24/7",
"extensions": [
"Accepts urgent jobs · Family owned"
]
},
{
"position": 2,
"rating": 4.8,
"reviews": 210,
"reviews_original": "(210)",
"description": "\"Joe was prompt, identified the problem quickly and fixed my leak.\"",
"links": {
"phone": "+15127661519"
},
"title": "Austin Plumbery",
"type": "Plumber",
"years_in_business": "7+ years in business",
"hours": "Open ⋅ Closes 6 PM"
},
...
],
"more_locations_link": "https://www.google.com/search?q=plumber&sca_esv=61711e8701c58ca5&hl=en&gl=us&udm=1&sa=X&ved=2ahUKEwiknaOgtLeNAxVeT2cHHQTNKhIQxMEEegQINBAB"
},
...
}