Skip to content

vulnv/yelp-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

⭐ Yelp Business Scraper (vulnv/yelp-scraper)

Extract Yelp business dataβ€”name, rating, review count, address, phone, categories, and hoursβ€”from any Yelp business URL.

▢️ Run it now on Apify: Yelp Business Scraper


πŸš€ Features

  • Scrape name, rating, and review count
  • Capture address, phone, and website
  • Pull categories and opening hours
  • Works from any Yelp /biz/ URL
  • Structured JSONβ€”ready for CRMs

πŸ’‘ Example: Run via Apify API (Python)

from apify_client import ApifyClient

# 1. Install:
# pip install apify-client

# 2. Initialize (get your token at https://apify.com?fpr=redditscrapers):
client = ApifyClient("<YOUR_API_TOKEN>")

# 3. Configure input:
run_input = {
    "urls": [
        "https://www.yelp.com/biz/jack-in-the-box-san-francisco"
    ]
}

# 4. Execute actor:
run = client.actor("vulnv/yelp-scraper").call(run_input=run_input)

# 5. Fetch results:
dataset_id = run["defaultDatasetId"]
for item in client.dataset(dataset_id).iterate_items():
    print(item)

πŸ”§ Input

Parameter Type Description
urls array Yelp business (/biz/) URLs to scrape

πŸ” Output Example (JSON)

[
  {
    "name": "Jack in the Box",
    "rating": 2.5,
    "review_count": 312,
    "address": "1150 Harrison St, San Francisco, CA 94103",
    "phone": "+1 415-555-0100",
    "categories": [
      "Fast Food",
      "Burgers"
    ]
  }
]

🎯 Use Cases

  • Local lead generation: build business contact lists
  • Reputation monitoring: track ratings and review volume
  • Competitor research: benchmark nearby businesses
  • Data enrichment: append categories and hours

πŸ“‘ Programmatic Access & API

  • Python / JavaScript SDK, CLI, and HTTP API β€” see the API docs
  • OpenAPI definition β€” openapi
  • MCP server for real-time AI-agent integration β€” MCP

🧠 Why Choose This Actor?

  • βœ… No login or platform API token required
  • βœ… Clean, structured JSON output
  • βœ… Export to JSON, CSV, Excel, XML
  • βœ… Fully SDK & REST compatible via the Apify ecosystem
  • βœ… Built-in Apify Proxy support to avoid blocks

πŸ“¦ Getting Started

  1. Create a free Apify account
  2. Open the actor: Yelp Business Scraper
  3. Paste your input and click Run β€” or call it via the API above
  4. Export your data in JSON, CSV, or Excel

πŸ”— Learn More


Powered by Apify β€” the full-stack web scraping & automation platform.

About

Scrape Yelp business data - rating, reviews, address, phone, categories & hours. Powered by Apify.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors