OSHA Violations & Inspections Scraper
Pricing
from $10.00 / 1,000 osha inspection results
OSHA Violations & Inspections Scraper
Search OSHA enforcement data for workplace safety violations and inspections. Extract company names, violation types, penalties, and inspection details. Great for compliance research and due diligence.
Pricing
from $10.00 / 1,000 osha inspection results
Rating
0.0
(0)
Developer
Fortuitous Pirate
Actor stats
0
Bookmarked
16
Total users
3
Monthly active users
6 days ago
Last modified
Categories
Share
OSHA - Workplace Inspection Data Scraper
Overview
Scrape OSHA workplace safety inspections, violations, citations, and penalties from osha. gov. Workplace Inspection Data Scraper.
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
- Built-in proxy support for reliable data collection
Use Cases
- Track - Track federal government data releases and updates
- Build - Build datasets for policy research and analysis
- Monitor - Monitor regulatory changes and compliance requirements
- Aggregate - Aggregate public government data for transparency projects
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
state | string | US state code to search (e.g., CA, TX, NY). Use 'all' for all states. | all |
establishmentName | string | Company/establishment name to search. Use % as wildcard (e.g., 'walmart%' for... | % |
siteZip | string | 5-digit ZIP code to filter by site location | `` |
caseStatus | string | Filter by case status | all |
violationStatus | string | Filter by whether inspection found violations | all |
dateFrom | string | Start date for inspection date range (MM/DD/YYYY format) | `` |
dateTo | string | End date for inspection date range (MM/DD/YYYY format) | `` |
includeDetails | boolean | Scrape full inspection details including violations, citations, and penalties... | true |
maxItems | integer | Maximum number of inspections to scrape | 100 |
proxyConfiguration | object | Proxy configuration for bypassing rate limits | {...} |
Output Example
Each result contains structured data like this:
{"title": "Sample Government - Federal Result","agency": "Department of Commerce","date": "2025-01-15","description": "Detailed description of the item...","documentUrl": "https://example.com/item/12345","category": "Standard","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 OSHA - Workplace Inspection Data Scraper 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~osha-inspection-scraper/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/osha-inspection-scraper").call(run_input={"maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect OSHA - Workplace Inspection Data Scraper 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