Hunch will periodically document datasets for different verticals, which can easily be used through our API.
The Hunch API includes a large number of "local" results, such as restaurants, bars, and many other establishments and attractions. This data is the basis for the Hunch Local iPhone app and the Hunch Local website. You can easily use this data as well, taking advantage of the taste data we've already gathered.
To access local results in a particular region you can simply pass a bounding circle or bounding rectangle to most API calls. For example, your top 10 local recommendations in part of New York's East Village are given by the following call.
(This link will prompt you for your Hunch username and password.)
Often you will want to restrict your search to certain types of local result. To do so, you can restrict your search to one or more topics. Local data is contained in several API topics, all children of the
cat_local topic, for example:
- Clothing Stores -
- Coffee Shops -
- Grocery Stores -
- Hotels -
- Museums -
- Restaurants -
- Spas -
- ... and many more in the
cat_localtopic; see the list of API topics.
Thus we can restrict the above call to only coffee shop recommendations by adding a
You can pass these geographic and topic parameters not only to get-recommendations, but also to get-results for simply fetching un-personalized result data, get-similar-results for finding results similar to a particular result, get-activity for getting recent user activity in a set of results, and several other methods. Give them a try in the API console, and then build something cool!