Yelp Search API: Find Local Businesses as JSON
Turn a Yelp search into structured JSON. Send a keyword and a location to get up to 25 matching businesses with their Yelp IDs, ratings, review counts, price range, categories, address, coordinates, photos and opening hours. Sort by recommended, rating, review count or distance.
{
"search_metadata": {
"status": "Success",
"yelp_url": "https://www.yelp.com/search?find_desc=burger&find_loc=San+Francisco%2C+CA&sortby=recommended&start=0",
"total_time_taken": 1.67
},
"search_parameters": {
"engine": "yelp",
"find_desc": "burger",
"find_loc": "San Francisco, CA",
"sortby": "recommended",
"start": 0,
"limit": 10
},
"search_information": {
"total_results": 25,
"results_returned": 10,
"max_results": 25,
"total_results_is_capped": true
},
"total_time_taken": 1.67,
"organic_results": [
{
"position": 1,
"id": "YwhwhVHDOgci8uyZMcsy8A",
"alias": "maillards-smash-burgers-san-francisco",
"url": "https://www.yelp.com/biz/maillards-smash-burgers-san-francisco",
"name": "Maillards Smash Burgers",
"rating": 4.4,
"review_count": 185,
"price_range": null,
"categories": [
"Pop-Up Restaurants",
"Burgers"
],
"category_details": [
{
"id": "z_KDcqeOSOizpRRiZmcHbQ",
"title": "Pop-Up Restaurants",
"alias": "popuprestaurants"
},
{
"id": "xOZxI8RVdhwaBXKj8p5xjA",
"title": "Burgers",
"alias": "burgers"
}
],
"alternate_names": [],
"address": {
"line1": "1994 37th Ave",
"line2": null,
"line3": null,
"city": "San Francisco",
"state": null,
"postal_code": null,
"country": null,
"formatted": null
},
"neighborhoods": [
"Outer Sunset"
],
"coordinates": {
"latitude": 37.75241515,
"longitude": -122.4954512
},
"photo": "https://s3-media0.fl.yelpcdn.com/bphoto/vv6QHTot6AFfaEjB-cEkvg/ls.jpg",
"photo_id": "vv6QHTot6AFfaEjB-cEkvg",
"thumbnail": "https://s3-media0.fl.yelpcdn.com/bphoto/vv6QHTot6AFfaEjB-cEkvg/90s.jpg",
"hours": [
{
"day": "Monday",
"hours": [],
"intervals": [],
"is_closed": true
},
{
"day": "Tuesday",
"hours": [],
"intervals": [],
"is_closed": true
},
{
"day": "Wednesday",
"hours": [
"4:00 PM - 10:00 PM"
],
"intervals": [
{
"open": "4:00 PM",
"close": "10:00 PM",
"duration_minutes": 360,
"closes_next_day": false,
"is_24_hours": false
}
],
"is_closed": false
},
{
"day": "Thursday",
"hours": [
"4:00 PM - 10:00 PM"
],
"intervals": [
{
"open": "4:00 PM",
"close": "10:00 PM",
"duration_minutes": 360,
"closes_next_day": false,
"is_24_hours": false
}
],
"is_closed": false
},
{
"day": "Friday",
"hours": [
"4:00 PM - 11:00 PM"
],
"intervals": [
{
"open": "4:00 PM",
"close": "11:00 PM",
"duration_minutes": 420,
"closes_next_day": false,
"is_24_hours": false
}
],
"is_closed": false
},
{
"day": "Saturday",
"hours": [
"12:00 PM - 11:00 PM"
],
"intervals": [
{
"open": "12:00 PM",
"close": "11:00 PM",
"duration_minutes": 660,
"closes_next_day": false,
"is_24_hours": false
}
],
"is_closed": false
},
{
"day": "Sunday",
"hours": [
"12:00 PM - 9:00 PM"
],
"intervals": [
{
"open": "12:00 PM",
"close": "9:00 PM",
"duration_minutes": 540,
"closes_next_day": false,
"is_24_hours": false
}
],
"is_closed": false
}
],
"timezone": "America/Los_Angeles",
"service_area": {
"eligible": false,
"primary_location": null
},
"container_business": null,
"active_alert": null,
"verified_licenses": [],
"yelp_guaranteed": false
}
],
"pagination": {
"start": 0,
"count": 10,
"total": 25,
"has_more": true,
"next_start": 10,
"next_page_token": "eyJ3ZGkiOiIyfDczMTg3NkU3NDQ3MUE2ODN8MHgxLmFjNDUwMTVmYWJlNHArMzB8YTU5MjlhNTYzNDQzY2YyMCIsInN0YXJ0IjoxMH0="
},
"warnings": []
}How It Works Behind the API
curl "https://api.scrapingdog.com/yelp/search?api_key=APIKEY&find_desc=burger&find_loc=San+Francisco%2C+CA"
{
"search_metadata": { … },
"search_parameters": { … },
"search_information": { … },
"total_time_taken": 1.67,
"organic_results": [
{
"position": 1,
"id": "YwhwhVHDOgci8uyZMcsy8A",
"alias": "…"
}, …
],
"pagination": { … },
"warnings": [ … ]
}Yelp Search API Response (Structured JSON Data)
Business Identity
positionidaliasurlnamealternate_namesRatings & Price
ratingreview_countprice_rangeCategories
categoriescategory_detailstitlealiasAddress & Location
addressneighborhoodscoordinatestimezoneservice_areaPhotos & Opening Hours
photothumbnailhoursintervalsis_closedSearch Context & Pagination
search_metadatasearch_parameterssearch_informationpaginationnext_page_tokenYelp Search API Features for Local Business Data
Keyword & Location Search
Send find_desc (what you are looking for) and find_loc (where), the same two boxes as on yelp.com. You can also pass a Yelp search URL that carries those values.
Four Sort Orders
Use sortby to order results by recommended (the default), rating, review_count or distance, just like the sort menu on Yelp.
Up to 25 Businesses per Query
Choose a page size from 1 to 25 with limit (default 10). Yelp returns at most 25 businesses for a search, and search_information says when the total is capped.
Simple Pagination
Read the next page with pagination.next_page_token, or pass start (0 to 24). has_more tells you when the result set is complete.
Opening Hours Included
Every result carries its weekly hours, with open and close times, durations and overnight flags, so you know when a place is open without a second call.
5 Credits per Successful Search
Each successful request costs 5 credits. Failed and timed-out requests are never charged.
What You Can Build with the Yelp Search API
Local Lead Lists
Build lists of businesses by keyword and city, with addresses, coordinates, categories and their Yelp links.
Market Mapping
Plot the businesses in a category on a map using their coordinates and neighborhoods to find gaps and clusters.
Local Rank Tracking
Record where a business ranks for a keyword in a city, and how that changes over time or between sort orders.
Rating Benchmarks
Compare ratings, review counts and price ranges of competing businesses across neighborhoods and cities.
Local Discovery Apps
Fill directories and local apps with names, categories, photos and opening hours straight from Yelp search.
Search-to-Detail Pipelines
Pass each result’s alias to the Yelp Place API to add reviews, amenities, popular dishes and photos.
Built for Teams of Every Size and Background
Get Started with the Yelp Search API in Minutes
- 1
Create Your Account
Sign up for Scrapingdog to start testing Yelp search.
- 2
Get Your API Key
Copy your API key from the dashboard and pass it as api_key.
- 3
Send a Keyword & Location
Call /yelp/search with find_desc and find_loc. Optionally set sortby and limit.
- 4
Read the Results
Loop over organic_results, and follow pagination.next_page_token while has_more is true.
Transparent & Simple Pricing
Start your web scraping journey with 100 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.
FREE
- 100 Requests Credits
- 1 Concurrency
- Access To All APIs
- No Credit Card Required
- Community Support
- Team Support
LITE
- 200,000 Requests Credits
- 5 Concurrency
- Access To All APIs
- Geotargeting
- Email Support
- No Team Support
STANDARD
- 1,000,000 Requests Credits
- 50 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- No Team Support
PRO
- 3,000,000 Requests Credits
- 100 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
PREMIUM
- 6,000,000 Requests Credits
- 150 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS
- 9,000,000 Requests Credits
- 200 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PLUS
- 19,000,000 Requests Credits
- 250 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PRO
- 29,000,000 Requests Credits
- 300 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE
- 42,000,000 Requests Credits
- 350 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PLUS
- 55,000,000 Requests Credits
- 400 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PRO
- 65,000,000 Requests Credits
- 450 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE STARTER
- 90,000,000 Requests Credits
- 500 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE PLUS
- 120,000,000 Requests Credits
- 600 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ENTERPRISE PRO
- 150,000,000 Requests Credits
- 650 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL STARTER
- 185,000,000 Requests Credits
- 700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PLUS
- 220,000,000 Requests Credits
- 800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PRO
- 255,000,000 Requests Credits
- 850 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL ELITE
- 295,000,000 Requests Credits
- 900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ULTRA STARTER
- 360,000,000 Requests Credits
- 1,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PLUS
- 430,000,000 Requests Credits
- 1,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PRO
- 500,000,000 Requests Credits
- 1,300 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN STARTER
- 580,000,000 Requests Credits
- 1,400 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PLUS
- 660,000,000 Requests Credits
- 1,500 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PRO
- 740,000,000 Requests Credits
- 1,700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN ELITE
- 830,000,000 Requests Credits
- 1,800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA STARTER
- 920,000,000 Requests Credits
- 1,900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PLUS
- 1,010,000,000 Requests Credits
- 2,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PRO
- 1,100,000,000 Requests Credits
- 2,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
Frequently Asked Questions
What is the Yelp Search API?
The Yelp Search API returns the businesses Yelp shows for a keyword and location as structured JSON. Each result can include its Yelp ID and alias, name, rating, review count, price range, categories, address, neighborhoods, coordinates, photo and weekly opening hours.
Which parameters are required?
Send api_key, find_desc and find_loc to https://api.scrapingdog.com/yelp/search using GET. Optional parameters are sortby, limit, start and next_page_token. Instead of find_desc and find_loc you can send a Yelp search url that contains them.
How many businesses can I get for one search?
Yelp returns at most 25 businesses for a search. Set limit from 1 to 25 (default 10) to choose the page size, then follow pagination.next_page_token, or pass start, until has_more is false. Use either start or next_page_token in a request, not both.
How do I sort the results?
Set sortby to recommended (the default), rating, review_count or distance.
How do I get reviews and full details for a business?
Pass a result’s alias as place_id to the Yelp Place API. It returns the business’s top 10 reviews, star breakdown, phone, website, hours, amenities, popular dishes and photos.
Can I filter by category or search other Yelp country sites?
Not at the moment. The search runs on yelp.com, and category (cflt), attribute (attrs) and map-area (l) filters are not supported; requests that send them get a 400 error. Put the category in find_desc instead, for example vegan pizza.
Does every result include every field?
No. Fields Yelp does not have for a business come back as null or empty, like price_range in the example on this page. The example shows the first of 10 results; its totals and pagination are those of the full response.
How much does a Yelp search cost?
Each successful request costs 5 credits. Failed and timed-out requests are never charged.
Try Scrapingdog for Free!
Get 100 free credits to spin the API. No credit card required!