The Yelp Scraper collects business listings from Yelp — including name, rating, review count, address, phone number, and categories. You can target multiple locations for a specific search term and specify the regional Yelp domain.

This scraper job is asynchronous. You’ll receive a jobId, and can fetch results via polling or webhook delivery.

Example Request

curl --request POST \
  --url 'https://api.hasdata.com/scrapers/yelp/jobs' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>' \
  --data '{
    "keyword": "vegan restaurants",
    "locations": ["Portland, OR", "Austin, TX"],
    "domain": "www.yelp.com"
  }'

Job Parameters

domain
string
required

Yelp domain to target

keyword
string
required

Business search term, e.g. “pizza”, “nail salons”, or “dog groomers”

locations
string[]
required

List of location strings like “Los Angeles, CA” or “Toronto, ON”

Getting Results

Webhooks

Receive real-time updates when your scraper job starts, completes, or collects data.

Results API

Use the Results API to fetch your data using the jobId, with support for polling and pagination.

Stopping a Job

Cancel an active scraper job early if it’s no longer needed or you want to save credits.