YelpAPI

FREE
By serg.osipchuk
Updated 9 months ago
Food
8.8/10
Popularity Score
109ms
Latency
100%
Success Rate

YelpAPI API Documentation

Access local businesses data from the Yelp database.

View API Details
POSTgetAutocomplete
POSTgetBusinessReviews
POSTgetBusinesses
POSTgetBusinessesByPhoneNumber
POSTgetBusinessesByTransaction
POSTgetFeaturedEvent
POSTgetSingleBusiness
POSTgetSingleEvent
POSTmatchedBusinesses
POSTsearchEvent
POSTgetBusinesses

This endpoint returns up to 1000 businesses based on the provided search criteria. It has some basic information about the business.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accessTokenSTRING
REQUIREDYour private API key.
Optional Parameters
attributesLIST
OPTIONALAdditional filters to restrict search results. Possible values are: hot_and_new, request_a_quote, waitlist_reservation, cashback, deals, gender_neutral_restrooms
termSTRING
OPTIONALSearch term (e.g. "food", "restaurants"). If term isn’t included we search everything. The term keyword also accepts business names such as "Starbucks".
openNowSELECT
OPTIONALDefault to false. When set to true, only return the businesses open now. Notice that open_at and open_now cannot be used together.
openAtDATEPICKER
OPTIONALAn integer represending the Unix time in the same timezone of the search location. If specified, it will return business open at the given time. Notice that open_at and open_now cannot be used together.
localeSTRING
OPTIONALSpecify the locale to return the business information in.
radiusNUMBER
OPTIONALSearch radius in meters. If the value is too large, a AREA_TOO_LARGE error may be returned. The max value is 40000 meters (25 miles).
openAtDATEPICKER
OPTIONALAn integer represending the Unix time in the same timezone of the search location. If specified, it will return business open at the given time. Notice that open_at and open_now cannot be used together.
locationSTRING
OPTIONALRequired if either coordinate is not provided. Specifies the combination of "address, neighborhood, city, state or zip, optional country" to be used when searching for businesses.
offsetNUMBER
OPTIONALOffset the list of returned business results by this amount.
priceSELECT
OPTIONALPricing levels to filter the search result with: 1 = $, 2 = $$, 3 = $$$, 4 = $$$$. The price filter can be a list of comma delimited pricing levels. For example, "1, 2, 3" will filter the results to show the ones that are $, $$, or $$$.
termSTRING
OPTIONALSearch term (e.g. "food", "restaurants"). If term isn’t included we search everything. The term keyword also accepts business names such as "Starbucks".
coordinateMAP
OPTIONALRequired if location is not provided. coordinate of the location you want to search near by coma separated.
limitNUMBER
OPTIONALNumber of business results to return. By default, it will return 20. Maximum is 50.
categoriesSTRING
OPTIONALCategories to filter the search results with. See the list of supported categories. The category filter can be a list of comma delimited categories. For example, "bars,french" will filter by Bars and French. The category identifier should be used (for example "discgolf", not "Disc Golf").
sortBySTRING
OPTIONALSort the results by one of the these modes: best_match, rating, review_count or distance. By default it's best_match. The rating sort is not strictly sorted by the rating value, but by an adjusted rating value that takes into account the number of ratings, similar to a bayesian average. This is so a business with 1 rating of 5 stars doesn’t immediately jump to the top.
openNowSELECT
OPTIONALDefault to false. When set to true, only return the businesses open now. Notice that open_at and open_now cannot be used together.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication