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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "search": "grill",
8  "searchLocation": "Los Angeles",
9  "endPageForPhotos": 1,
10  "reviewSort": "relevance_desc",
11  "startUrls": [
12    "https://www.yelp.com/biz/maxs-restaurant-glendale-glendale-3",
13    "https://www.yelp.com/search?find_desc=max&find_loc=Los+Angeles%2C+CA",
14    "https://www.yelp.com/collection/qGqt9YpsLBCH5nruuVCK2A/Food",
15    "https://www.yelp.com/collections/user?userid=a_UbCGv_MTAHFs3P_zxUDA",
16    "https://www.yelp.com/events/la/browse?start_date=20230215",
17    "https://www.yelp.com/events/monterey-park-monterey-park-strong-star-ballroom-shooting-community-resources"
18  ],
19  "maxItems": 20,
20  "endPage": 1,
21  "startPageForReviews": 1,
22  "endPageForReviews": 1,
23  "extendOutputFunction": "($) => { return {} }",
24  "customMapFunction": "(object) => { return {...object} }",
25  "proxy": {
26    "useApifyProxy": true
27  }
28}
29EOF
30
31# Run the Actor using an HTTP API
32# See the full API reference at https://docs.apify.com/api/v2
33curl "https://api.apify.com/v2/acts/epctex~yelp-scraper/runs?token=$API_TOKEN" \
34  -X POST \
35  -d @input.json \
36  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 63 monthly users
  • 3 stars
  • 99.0% runs succeeded
  • 20 hours response time
  • Created in Feb 2023
  • Modified 1 day ago