Bing Local Pack API

For some requests, Bing 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 and image information. From the local_results, we are able to extract position title, reviews, price, address, hours, thumbnail, gps_coordinates, place_id and more.

API Examples

Local pack results overview

Local pack results overview

JSON Example

{
  ...
  "local_map": {
    "link": "https://www.bing.com/maps?&ty=17&q=Coffee&mb=30.29528~-97.783752~30.251074~-97.742966&ppois=30.266929626464844_-97.74571228027344__~30.26499366760254_-97.74609375__~30.26618766784668_-97.74296569824219__~30.29528045654297_-97.78375244140625__~30.251073837280273_-97.74933624267578__~30.268455505371094_-97.74267578125__~&usebfpr=true&v=2&sV=1",
    "image": "https://www.bing.com/maps/geoplat/REST/v1/Imagery/Map/RoadVibrant/30.273177,-97.763359/12?ms=646,200&pp=30.26693,-97.745712;S511&pp=30.264994,-97.746094;S518&pp=30.266188,-97.742966;S518&pp=30.29528,-97.783752;S518&pp=30.251074,-97.749336;S518&pp=30.268456,-97.742676;S12&pp=30.265371,-97.74057;S12&pp=30.264091,-97.743484;S12&pp=30.266188,-97.742966;S12&pp=30.265856,-97.74646;S12&pp=30.265631,-97.738426;S12&pp=30.271955,-97.741348;S12&pp=30.25935,-97.746048;S12&pp=30.269884,-97.75386;S12&pp=30.266268,-97.74015;S12&pp=30.26693,-97.745712;S12&pp=30.26866,-97.742599;S12&pp=30.27067,-97.753517;S12&ppsc=dpss,cfp&ml=Basemap,Landmarks,OsmBuildings&key=AnTcaqBi2ypp0xI-OZNi4W_ik2KhjgpqioTAtXLC8GzkMBQRMlyxvxyTnd5b73im&c=en-US&fmt=jpeg&od=1&logo=n&da=ro",
    "gps_coordinates": {
      "latitude": "30.29528045654297",
      "longitude": "-97.78375244140625"
    }
  },
  "local_results": {
    "places": [
      {
        "position": 1,
        "place_id": "YN860x14962782",
        "title": "Halcyon",
        "rating": 3.5,
        "reviews": 807,
        "reviews_link": "https://www.yelp.com/biz/halcyon-austin-2?adjust_creative=bing&utm_campaign=yelp_feed&utm_medium=feed_v2&utm_source=bing",
        "price": "$$",
        "hours": "Closed · Opens 7 AM",
        "address": "218 W 4th St, Austin, TX 78701",
        "links": {
          "directions": "https://www.bing.com/maps/directions?rtp=adr.~pos.30.266929626464844_-97.74571228027344_218+W+4th+St%2c+Austin%2c+TX+78701_Halcyon_(512)+472-9637",
          "website": "http://www.halcyonaustin.com/"
        },
        "gps_coordinates": {
          "latitude": "30.266929626464844",
          "longitude": "-97.74571228027344"
        }
      },
      {
        "position": 2,
        "place_id": "YN860x18698703",
        "title": "Jo's Coffee",
        "rating": 3.5,
        "reviews": 497,
        "reviews_link": "https://www.yelp.com/biz/jos-hot-coffee-good-food-austin?adjust_creative=bing&utm_campaign=yelp_feed&utm_medium=feed_v2&utm_source=bing",
        "price": "$$",
        "hours": "Closed · Opens 7 AM",
        "address": "242 W 2nd St, Austin, TX 78701",
        "links": {
          "directions": "https://www.bing.com/maps/directions?rtp=adr.~pos.30.26499366760254_-97.74609375_242+W+2nd+St%2c+Austin%2c+TX+78701_Jo%27s+Coffee_(512)+469-9003",
          "website": "http://www.joscoffee.com/downtown-jos"
        },
        "gps_coordinates": {
          "latitude": "30.26499366760254",
          "longitude": "-97.74609375"
        }
      },
      {
        "position": 3,
        "place_id": "YN873x124875800",
        "title": "Houndstooth Coffee",
        "rating": 4.5,
        "reviews": 310,
        "reviews_link": "https://www.yelp.com/biz/houndstooth-coffee-austin-2?adjust_creative=bing&utm_campaign=yelp_feed&utm_medium=feed_v2&utm_source=bing",
        "price": "$$",
        "hours": "Closed · Opens 6:30 AM",
        "address": "401 Congress Ave Ste C, Austin, TX 78701",
        "links": {
          "directions": "https://www.bing.com/maps/directions?rtp=adr.~pos.30.26618766784668_-97.74296569824219_401+Congress+Ave+Ste+C%2c+Austin%2c+TX+78701_Houndstooth+Coffee_(512)+394-6051",
          "website": "http://www.houndstoothcoffee.com/"
        },
        "gps_coordinates": {
          "latitude": "30.26618766784668",
          "longitude": "-97.74296569824219"
        }
      },
      ...
    ]
  },
  ...
}

Inline local pack results

Inline local pack results

JSON Example

{
  ...
  "local_results": {
    "places": [
      {
        "position": 1,
        "place_id": "YN873x17775191300096700715",
        "title": "Newk's Eatery",
        "rating": 4,
        "reviews": 39,
        "price": "$",
        "mention": "\"/soups / salads/ pizza - but it's so delicious and fresh.\"",
        "thumbnail": "https://www.bing.com/th?id=A6lWSYLhK6Z0g4Q480x360&w=200&h=160&c=7&rs=1&qlt=80&cdv=1&pid=Local",
        "gps_coordinates": {
          "latitude": "30.266632080078125",
          "longitude": "-97.74365234375"
        }
      },
      {
        "position": 2,
        "place_id": "YN860x28653990",
        "title": "The Onion",
        "rating": 3.5,
        "reviews": 168,
        "price": "$",
        "mention": "The Ultimate 6th Street Pizza Slice Ranking",
        "thumbnail": "https://www.bing.com/th?id=Av2bk4T3sylX8ug480x360&w=200&h=160&c=7&rs=1&qlt=80&cdv=1&pid=Local",
        "gps_coordinates": {
          "latitude": "30.267438888549805",
          "longitude": "-97.74385833740234"
        }
      },
      {
        "position": 3,
        "place_id": "YN860x400811179",
        "title": "The Backspace",
        "rating": 4,
        "reviews": 653,
        "price": "$$",
        "mention": "The Essential Austin Pizza Restaurants",
        "thumbnail": "https://www.bing.com/th?id=AcsgxYPe3%252b%252bWCUQ480x360&w=200&h=160&c=7&rs=1&qlt=80&cdv=1&pid=Local",
        "gps_coordinates": {
          "latitude": "30.26698875427246",
          "longitude": "-97.74041748046875"
        }
      },
      ...
    ]
  },
  ...
}

Results for: specific addresses

Results for: specific addresses

JSON Example

{
  ...
  "local_map": {
    "link": "https://www.bing.com/local?lid=YN860x14962907&id=YN860x14962907&q=Elephant+Room+Austin+TX&name=Elephant+Room&cp=30.265623~-97.743454",
    "image": "https://www.bing.com/maps/geoplat/REST/v1/Imagery/Map/RoadVibrant/30.265623,-97.743454/15?ms=648,183&pp=30.265623,-97.743454;176&ml=Basemap,Landmarks,OsmBuildings&key=AnTcaqBi2ypp0xI-OZNi4W_ik2KhjgpqioTAtXLC8GzkMBQRMlyxvxyTnd5b73im&c=en-US&fmt=jpeg&od=1&logo=n&da=ro",
    "gps_coordinates": {
      "latitude": "30.265623092651367",
      "longitude": "-97.74345397949219"
    }
  },
  "local_results": {
    "places": [
      {
        "position": 1,
        "title": "Elephant Room",
        "rating": 4.5,
        "reviews": 170,
        "reviews_link": "https://www.tripadvisor.com/Attraction_Review-g30196-d605486-Reviews-Elephant_Room-Austin_Texas.html?m=17457",
        "hours": "Closed · Opens 4 PM",
        "address": "315 Congress Ave, Austin, TX 78701",
        "phone": "(512) 473-2279",
        "links": {
          "directions": "https://www.bing.com/maps/directions?rtp=adr.~pos.30.26573371887207_-97.74368286132812_315+Congress+Ave%2c+Austin%2c+TX+78701_Elephant+Room_(512)+473-2279",
          "website": "http://elephantroom.com/"
        }
      }
    ]
  },
  ...
}