Ultimate Yelp Scraper avatar
Ultimate Yelp Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Ultimate Yelp Scraper

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 mode

Node.js

Python

curl

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    "reviewSort": "relevance_desc",
11    "startUrls": [
12        "https://www.yelp.com/biz/maxs-restaurant-glendale-glendale-3",
13        "https://www.yelp.com/user_details?userid=a_UbCGv_MTAHFs3P_zxUDA",
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    "endPageForReviews": 1,
23    "extendOutputFunction": "($) => { return {} }",
24    "customMapFunction": "(object) => { return {...object} }",
25    "proxy": { "useApifyProxy": True },
26}
27
28# Run the Actor and wait for it to finish
29run = client.actor("epctex/yelp-scraper").call(run_input=run_input)
30
31# Fetch and print Actor results from the run's dataset (if there are any)
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33    print(item)
Developer
Maintained by Community
Actor metrics
  • 55 monthly users
  • 99.5% runs succeeded
  • 0.7 days response time
  • Created in Feb 2023
  • Modified about 6 hours ago