Google Local "Places" Results API

The Google Local "Places" Results API allows a user to scrape the results of Google Places search. SerpApi is able to make sense of this information and extract ads, local_results and discover_more_places result blocks. Each of this result blocks could contain title, reviews, ratings, price, type, address, description, review, hours, thumbnail, gps_coordinates, place_id (ludocid and lsig parameters), links and more.

To scrape Google Local "Places" results with SerpApi, create a search with these parameters:

API Parameters

tbm

Required

Parameter must be set to lcl. (I.e., tbm=lcl)

API Examples

Results for: stores

This kind of results are usualy seen when you search for stores or retail chains (e.g. "McDonald's", "Walmart", "Costco", etc.).
Results for: stores

JSON Example

{
  ...
  "local_results": [
    {
      "position": 1,
      "title": "McDonald's",
      "place_id": "2142927458143177356",
      "lsig": "AB86z5W5r155sIcs3jqfYkm9Y8Fp",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=2142927458143177356&q=McDonald%27s&tbm=lcl&token=16c37bb72affc4f2",
      "address": "Austin, TX",
      "phone": "(512) 442-0412",
      "hours": "Open ⋅ Closes 12AM",
      "gps_coordinates": {
        "latitude": 30.260337999999994,
        "longitude": -97.7581347
      },
      "links": {
        "website": "https://www.mcdonalds.com/us/en-us/location/TX/AUSTIN/1209-BARTON-SPRINGS/4941.html?cid=RF:YXT:GMB::Clicks",
        "directions": "https://www.google.com/maps/dir//McDonald's,+1209+Barton+Springs+Rd,+Austin,+TX+78704/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x8644b51bd54fc423:0x1dbd352b620e0a8c?sa=X&hl=en"
      }
    },
    {
      "position": 2,
      "title": "McDonald's",
      "place_id": "9805384691487752421",
      "lsig": "AB86z5VyxFwo5fQ1DvfVdezN7KgH",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=9805384691487752421&q=McDonald%27s&tbm=lcl&token=c6e64d6f4e535e32",
      "address": "Austin, TX",
      "phone": "(512) 926-1234",
      "hours": "Open 24 hours",
      "gps_coordinates": {
        "latitude": 30.2723144,
        "longitude": -97.69689249999999
      },
      "links": {
        "website": "https://www.mcdonalds.com/us/en-us/location/TX/AUSTIN/1143-12-AIRPORT-BLVD/11150.html?cid=RF:YXT:GMB::Clicks",
        "directions": "https://www.google.com/maps/dir//McDonald's,+1143+1+2+Airport+Blvd,+Austin,+TX+78721/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x8644b6760cfcb3c7:0x8813b96cfe2e40e5?sa=X&hl=en"
      }
    },
    {
      "position": 3,
      "title": "McDonald's",
      "place_id": "16621589155332527133",
      "lsig": "AB86z5Vz8AUqEhQ-Xm24BLlm6NAS",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=16621589155332527133&q=McDonald%27s&tbm=lcl&token=ea75103f26ab87a7",
      "address": "Austin, TX",
      "phone": "(512) 444-9229",
      "hours": "Open 24 hours",
      "gps_coordinates": {
        "latitude": 30.235705499999998,
        "longitude": -97.7241141
      },
      "links": {
        "delivery": "https://orderfood.google.com/chooseprovider?restaurantId=/g/1tdlc31t&hl=en-US&gei=mzOwXZD-NsnJwQLBhJjQCw&utm_source=search_restaurant_list&authuser=-1&fo_s=OA,AH&fo_m=CDoIOQgxCDAILwg7CCAIOAgqCCsIKAgYCCcIKQgPCBMICwgsCAwIEQgKCC0IFAgSCC4ICAgQCB4IHQgmCAMIAgg_CDIIPggzCCUIPAg9CDcIIggkCDYINAg1CCM%3D",
        "website": "https://www.mcdonalds.com/us/en-us/location/TX/AUSTIN/2426-E-RIVERSIDE/10919.html?cid=RF:YXT:GMB::Clicks",
        "directions": "https://www.google.com/maps/dir//McDonald's,+2426+E+Riverside+Dr,+Austin,+TX+78741/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x8644b44140af8311:0xe6abbf459614941d?sa=X&hl=en"
      }
    },
    ...
  ...
}

Results for: products

This kind of results are usualy seen when you search for a product (e.g. "Coffee", "Pizza", "barbeque", etc.) or places that fall under certain categories (e.g. "Romantic Restaurants", "Outdoor Bars", "Best Breakfasts", etc.).
Results for: products

JSON Example

{
  ...
  "local_results": [
    {
      "position": 1,
      "title": "The Onion",
      "place_id": "12932225639602287481",
      "lsig": "AB86z5W7dGwuI8I2AaSCdH_lrZ86",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=12932225639602287481&q=pizza&tbm=lcl",
      "rating": 4.1,
      "reviews_original": "(211)",
      "reviews": 211,
      "price": "$",
      "type": "Pizza",
      "address": "408 Brazos St",
      "hours": "Closed ⋅ Opens 11AM",
      "description": "Unassuming, late-night source for basic pies, pizza rolls & calzones in compact quarters.",
      "thumbnail": "<URL to image>",
      "gps_coordinates": {
        "latitude": 30.266487799999997,
        "longitude": -97.74212949999999
      },
      "service_options": {
        "dine_in": false,
        "takeout": true,
        "delivery": true
      }
    },
    {
      "position": 2,
      "title": "The Backspace",
      "place_id": "12251292710800551076",
      "lsig": "AB86z5Wy5pFXdSXbp0m23A7ps9qP",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=12251292710800551076&q=pizza&tbm=lcl",
      "rating": 4.5,
      "reviews_original": "(448)",
      "reviews": 448,
      "price": "$$",
      "type": "Pizza",
      "address": "507 San Jacinto Blvd",
      "hours": "Closed ⋅ Opens 11:30AM",
      "description": "Thin-crust pies, small plates & beer/wine plus half-price deals during happy hour.",
      "thumbnail": "<URL to image>",
      "gps_coordinates": {
        "latitude": 30.266487799999997,
        "longitude": -97.74212949999999
      },
      "service_options": {
        "dine_in": false,
        "takeout": true,
        "delivery": false
      }
    },
    {
      "position": 3,
      "title": "Roppolo’s Pizzeria",
      "place_id": "14363647147486768618",
      "lsig": "AB86z5W5p9_ndTaOi9QltGz45C_4",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=14363647147486768618&q=pizza&tbm=lcl",
      "rating": 4.3,
      "reviews_original": "(676)",
      "reviews": 676,
      "price": "$",
      "type": "Pizza",
      "address": "316 E 6th St",
      "hours": "Closed ⋅ Opens 11AM",
      "description": "An assortment of pies (gluten-free available), panini & salads with a few wine & beer options.",
      "thumbnail": "<URL to image>",
      "gps_coordinates": {
        "latitude": 30.266487799999997,
        "longitude": -97.74212949999999
      },
      "service_options": {
        "dine_in": false,
        "takeout": true
      }
    },
    ...
  ],
  "discover_more_places": [
    {
      "title": "Takeout",
      "link": "https://www.google.com/search?hl=en&gl=us&tbm=lcl&q=takeout+food&rflfq=1&num=10&uule=w+CAQQCFISCS8DzKCZtUSGEXrVadRLRptd&lsspp=CThO6ow1fVPD&rlt=Takeout&owsq=pizza&sa=X&ved=2ahUKEwii-6mvzIjqAhVJRDABHe88AmUQ9s8CMAV6BAgAEAM",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&q=Takeout&tbm=lcl&uule=w%2BCAQQCFISCS8DzKCZtUSGEXrVadRLRptd",
      "thumbnail": "<URL to image>"
    },
    {
      "title": "Delivery",
      "link": "https://www.google.com/search?hl=en&gl=us&tbm=lcl&q=Delivery+Food&rflfq=1&num=10&uule=w+CAQQCFISCS8DzKCZtUSGEXrVadRLRptd&lsspp=&rlt=Delivery&owsq=pizza&sa=X&ved=2ahUKEwii-6mvzIjqAhVJRDABHe88AmUQ9s8CMAZ6BAgAEAU",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&q=Delivery&tbm=lcl&uule=w%2BCAQQCFISCS8DzKCZtUSGEXrVadRLRptd",
      "thumbnail": "<URL to image>"
    },
    ...
  ],
  ...
}

Results for: specific place

This kind of results are obtained by providing place_id (ludocid) parameter of the specific place. This parameter is available as part of the SerpApi Local Pack API and Places Results API.
In the example below, by providing the place_id (ludocid=1101873355030580567) as part of the SerpApi search, we are geting only the specific Domino's Pizza resturant.
Results for: specific place

JSON Example

{
  ...
  "ads": [
    {
      "position": 1,
      "title": "Domino's Pizza",
      "place_id": "1101873355030580567",
      "lsig": "AB86z5W4Sct0nI6RGlxvSmYe8gtC",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=1101873355030580567&q=pizza&tbm=lcl&token=a9696c4b992587cd",
      "rating": 3.4,
      "reviews_original": "(73)",
      "reviews": 73,
      "price": "$",
      "type": "Pizza delivery",
      "address": "3701 Guadalupe St",
      "phone": "(512) 580-6488",
      "hours": "Closed ⋅ Opens 10AM",
      "gps_coordinates": {
        "latitude": 30.302094,
        "longitude": -97.738188
      },
      "links": {
        "website": "https://www.google.com/aclk?sa=l&ai=DChcSEwiHrcDrpLLlAhULboYKHQDVBncYABAAGgJ2dQ&sig=AOD64_3Dq_lTqO_MdrmtahxhZyoi9G7Vyw&q=&ctype=99&ved=0ahUKEwj4x7rrpLLlAhUjzlkKHQ5mAs4QhKwBCB8&adurl=",
        "directions": "https://www.google.com/aclk?sa=l&ai=DChcSEwiHrcDrpLLlAhULboYKHQDVBncYABABGgJ2dQ&sig=AOD64_0i0x-t8WjsqlVJA2v6lJAGYxlFxg&adurl=&ctype=50&q="
      }
    }
  ],
  "local_results": [
    {
      "position": 1,
      "title": "Domino's Pizza",
      "place_id": "1101873355030580567",
      "lsig": "AB86z5W4Sct0nI6RGlxvSmYe8gtC",
      "place_id_search": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=austin%2C+texas%2C+united+states&ludocid=1101873355030580567&q=pizza&tbm=lcl&token=a9696c4b992587cd",
      "rating": 3.4,
      "reviews_original": "(74)",
      "reviews": 74,
      "price": "$",
      "address": "3701 Guadalupe St",
      "phone": "(512) 580-6488",
      "hours": "Closed ⋅ Opens 10AM",
      "description": "Delivery/carryout chain offering a wide range of pizza, plus chicken & other sides.",
      "gps_coordinates": {
        "latitude": 30.302094,
        "longitude": -97.738188
      },
      "links": {
        "website": "https://www.dominos.com/en/?utm_source=google&utm_medium=loclist&utm_campaign=localmaps",
        "directions": "https://www.google.com/maps/dir//Domino's+Pizza,+3701+Guadalupe+St,+Austin,+TX+78705/data=!4m6!4m5!1m1!4e2!1m2!1m1!1s0x8644ca7ee29673cd:0xf4aa3fa7a10cd57?sa=X&hl=en"
      }
    }
  ]
  ...
}