1 credit per call4 endpoints11 datapointsChecked working 6 Dec 2026
Yelp API
Yelp API for business search, business details, menus and reviews as JSON: rating, review count, price level and review text.
{
"success": true,
"data": {
"query": "gary danko",
"location": "San Francisco, CA",
"page": 1,
"results": [
{
"position": 1,
"encid": "WavvLdfdP6g8aZTtbBQHTw",
"alias": "gary-danko-san-francisco",
"name": "Gary Danko",
"url": "https://www.yelp.com/biz/gary-danko-san-francisco",
"rating": 4.5,
"review_count": 6149,
"price": "$$$$",
"categories": [
{
"alias": "newamerican",
"title": "New American"
},
{
"alias": "french",
"title": "French"
},
{
"alias": "cocktailbars",
"title": "Cocktail Bars"
}
],
"address": {
"line1": "800 N Point St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/NjJm1P5NuiltDjbWYB4WFw/1000s.jpg"
},
{
"position": 2,
"encid": "q2EbLD93gEO5uXXx7Pk3bw",
"alias": "benu-san-francisco-4",
"name": "Benu",
"url": "https://www.yelp.com/biz/benu-san-francisco-4",
"rating": 4.3,
"review_count": 1282,
"price": "$$$$",
"categories": [
{
"alias": "asianfusion",
"title": "Asian Fusion"
},
{
"alias": "wine_bars",
"title": "Wine Bars"
},
{
"alias": "seafood",
"title": "Seafood"
}
],
"address": {
"line1": "22 Hawthorne St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/-7TMz5LW8NSeLeq895nNgA/1000s.jpg"
},
{
"position": 3,
"encid": "L5vSeC_sa3TUQW_lticqyA",
"alias": "chapeau-san-francisco",
"name": "Chapeau",
"url": "https://www.yelp.com/biz/chapeau-san-francisco",
"rating": 4.3,
"review_count": 3005,
"price": "$$$",
"categories": [
{
"alias": "french",
"title": "French"
}
],
"address": {
"line1": "126 Clement St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/Hbw_2rt0NTcHOjoLXeZGyw/1000s.jpg"
}
],
"has_more": true,
"next_page": 2
},
"meta": {
"endpoint_family": "business_search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | encidstring | aliasstring | namestring | urlurl | ratingnumber | review_countinteger | pricestring | categoriesobject[] | addressobject | photourl |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | WavvLdfdP6g8aZTtbBQHTw | gary-danko-san-francisco | Gary Danko | https://www.yelp.com/biz/gary-danko-san-francisco | 4.5 | 6149 | $$$$ | [3 items] | {2 fields} | https://s3-media0.fl.yelpcdn.com/bphoto/NjJm1P5NuiltDjbWYB4WFw/1000s.jpg |
| 2 | 2 | q2EbLD93gEO5uXXx7Pk3bw | benu-san-francisco-4 | Benu | https://www.yelp.com/biz/benu-san-francisco-4 | 4.3 | 1282 | $$$$ | [3 items] | {2 fields} | https://s3-media0.fl.yelpcdn.com/bphoto/-7TMz5LW8NSeLeq895nNgA/1000s.jpg |
| 3 | 3 | L5vSeC_sa3TUQW_lticqyA | chapeau-san-francisco | Chapeau | https://www.yelp.com/biz/chapeau-san-francisco | 4.3 | 3005 | $$$ | [1 item] | {2 fields} | https://s3-media0.fl.yelpcdn.com/bphoto/Hbw_2rt0NTcHOjoLXeZGyw/1000s.jpg |
[
{
"position": 1,
"encid": "WavvLdfdP6g8aZTtbBQHTw",
"alias": "gary-danko-san-francisco",
"name": "Gary Danko",
"url": "https://www.yelp.com/biz/gary-danko-san-francisco",
"rating": 4.5,
"review_count": 6149,
"price": "$$$$",
"categories": [
{
"alias": "newamerican",
"title": "New American"
},
{
"alias": "french",
"title": "French"
},
{
"alias": "cocktailbars",
"title": "Cocktail Bars"
}
],
"address": {
"line1": "800 N Point St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/NjJm1P5NuiltDjbWYB4WFw/1000s.jpg"
},
{
"position": 2,
"encid": "q2EbLD93gEO5uXXx7Pk3bw",
"alias": "benu-san-francisco-4",
"name": "Benu",
"url": "https://www.yelp.com/biz/benu-san-francisco-4",
"rating": 4.3,
"review_count": 1282,
"price": "$$$$",
"categories": [
{
"alias": "asianfusion",
"title": "Asian Fusion"
},
{
"alias": "wine_bars",
"title": "Wine Bars"
},
{
"alias": "seafood",
"title": "Seafood"
}
],
"address": {
"line1": "22 Hawthorne St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/-7TMz5LW8NSeLeq895nNgA/1000s.jpg"
},
{
"position": 3,
"encid": "L5vSeC_sa3TUQW_lticqyA",
"alias": "chapeau-san-francisco",
"name": "Chapeau",
"url": "https://www.yelp.com/biz/chapeau-san-francisco",
"rating": 4.3,
"review_count": 3005,
"price": "$$$",
"categories": [
{
"alias": "french",
"title": "French"
}
],
"address": {
"line1": "126 Clement St",
"city": "San Francisco"
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/Hbw_2rt0NTcHOjoLXeZGyw/1000s.jpg"
}
]position,encid,alias,name,url,rating,review_count,price,categories,address,photo
1,WavvLdfdP6g8aZTtbBQHTw,gary-danko-san-francisco,Gary Danko,https://www.yelp.com/biz/gary-danko-san-francisco,4.5,6149,$$$$,"[{""alias"":""newamerican"",""title"":""New American""},{""alias"":""french"",""title"":""French""},{""alias"":""cocktailbars"",""title"":""Cocktail Bars""}]","{""line1"":""800 N Point St"",""city"":""San Francisco""}",https://s3-media0.fl.yelpcdn.com/bphoto/NjJm1P5NuiltDjbWYB4WFw/1000s.jpg
2,q2EbLD93gEO5uXXx7Pk3bw,benu-san-francisco-4,Benu,https://www.yelp.com/biz/benu-san-francisco-4,4.3,1282,$$$$,"[{""alias"":""asianfusion"",""title"":""Asian Fusion""},{""alias"":""wine_bars"",""title"":""Wine Bars""},{""alias"":""seafood"",""title"":""Seafood""}]","{""line1"":""22 Hawthorne St"",""city"":""San Francisco""}",https://s3-media0.fl.yelpcdn.com/bphoto/-7TMz5LW8NSeLeq895nNgA/1000s.jpg
3,L5vSeC_sa3TUQW_lticqyA,chapeau-san-francisco,Chapeau,https://www.yelp.com/biz/chapeau-san-francisco,4.3,3005,$$$,"[{""alias"":""french"",""title"":""French""}]","{""line1"":""126 Clement St"",""city"":""San Francisco""}",https://s3-media0.fl.yelpcdn.com/bphoto/Hbw_2rt0NTcHOjoLXeZGyw/1000s.jpgRecorded from our API · 3 items shown · 11 datapoints per itemGET /v1/yelp/search?query=gary+danko&location=San+Francisco%2C+CA
11 datapoints
Identity
- encidstring
- namestring
Contact
- urlurl
Location
- addressobject
Reputation
- ratingnumber
- review_countinteger
- photourl
Price
- pricestring
Other
- positioninteger
- aliasstring
- categoriesobject[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/yelp/search?query=gary+danko&location=San+Francisco%2C+CA" \
-H "X-API-Key: $API_KEY"Yelp · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/yelp/business | business | business | 1 credit |
GET/v1/yelp/menu | business | businessmenupopular_itemsowner_menu_url | 1 credit |
GET/v1/yelp/reviews | business+3 optional | businessreview_countreviews | 1 credit |
GET/v1/yelp/search | querylocation+2 optional | positionencidaliasnameurlrating+5 more | 1 credit |
Overview
About the Yelp API
What you can get
The Yelp API returns Yelp business and review data as JSON through 4 endpoints.
- Search:
searchtakes aqueryand alocation, withlimitandpage. The recorded search for "gary danko" in San Francisco returnsresults, each withname,alias,rating,review_count,price,categories,addressandurl, plushas_moreandnext_page. - Businesses and menus:
businessandmenueach take abusiness. - Reviews:
reviewstakes abusiness, withsort(relevance, newest, oldest, highest, lowest or elite),ratingandafter. The recorded reviews haverating,text,languageandcreated_at, withtotal,has_moreandnext_after.
How a call works
Search, then read reviews: the recorded search result has alias gary-danko-san-francisco, and the recorded reviews call passes that alias as business. So GET /v1/yelp/search?query=gary danko&location=San Francisco, CA, then GET /v1/yelp/reviews?business=gary-danko-san-francisco&sort=newest. Every successful call costs 1 credit; failed calls cost nothing.
More reviews APIs
Use cases
Monitor new reviews and ratings for your locations
Use the Yelp API to monitor new reviews and ratings for your locationsCompare ratings and price levels across competitors in a city
Use the Yelp API to compare ratings and price levels across competitors in a cityCompare restaurant menus across a city or cuisine
Use the Yelp API to compare restaurant menus across a city or cuisineAnalyse review text for recurring complaints or praise
Use the Yelp API to analyse review text for recurring complaints or praiseFAQ
Questions
How much does the Yelp API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
How do I get only the newest or lowest-rated reviews?
Pass `sort=newest` or `sort=lowest` to `reviews`, or add a `rating` filter.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official Yelp API?
No. Perceptlayer is an independent service and is not affiliated with Yelp. It returns Yelp data as JSON with a Perceptlayer key, so there is no Yelp developer account, app review or partner approval to get first. It only reads data: if Yelp has an official API and you need to act on your own Yelp account, such as posting, managing orders or reading private data, use that one.
Should I build a Yelp scraper instead?
You can, but a Yelp scraper is code you maintain: page changes break it, requests get blocked, and Yelp's terms govern how you collect data. The Yelp API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Yelp API with 100 free credits
No credit card. Failed calls are never billed.