US Restaurant Menus

FREEMIUM
By restaurantmenus
Updated 22 days ago
Food
8.8/10
Popularity Score
581ms
Latency
100%
Success Rate

US Restaurant Menus API Documentation

Restaurant Menus is an API providing access to a Database of over 350,000 Restaurant Menus and over 34,000,00 Individual menu items in the US

View API Details
Restaurants
GETRestaurant Geo Search
GETSearch By Fields
GETSearch Restaurants
GETRestaurant
GETRestaurant IDs in Search
GETRestaurants By Zip Code
GETMenu Items For Restaurant
GETRestaurants By State
Menu Items
GETSearch Menu Items
GETMenu Item Geo Search
GETMenu Item
GETSearch Menu Items By Fields
GETRestaurant Geo Search

Search Restaurants By Geo Coordinates

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
lonNUMBER
REQUIREDlongitude of search area
latNUMBER
REQUIREDlatitude of search area
distanceNUMBER
REQUIREDSearch Distance (in miles)
Optional Parameters
pageNUMBER
OPTIONALpage through results
Code Snippet
unirest.get("https://us-restaurant-menus.p.rapidapi.com/restaurants/search/geo?page=1&lon=-73.992378&lat=40.68919&distance=1")
.header("X-RapidAPI-Host", "us-restaurant-menus.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://us-restaurant-menus.p.rapidapi.com/restaurants/search/geo
Request Method: GET
Response Headers
"access-control-allow-origin": "*"
"content-type": "application/json; charset=utf-8"
"date": "Fri, 28 Jun 2019 05:57:44 GMT"
"etag": "W/"2667-Zhz4cJL+E0sYhBTa5uIaKi7dAYo""
"server": "RapidAPI-1.0.16"
"via": "1.1 vegur"
"x-powered-by": "Express"
"x-rapidapi-region": "AWS - us-west-2"
"x-rapidapi-version": "1.0.16"
"content-length": "9831"
"connection": "Close"
Response Body

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.get("https://us-restaurant-menus.p.rapidapi.com/restaurants/search/geo?page=1&lon=-73.992378&lat=40.68919&distance=1")
.header("X-RapidAPI-Host", "us-restaurant-menus.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication