VOOZH about

URL: https://apify.com/jamesrez/osha-inspection-scraper

โ‡ฑ OSHA Inspection Scraper - Workplace Safety Violations ยท Apify


๐Ÿ‘ OSHA Workplace Safety Inspection Scraper avatar

OSHA Workplace Safety Inspection Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store

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

James Rezendes

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 months ago

Last modified

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:

  1. Go to dataportal.dol.gov
  2. Click Register and create an account
  3. 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

ParameterTypeDefaultDescription
apiKeystringrequiredFree DOL API key from dataportal.dol.gov
datasetstringinspectionsData type: inspections, violations, accidents
statestringUS state code (TX, CA, NY, etc.)
citystringCity name
zipCodestringZIP code
establishmentNamestringCompany name search (partial match)
naicsCodestringNAICS industry code
inspectionTypestringType: accident, complaint, referral, planned, followup, fatality/catastrophe
dateFromstringStart date (YYYY-MM-DD)
dateTostringEnd date (YYYY-MM-DD)
includeViolationsbooleantrueFetch violation details for each inspection
maxResultsinteger0Max 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.

You might also like

OSHA Workplace Safety Inspections Scraper

compute-edge/osha-inspections-scraper

Scrapes OSHA workplace safety inspection data including violations, penalties, and establishment details from the OSHA IMIS system.

5

5.0

OSHA Inspection & Violation Crawler

jungle_synthesizer/osha-inspection-crawler

Crawl 4M+ OSHA inspection records from the DOL Enforcement Data API. Extract violations, penalties, SIC/NAICS codes, and case status. Filter by state, date range, and inspection type.

๐Ÿ‘ User avatar

BowTiedRaccoon

11

OSHA Inspections, Violations & Penalty Screener

pyralislabs/osha-violations-penalty-screener

Screen 4M+ OSHA workplace safety inspections with citation-level violation detail, penalty filtering, and NAICS industry targeting. Official US DOL Enforcement API โ€” no scraping, no proxies. Built for vendor vetting, M&A due diligence, and underwriting.

Workplace Compliance โ€” OSHA, EPA & DOL Profile

ryanclinton/workplace-compliance-intel

Unified compliance profile combining **OSHA safety inspections**, **EPA ECHO environmental compliance**, and **DOL Wage & Hour enforcement** data for any U.S. company. Get a single risk-scored report with penalties, violations, back wages, and significant findings โ€” all from one search.

OSHA Inspection & Citation Search

ryanclinton/osha-inspection-search

OSHA Inspection & Citation Search is an Apify actor that searches and retrieves workplace inspection records and violation citations from the U.S. Occupational Safety and Health Administration (OSHA) database.