Yahoo Local Search JSON Data Feeds

Local Search Web Service allows you to search the Internet for businesses near a specified location, and now returns both the latitude and longitude and Yahoo! user ratings of the establishment, as well as search by business categories.

Sample JSON Query

 The following JSON query searches of taco restaurants in Zipcode 94122 returning 4 results

http://local.yahooapis.com/LocalSearchService/V3/localSearch?appid=YahooDemo&query=taco&zip=94122&results=4&output=json

 

{
    "ResultSet": {
        "totalResultsAvailable": "541",
        "totalResultsReturned": "2",
        "firstResultPosition": "1",
        "ResultSetMapUrl": "http:\/\/maps.yahoo.com\/broadband\/?q1=San+Francisco%2C+CA+94122&tt=taco&tp=1",
        "Result": [
            {
                "id": "21377818",
                "Title": "Thanh Long",
                "Address": "4101 Judah St",
                "City": "San Francisco",
                "State": "CA",
                "Phone": "(415) 665-1146",
                "Latitude": "37.760342",
                "Longitude": "-122.506051",
                "Rating": {
                    "AverageRating": "4.5",
                    "TotalRatings": "65",
                    "TotalReviews": "33",
                    "LastReviewDate": "1247690727",
                    "LastReviewIntro": "Okay...whoever rated this place anything below 4 stars is an idiot. This place has the best food in the Bay Area hands down. The Roast Crab, Garlic Noodles, Praws, Calamari, desserts...(list goes on and on) are to die for!!! I've been to a lot of restaurants in the United States and this is definitely in my top 3."
                },
                "Distance": "1.16",
                "Url": "http:\/\/local.yahoo.com\/info-21377818-thanh-long-san-francisco",
                "ClickUrl": "http:\/\/local.yahoo.com\/info-21377818-thanh-long-san-francisco",
                "MapUrl": "http:\/\/maps.yahoo.com\/maps_result?q1=4101+Judah+St+San+Francisco+CA&gid1=21377818",
                "BusinessUrl": "http:\/\/www.anfamily.com\/Restaurants\/thanhlong_restaurant\/displaypages\/homepage.html",
                "BusinessClickUrl": "http:\/\/www.anfamily.com\/Restaurants\/thanhlong_restaurant\/displaypages\/homepage.html",
                "Categories": {
                    "Category": [
                        {
                            "id": "96926175",
                            "content": "Vietnamese Restaurants"
                        },
                        {
                            "id": "96926179",
                            "content": "Seafood Restaurants"
                        },
                        {
                            "id": "96926181",
                            "content": "Latin American"
                        },
                        {
                            "id": "96926229",
                            "content": "Southeast Asian Restaurants"
                        },
                        {
                            "id": "96926234",
                            "content": "Carry Out & Take Out"
                        },
                        {
                            "id": "96926236",
                            "content": "Restaurants"
                        },
                        {
                            "id": "96929155",
                            "content": "Mexican Restaurants"
                        }
                    ]
                }
            },
            {
                "id": "21342579",
                "Title": "La Taquera-A",
                "Address": "2889 Mission St",
                "City": "San Francisco",
                "State": "CA",
                "Phone": "(415) 285-7117",
                "Latitude": "37.750973",
                "Longitude": "-122.418165",
                "Rating": {
                    "AverageRating": "4.5",
                    "TotalRatings": "59",
                    "TotalReviews": "43",
                    "LastReviewDate": "1218917613",
                    "LastReviewIntro": "As a San Francisco native, I thought I'd be hard-pressed to find a terrible Taquera joint. Well, I look no further. This place is ABSOLUTELY TERRIBLE. From the moment I ordered (the lady behind the counter made a rude comment about me to another worker, she didnt know i spoke spanish) I was confused to see set prices for burritos but upon ordering, my sub-total was no where near the listed price. $ 1.20 for advocadoes?! $ .50 for cheese?! Last time I checked, cheese was a main ingredient in a burrito. Anyway, the damage was $18 bucks for a two burritos (in the Mission?!) I asked for chips and they said it was extra. For 18 bucks, I think chips should be complimentary. Whats worse is, when we opend up the foil, the whole thing just fell apart and it was gone in 5 bites. Absolutely THE WORSE TAQUERIA IN SF. My advice, go to La Corneta right down the block. They are more friendly, the portions are satisfying, and they dont charge you 9 bucks for crappy burrito. Not to mention I have never been insulted by any of their staff members."
                },
                "Distance": "3.70",
                "Url": "http:\/\/local.yahoo.com\/info-21342579-la-taqueraa-san-francisco",
                "ClickUrl": "http:\/\/local.yahoo.com\/info-21342579-la-taqueraa-san-francisco",
                "MapUrl": "http:\/\/maps.yahoo.com\/maps_result?q1=2889+Mission+St+San+Francisco+CA&gid1=21342579",
                "Categories": {
                    "Category": [
                        {
                            "id": "96926181",
                            "content": "Latin American"
                        },
                        {
                            "id": "96926234",
                            "content": "Carry Out & Take Out"
                        },
                        {
                            "id": "96926236",
                            "content": "Restaurants"
                        },
                        {
                            "id": "96926242",
                            "content": "Fast Food"
                        },
                        {
                            "id": "96929155",
                            "content": "Mexican Restaurants"
                        }
                    ]
                }
            }
        ]
    }
}