Yahoo! Local Pack API
For some requests, Yahoo 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
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.
Local pack results overview

{
...
"local_map": {
"link": "https://search.yahoo.com/local/s;_ylt=AwrEk5fm3gleZOYAexBXNyoA;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=coffee+shop&loc=woeid%3A2459115",
"image": "https://sgws2.maps.yahoo.com/mapimage?mflags=MKY&appid=search&locale=en_US&imf=jpg&imw=612&imh=160&poi=%3B%2C1-xs-gws.png%2C40.74559%2C-73.98795%3B%2C2-xs-gws.png%2C40.72396%2C-73.99643%3B%2C3-xs-gws.png%2C40.71802%2C-73.99914%3B%2C4-xs-gws.png%2C40.73377%2C-73.9931%3B%2C5-xs-gws.png%2C40.74359%2C-73.98635"
},
"local_results": {
"more_locations_link": "https://search.yahoo.com/local/s;_ylt=AwrEk5fm3gleZOYAixBXNyoA;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=coffee+shop&addr=New+York%2C+NY&loc=woeid%3A2459115",
"places": [
{
"position": 1,
"place_id": "117569391",
"title": "Stumptown Coffee Roasters",
"place_id_search": "https://search.yahoo.com/local/s;_ylt=AwrEk5fm3gleZOYAfBBXNyoA;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=coffee+shop&addr=New+York%2C+NY&loc=woeid%3A2459115&selectedId=117569391",
"type": "Coffee House",
"price": "$$",
"hours": "Open",
"rating": 4.5,
"reviews": 1391,
"address": "20 W 29th St, New York, NY",
"phone": "(855) 711-3385",
"links": {
"website": "https://www.stumptowncoffee.com/"
},
"gps_coordinates": {
"latitude": "40.74559",
"longitude": "-73.98795"
}
},
{
"position": 2,
"place_id": "77525819",
"title": "La Colombe Coffee",
"place_id_search": "https://search.yahoo.com/local/s;_ylt=AwrEk5fm3gleZOYAfxBXNyoA;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=coffee+shop&addr=New+York%2C+NY&loc=woeid%3A2459115&selectedId=77525819",
"type": "Coffee House",
"price": "$$",
"hours": "Closed",
"rating": 4.5,
"reviews": 666,
"address": "270 Lafayette St, New York, NY",
"phone": "(212) 625-1717",
"links": {
"website": "http://www.lacolombe.com/"
},
"gps_coordinates": {
"latitude": "40.72396",
"longitude": "-73.99643"
}
},
{
"position": 3,
"place_id": "11060299",
"title": "Kam Hing Coffee Shop",
"place_id_search": "https://search.yahoo.com/local/s;_ylt=AwrEk5fm3gleZOYAghBXNyoA;_ylu=X3oDMTByMjB0aG5zBGNvbG8DYmYxBHBvcwMxBHZ0aWQDBHNlYwNzYw--?p=coffee+shop&addr=New+York%2C+NY&loc=woeid%3A2459115&selectedId=11060299",
"type": "Bakery",
"price": "$",
"hours": "Open",
"rating": 4.5,
"reviews": 640,
"address": "118 Baxter St, New York, NY",
"phone": "(212) 925-0425",
"links": {
"website": "http://www.kam-hing-coffee-shop-new-york-2.sites.tablehero.com/"
},
"gps_coordinates": {
"latitude": "40.71802",
"longitude": "-73.99914"
}
},
...
]
},
...
}