NYC Restaurant Health Inspections Scraper
Pricing
Pay per usage
NYC Restaurant Health Inspections Scraper
Search NYC restaurant health inspection grades and violations. Get grades, inspection dates, and violation details. For food safety research.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Fortuitous Pirate
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Share
NYC Restaurant Inspections - DOHMH Data
Overview
Fetch NYC DOHMH restaurant inspection results from NYC Open Data (Socrata API). Filter by borough, grade, cuisine, and date range. DOHMH Data.
Features
- Search by keywords to find specific results
- Filter results by category or type
- Export data in JSON, CSV, or Excel formats
- Control output volume with configurable result limits
Use Cases
- Track - Track state and local government data and permits
- Monitor - Monitor regulatory filings and public records
- Build - Build databases for civic tech and transparency projects
- Aggregate - Aggregate local government data for community research
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
borough | string | Filter by NYC borough (Manhattan, Brooklyn, Queens, Bronx, Staten Island) | `` |
grade | string | Filter by inspection grade (A, B, C, N, P, Z) | `` |
cuisineType | string | Filter by cuisine description (e.g., 'Chinese', 'Italian', 'American') | `` |
inspectionDateFrom | string | Filter inspections on or after this date (YYYY-MM-DD format) | `` |
inspectionDateTo | string | Filter inspections on or before this date (YYYY-MM-DD format) | `` |
maxItems | integer | Maximum number of inspection records to fetch | 1000 |
Output Example
Each result contains structured data like this:
{"title": "Sample Government - State/Local Result","agency": "Department of Commerce","date": "2025-01-15","description": "Detailed description of the item...","location": "San Francisco, CA","documentUrl": "https://example.com/item/12345","url": "https://example.com/item/12345"}
Pricing
This actor uses pay-per-result pricing:
- $0.001 per result
- $1.00 per 1,000 results
No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.
How to Run
Apify Console
- Go to the NYC Restaurant Inspections - DOHMH Data actor page
- Configure your input parameters
- Click Start and wait for the results
- Download data in JSON, CSV, or Excel format
API
curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~nyc-restaurant-inspections/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"maxItems": 10}'
Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("fortuitous_pirate/nyc-restaurant-inspections").call(run_input={"maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect NYC Restaurant Inspections - DOHMH Data with your existing tools and workflows:
- API access - Programmatic access via Apify API
- Webhooks - Get notified when scraping completes
- Scheduling - Set up recurring runs on any schedule
- Zapier / Make - Connect with 5,000+ apps via Apify integrations
- Python / Node.js SDKs - Native client libraries for easy integration