# Yelp Health Inspection Scores Dataset

**Use case:** 

Compile a food-safety dataset straight from Yelp business pages. This task foregrounds health_inspections (posted scores and dates), paired with name, categories, rating, review_count, full_address, city, state and zipcode. San Francisco publishes inspection scores to Yelp, so coverage is strong here; it appears only where Yelp shows it. Tune maxCrawlPages for depth.

## Input

```json
{
  "keywords": [
    "Restaurants"
  ],
  "locations": [
    "San Francisco, CA"
  ],
  "languages": "English (United States)",
  "sort": "Recommended",
  "price": [],
  "urls": [],
  "maxResults": 50,
  "include_ads": true
}
```

## Output

```json
{
  "name": {
    "label": "Business Name",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "text"
  },
  "review_count": {
    "label": "Review Count",
    "format": "text"
  },
  "is_claimed": {
    "label": "Claimed",
    "format": "text"
  },
  "is_closed": {
    "label": "Closed",
    "format": "boolean"
  },
  "is_temporarily_closed": {
    "label": "Temporarily Closed",
    "format": "boolean"
  },
  "price_level": {
    "label": "Price Level",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "text"
  },
  "phone_number": {
    "label": "Phone Number",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "full_address": {
    "label": "Full Address",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "zipcode": {
    "label": "Zip Code",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "neighborhoods": {
    "label": "Neighborhoods",
    "format": "array"
  },
  "coordinates": {
    "label": "Coordinates",
    "format": "object"
  },
  "is_ad": {
    "label": "Sponsored",
    "format": "boolean"
  },
  "rank": {
    "label": "Rank",
    "format": "number"
  },
  "search_keyword": {
    "label": "Search Keyword",
    "format": "text"
  },
  "search_location": {
    "label": "Search Location",
    "format": "text"
  },
  "images": {
    "label": "Images",
    "format": "array"
  },
  "photo_count": {
    "label": "Photo Count",
    "format": "number"
  },
  "hours": {
    "label": "Hours",
    "format": "object"
  },
  "owner_name": {
    "label": "Owner Name",
    "format": "text"
  },
  "about": {
    "label": "About",
    "format": "text"
  },
  "reviewhighlights": {
    "label": "Review Highlights",
    "format": "array"
  },
  "amenities": {
    "label": "Amenities",
    "format": "object"
  },
  "specialties": {
    "label": "Specialties",
    "format": "text"
  },
  "year_established": {
    "label": "Year Established",
    "format": "text"
  },
  "popular_items": {
    "label": "Popular Items",
    "format": "array"
  },
  "menu_url": {
    "label": "Menu URL",
    "format": "link"
  },
  "questions_answers": {
    "label": "Q&A",
    "format": "array"
  },
  "videos": {
    "label": "Videos",
    "format": "array"
  },
  "health_inspections": {
    "label": "Health Inspections",
    "format": "array"
  },
  "verified_licenses": {
    "label": "Verified Licenses",
    "format": "array"
  },
  "service_areas": {
    "label": "Service Areas",
    "format": "array"
  },
  "yelp_biz_id": {
    "label": "Yelp Business ID",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "search_url": {
    "label": "Search URL",
    "format": "link"
  },
  "timestamp": {
    "label": "Timestamp",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Yelp Advanced Data Scraper](https://apify.com/delicious_zebu/yelp-advanced-data-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/yelp-advanced-data-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/yelp-advanced-data-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
