Chicago Food Inspections Scraper
Pricing
Pay per usage
Go to Apify Store

Chicago Food Inspections Scraper
Search Chicago food establishment inspections. Get results, violations, and risk levels. Essential for food safety monitoring.
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Fortuitous Pirate
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Chicago Food Inspections
Apify actor that fetches food inspection data from Chicago's Socrata Open Data API.
Data Source
- API: https://data.cityofchicago.org/resource/4ijn-s7e5.json
- Type: Socrata SODA API (no web scraping needed)
- Dataset: Chicago Food Inspections
Input Parameters
| Parameter | Type | Description |
|---|---|---|
| facilityType | string | Filter by facility type (e.g., "Restaurant", "Grocery Store") |
| riskLevel | string | Filter by risk level: "Risk 1 (High)", "Risk 2 (Medium)", "Risk 3 (Low)" |
| results | string | Filter by inspection result: "Pass", "Fail", "Pass w/ Conditions", etc. |
| startDate | string | Filter inspections on or after this date (YYYY-MM-DD) |
| endDate | string | Filter inspections on or before this date (YYYY-MM-DD) |
| maxItems | integer | Maximum records to fetch (default: 1000, max: 50000) |
Output Schema
Each record contains:
| Field | Description |
|---|---|
| inspection_id | Unique inspection identifier |
| dba_name | "Doing Business As" name |
| aka_name | Also Known As name |
| license_ | License number |
| facility_type | Type of establishment |
| risk | Risk level (1=High, 2=Medium, 3=Low) |
| address | Street address |
| city | City (always CHICAGO) |
| state | State (always IL) |
| zip | ZIP code |
| inspection_date | Date of inspection |
| inspection_type | Type of inspection (License, Canvass, Complaint, etc.) |
| results | Inspection result (Pass, Fail, Pass w/ Conditions, etc.) |
| violations | Detailed violation descriptions |
| latitude | Location latitude |
| longitude | Location longitude |
Example Usage
Fetch recent failed restaurant inspections:
{"facilityType": "Restaurant","results": "Fail","startDate": "2024-01-01","maxItems": 500}
Local Testing
npm installnode src/main.js
Output is saved to storage/datasets/default/.