Copied to clipboard!

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 (ludocid and lsig parameters) and more.

Local pack examples

Local pack for stores and places

GET https://serpapi.com/search?q=McDonald%27s Playground
{
  ...
  "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": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
    "gps_coordinates": {
      "latitude": 32.43115,
      "longitude": -99.733487,
      "altitude": 4363
    }
  },
  "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,
        "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_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5WZ0L4jOJdygGcgZJxwaZqT&ludocid=9217580661049740855&q=mcdonalds&tbm=lcl&token=ae38ed37970df6b0",
        "rating": "A",
        "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,
        "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_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5Vr7I7_Du4pdOcCURnP7CuQ&ludocid=9912131383807101605&q=mcdonalds&tbm=lcl&token=1af2526ee1d9a0e1",
        "rating": "B",
        "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,
        "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_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5XeRhYNfBmqLZSMRY-BHhld&ludocid=11465435962430160066&q=mcdonalds&tbm=lcl&token=16a71babbf1edec2",
        "rating": "C",
        "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
        }
      }
    ]
  },
  ...
}

Local pack for products

GET https://serpapi.com/search?q=Coffee Playground
{
  ...
  "local_map": {
    "link": "https://www.google.com/search?gl=us&hl=en&q=coffee&npsic=0&rflfq=1&rldoc=1&rlha=0&rllag=31463645,-100434170,406&tbm=lcl&sa=X&ved=2ahUKEwj03eej76DlAhXIqp4KHaLaCYwQtgN6BAgKEAQ",
    "image": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
    "gps_coordinates": {
      "latitude": 31.463645,
      "longitude": -100.43417,
      "altitude": 406
    }
  },
  "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=31463645,-100434170,406&tbm=lcl&sa=X&ved=2ahUKEwj03eej76DlAhXIqp4KHaLaCYwQjGp6BAgKEEM",
    "places": [
      {
        "position": 1,
        "title": "Coffee 101",
        "place_id": "5536776323385517191",
        "lsig": "AB86z5UohxoOgTaEvHiWu3iO13Pp",
        "place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5UohxoOgTaEvHiWu3iO13Pp&ludocid=5536776323385517191&q=coffee&tbm=lcl&token=2da0c44734e0fb94",
        "rating": 4.8,
        "reviews": 171,
        "price": "$",
        "type": "Coffee shop",
        "address": "101 N Main St",
        "description": "Quick bite · Fast service · Cozy",
        "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
        "gps_coordinates": {
          "latitude": 31.466922,
          "longitude": -100.43226299999999
        }
      },
      {
        "position": 2,
        "title": "Mesquite Bean Cafe",
        "place_id": "10126471353247102812",
        "lsig": "AB86z5VwF2a2cX4-c0Np-f-CBI8y",
        "place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5VwF2a2cX4-c0Np-f-CBI8y&ludocid=10126471353247102812&q=coffee&tbm=lcl&token=2795d0380c26b322",
        "rating": 4.2,
        "reviews": 51,
        "type": "Coffee shop",
        "address": "36 E Twohig Ave # 105",
        "description": "An OK place, standard cafe coffee, breakfast taco was good.",
        "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
        "gps_coordinates": {
          "latitude": 31.461953199999996,
          "longitude": -100.43473589999999
        }
      },
      {
        "position": 3,
        "title": "Stango's Coffee Shop",
        "place_id": "18038834826545638421",
        "lsig": "AB86z5U3n_dS5Ogipp47VQavSwAs",
        "place_id_search": "https://serpapi/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location_requested=austin%2C+tx%2C+texas%2C+united+states&lsig=AB86z5U3n_dS5Ogipp47VQavSwAs&ludocid=18038834826545638421&q=coffee&tbm=lcl&token=da4ef253ddae5d43",
        "rating": 4.5,
        "reviews": 422,
        "price": "$",
        "type": "Coffee shop",
        "hours": "Closed ⋅ Opens 11AM",
        "address": "221 S Chadbourne St",
        "description": "Cafe with pizza, sandwiches, beer & more",
        "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
        "gps_coordinates": {
          "latitude": 31.460369899999996,
          "longitude": -100.43607809999999
        }
      }
    ]
  },
  ...
}

Local pack for specific addresses

GET https://serpapi.com/search?q=500+Comal+St%2C+Austin%2C+TX+78702+United+States Playground
{
  ...
  "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_requested=Austin%2C+TX%2C+Texas%2C+United+States&lsig=AB86z5VP4kESjV2Ci7Ou2_g14dF5&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_requested=Austin%2C+TX%2C+Texas%2C+United+States&lsig=AB86z5VDHCKTuwr8fdG55Pr5PSTs&ludocid=4298210679177660809&q=The+White+Horse+500+Comal+St+Austin%2C+TX+78702&token=cc3bca034782d61c",
        "rating": 4.5,
        "reviews": 1188,
        "price": "$"
      }
    ]
  },
  ...
}