OSHA Workplace Safety Inspection Scraper
Pricing
from $5.00 / 1,000 results
OSHA Workplace Safety Inspection Scraper
Extract OSHA inspections, violations, penalties & accident data from official DOL enforcement database. 90K+ inspections/year since 1970. Filter by state, company, industry.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer

James Rezendes
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
12 days ago
Last modified
Categories
Share
Extract workplace safety inspections, violations, citations, penalties, and accident data from the official U.S. Department of Labor OSHA enforcement database. Data updated daily, covering 90,000+ inspections per year going back to 1970.
What does this scraper do?
This Actor pulls structured OSHA enforcement data directly from the DOL's official API. The database contains every federal OSHA inspection conducted in the United States, including:
- Inspection details — establishment name, address, industry, inspection type, scope, dates
- Violation citations — standard cited, violation type (Serious/Willful/Repeat), penalty amounts
- Penalty data — initial and current penalty amounts, contest dates, abatement status
- Accident reports — fatality/catastrophe descriptions, event details, construction project info
Use cases
- Insurance underwriting — OSHA violations directly impact Experience Modification Rates. Screen employers before writing policies.
- Legal research — Find citation history for workplace injury litigation. Identify repeat violators.
- Due diligence — Vet acquisition targets for safety compliance history before M&A deals.
- Investigative journalism — Research workplace safety trends, identify dangerous employers or industries.
- Safety consulting — Benchmark client safety performance against industry peers.
- Compliance monitoring — Track inspection activity in your industry or region.
Prerequisites
This Actor requires a free DOL API key. Get yours in 2 minutes:
- Go to dataportal.dol.gov
- Click Register and create an account
- Your API key will be on your profile page after email verification
The key is completely free with no usage limits for reasonable use.
How to use
Get all inspections in a state
{"apiKey": "your-free-api-key","dataset": "inspections","state": "TX","includeViolations": true}
Search by company name
{"apiKey": "your-free-api-key","dataset": "inspections","establishmentName": "walmart","includeViolations": true}
Get fatality/catastrophe investigations
{"apiKey": "your-free-api-key","dataset": "inspections","inspectionType": "fatality/catastrophe","dateFrom": "2025-01-01","state": "CA"}
Get accident reports with descriptions
{"apiKey": "your-free-api-key","dataset": "accidents","dateFrom": "2025-01-01"}
Filter by industry (NAICS code)
{"apiKey": "your-free-api-key","dataset": "inspections","naicsCode": "236220","state": "FL","includeViolations": true}
Common NAICS codes: 236220 (Commercial Construction), 722511 (Full-Service Restaurants), 238210 (Electrical Contractors), 621111 (Physician Offices), 311611 (Animal Slaughtering).
Output
Inspection record (with violations)
{"activityNumber": 1685332,"establishmentName": "ACME CONSTRUCTION LLC","siteAddress": "1234 MAIN ST","siteCity": "HOUSTON","siteState": "TX","siteZip": "77001","ownerType": "Private","numberOfEmployees": 45,"naicsCode": "236220","inspectionType": "Complaint","inspectionScope": "Partial","safetyOrHealth": "Safety","unionPresent": false,"openDate": "2025-06-15T00:00:00","closeCaseDate": "2025-09-20T00:00:00","industry": "Construction","violationCount": 3,"totalPenalties": 45000,"violations": [{"citationId": "01001","standard": "19260501","violationType": "Serious","currentPenalty": 15000,"initialPenalty": 15000,"numberOfExposed": 12,"gravity": "10"}]}
Accident record
{"summaryNumber": 202512345,"eventDate": "2025-03-15T00:00:00","eventDescription": "Employee fell from scaffolding at construction site","eventKeywords": "fall, scaffolding, construction","abstractText": "An employee was working on scaffolding at approximately 25 feet...","fatality": true,"state": "NY","sicCodes": "1542","constructionEndUse": "Commercial","buildingStories": 3}
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Free DOL API key from dataportal.dol.gov |
dataset | string | inspections | Data type: inspections, violations, accidents |
state | string | US state code (TX, CA, NY, etc.) | |
city | string | City name | |
zipCode | string | ZIP code | |
establishmentName | string | Company name search (partial match) | |
naicsCode | string | NAICS industry code | |
inspectionType | string | Type: accident, complaint, referral, planned, followup, fatality/catastrophe | |
dateFrom | string | Start date (YYYY-MM-DD) | |
dateTo | string | End date (YYYY-MM-DD) | |
includeViolations | boolean | true | Fetch violation details for each inspection |
maxResults | integer | 0 | Max records (0 = unlimited) |
Data source
All data comes directly from the U.S. Department of Labor's official enforcement database via the DOL API v4. Data is updated daily and covers inspections back to 1970. This is the same data powering OSHA's public enforcement search tools.
Pricing
This Actor uses Pay Per Event pricing:
- $5.00 per 1,000 inspection records
- $2.00 per 1,000 violation-only or accident records
Platform costs (compute) are billed separately by Apify.