![Ultimate Yelp Scraper avatar](https://images.apifyusercontent.com/sGFm7suiFNFxOeWuLcZsxx1sQqYkuWEOGh4fcP_sA48/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81VFhqcUczdVlXNW1vQm1WRi90d0FuRG5SSnVLWWpaNzZKZS0yNTA0OTYzLnBuZw.webp)
Ultimate Yelp Scraper
Try for free
3 days trial then $30.00/month - No credit card required now
View all Actors![Ultimate Yelp Scraper](https://images.apifyusercontent.com/sGFm7suiFNFxOeWuLcZsxx1sQqYkuWEOGh4fcP_sA48/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81VFhqcUczdVlXNW1vQm1WRi90d0FuRG5SSnVLWWpaNzZKZS0yNTA0OTYzLnBuZw.webp)
![Ultimate Yelp Scraper](https://images.apifyusercontent.com/sGFm7suiFNFxOeWuLcZsxx1sQqYkuWEOGh4fcP_sA48/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS81VFhqcUczdVlXNW1vQm1WRi90d0FuRG5SSnVLWWpaNzZKZS0yNTA0OTYzLnBuZw.webp)
Ultimate Yelp Scraper
epctex/yelp-scraper
Try for free
3 days trial then $30.00/month - No credit card required now
Gather info on millions of businesses, events, and reviews. Scrape businesses and extract descriptions, images, menus, addresses, and all other properties.. Customize with search terms, filters, and mappings for limitless insights. Ultimate Yelp scraper you need. No limits! No limits!
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "search": "grill",
9 "searchLocation": "Los Angeles",
10 "endPageForPhotos": 1,
11 "reviewSort": "relevance_desc",
12 "startUrls": [
13 "https://www.yelp.com/biz/maxs-restaurant-glendale-glendale-3",
14 "https://www.yelp.com/search?find_desc=max&find_loc=Los+Angeles%2C+CA",
15 "https://www.yelp.com/collection/qGqt9YpsLBCH5nruuVCK2A/Food",
16 "https://www.yelp.com/collections/user?userid=a_UbCGv_MTAHFs3P_zxUDA",
17 "https://www.yelp.com/events/la/browse?start_date=20230215",
18 "https://www.yelp.com/events/monterey-park-monterey-park-strong-star-ballroom-shooting-community-resources",
19 ],
20 "maxItems": 20,
21 "endPage": 1,
22 "startPageForReviews": 1,
23 "endPageForReviews": 1,
24 "extendOutputFunction": "($) => { return {} }",
25 "customMapFunction": "(object) => { return {...object} }",
26 "proxy": { "useApifyProxy": True },
27}
28
29# Run the Actor and wait for it to finish
30run = client.actor("epctex/yelp-scraper").call(run_input=run_input)
31
32# Fetch and print Actor results from the run's dataset (if there are any)
33print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
34for item in client.dataset(run["defaultDatasetId"]).iterate_items():
35 print(item)
36
37# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start