RapidAPI logo

Sign Up

Log In

Hoppit Restaurant Guide

FREEMIUM
By hoppitapi
Updated 4 months ago
Location
6/10
Popularity Score
126ms
Latency
-
Success Rate

Hoppit Restaurant Guide API Documentation

Dubbed as "Yelp meets Pandora," the Hoppit API answers the ongoing question "Where should we eat tonight?" by giving you access to the restaurant data used by our award-winning applications, as seen on FOX, CBS, and Mashable. This includes the nation's largest repository of high-resolution restaurant photography and "Vibe" data, available for 20 U.S. cities. Filter restaurants, bars, and coffee shops by type of Vibe (e.g. Cozy, Hipster, Romantic) and scenario (e.g. with a Date, with a Colleague, with Children), as well as by price, cuisine (e.g. Italian), and meal (e.g. Brunch). Perfect for developers of travel, lifestyle, food, social, local applications who wish to surface the amazing content that Hoppit users interact with every second. Available for New York, Brooklyn, San Francisco, Chicago, Boston, Washington D.C., Los Angeles, San Diego, Seattle, Portland, Houston, Dallas, Austin, Atlanta, Philadelphia, Miami, New Orleans, Las Vegas, and Denver.

View API Details
POSTGet Places
POSTGet Place
POSTGet Vibes List
POSTGet Places

Retrieves a list of places in Hoppit based on search criteria

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
locationSTRING
REQUIREDCity,State
limitNUMBER
REQUIREDResults per page (max: 20)
Optional Parameters
selectedVibesSTRING
OPTIONALEnter comma separated vibe ids. Use Vibe List endpoint to get list
pageNumberNUMBER
OPTIONALPage number (0-based offset)
noiseNUMBER
OPTIONALExperimental: Enter 1, 2, or 3 for good for conversation, loud, very loud
radiusNUMBER
OPTIONALRadius to search within
searchTermsSTRING
OPTIONALKeywords (e.g. pizza)
latNUMBER
OPTIONALLatitude
lngNUMBER
OPTIONALLongitude
VerboseNUMBER
OPTIONALIncludes extra details
priceNUMBER
OPTIONALEnter 1, 2, or 3 for reasonable, pricey, "For the 1%"
Request Snippet
unirest.post("https://hoppit.p.rapidapi.com/getPlaces")
.header("X-RapidAPI-Host", "hoppit.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("selectedVibes=1,5")
.send("pageNumber=0")
.send("noise=1")
.send("radius=5")
.send("searchTerms=pizza")
.send("lat=41.878221")
.send("lng=-87.629786")
.send("Verbose=1")
.send("price=2")
.send("location=Chicago,IL")
.send("limit=15")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://hoppit.p.rapidapi.com/getPlaces")
.header("X-RapidAPI-Host", "hoppit.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("selectedVibes=1,5")
.send("pageNumber=0")
.send("noise=1")
.send("radius=5")
.send("searchTerms=pizza")
.send("lat=41.878221")
.send("lng=-87.629786")
.send("Verbose=1")
.send("price=2")
.send("location=Chicago,IL")
.send("limit=15")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication