OSHA Inspections Scraper avatar

OSHA Inspections Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
OSHA Inspections Scraper

OSHA Inspections Scraper

Extract workplace safety inspection data from the Occupational Safety and Health Administration (OSHA) — the definitive source for workplace inspections, safety violations, and penalty data in the United States.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Professional Edge

Professional Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

OSHA Inspections & Violations Scraper

Extract workplace safety inspection data from the Occupational Safety and Health Administration (OSHA) — the definitive source for workplace inspections, safety violations, and penalty data in the United States. This Actor scrapes the official OSHA IMIS (Integrated Management Information System) to deliver structured data on millions of workplace inspections conducted under federal occupational safety law.

OSHA data is essential for workplace safety compliance monitoring, insurance risk assessment, supply chain due diligence, legal research, and investigative journalism. Every employer in the US is subject to OSHA inspections. This Actor makes inspection records, violation details, and penalty amounts instantly accessible in JSON, CSV, or Excel format.

Key Features

FeatureDescription
Establishment searchSearch by company name with partial matching
State filteringFilter by US state abbreviation (CA, TX, NY, etc.)
NAICS code filteringFilter by industry classification code
Full inspection detailsOptionally fetch violations, penalties, site address, and union status
Penalty trackingInitial and current penalty amounts for each inspection
No authenticationUses freely available OSHA public data — no API key needed

What Data Can You Extract?

FieldDescription
activityNumberOSHA inspection activity number
dateOpenedDate the inspection was opened
establishmentNameName of the inspected company
stateUS state where inspection occurred
inspectionTypeType of inspection (Planned, Complaint, Referral, etc.)
scopeInspection scope (Complete, Partial)
sicCodeStandard Industrial Classification code
naicsCodeNorth American Industry Classification code
siteAddressStreet address of inspected site
city, stateCode, zipCodeFull location details
unionStatusWhether the workplace is unionized
initialPenaltyTotal initial penalty amount in dollars
currentPenaltyTotal current penalty after adjustments
violationsSummaryBreakdown by type: serious, willful, repeat, other
violationsIndividual violation items with citation ID, standard, and penalty
inspectionDetailUrlDirect link to the OSHA inspection detail page

How to Scrape OSHA Inspection Data

  1. Go to this Actor's page on the Apify Store
  2. Click "Start" to open the input form
  3. Set your filters:
    • Enter an Establishment Name (e.g., Walmart, Amazon) — partial match supported
    • Enter a State code (e.g., TX) — or leave blank for all states
    • Enter a NAICS Code (e.g., 236220 for commercial construction) — optional
    • Toggle Include Inspection Details for full violation and penalty data
    • Set Max Results (default: 100; max: 10,000)
  4. Click "Start" to run the Actor
  5. Download your data in JSON, CSV, or Excel format from the Dataset tab

Input Example

{
"establishment": "Walmart",
"state": "TX",
"includeDetails": true,
"maxResults": 50
}

Output Example

{
"activityNumber": "1685163",
"dateOpened": "01/15/2024",
"establishmentName": "WAL-MART ASSOCIATES INC",
"state": "TX",
"inspectionType": "Complaint",
"scope": "Partial",
"naicsCode": "452311",
"siteAddress": "1234 MAIN ST",
"city": "HOUSTON",
"stateCode": "TX",
"zipCode": "77001",
"unionStatus": "NonUnion",
"initialPenalty": 15625,
"currentPenalty": 15625,
"violationsSummary": {
"serious": 1,
"willful": 0,
"repeat": 0,
"other": 0,
"unclassified": 0
},
"violations": [
{
"citationId": "01001",
"citationType": "Serious",
"standard": "19100303",
"issuanceDate": "07/15/2024",
"abatementDate": "08/15/2024",
"currentPenalty": "$15,625.00"
}
],
"inspectionDetailUrl": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1685163"
}

Pricing

This Actor uses pay-per-result pricing:

EventPrice
Actor start$0.00005
Per result$0.002

OSHA data is free and public. You only pay for Apify compute resources plus the per-result fee above. A typical run of 100 inspections with details costs approximately $0.20 in Actor fees plus minimal compute costs.

Use Cases

  • Workplace Safety Compliance: Monitor inspection history and violations for specific companies or industries
  • Insurance Risk Assessment: Evaluate employer safety records for underwriting and premium calculations
  • Supply Chain Due Diligence: Screen vendors and contractors for safety violations before engagement
  • Legal Research: Find inspection and violation data for workplace injury litigation
  • Investigative Journalism: Data-driven reporting on workplace safety enforcement trends
  • HR & EHS Consulting: Benchmark client safety records against industry peers

Integrations

Connect this Actor to your existing workflows:

  • Export to Google Sheets for collaborative analysis
  • Send results to Slack or email for automated alerts
  • Feed into Zapier, Make, or n8n for custom automation
  • Use the Apify API to integrate directly with your application

FAQ

Q: How current is the data? A: OSHA updates the IMIS database as inspections are conducted and violations are issued. Data reflects real-time enforcement activity.

Q: Can I search by NAICS code only? A: You need to provide either an establishment name or NAICS code. If searching by NAICS, provide a broad establishment search term to get results, then filter by NAICS.

Q: What does "Include Inspection Details" do? A: When enabled, the Actor fetches the full detail page for each inspection, extracting site address, union status, violation items, and penalty amounts. This is slower but provides significantly richer data.

Q: How large is the OSHA database? A: OSHA has conducted millions of inspections since its founding. Use the maxResults parameter to limit output for large searches.

This Actor accesses publicly available data from the OSHA IMIS system, a free public service provided by the U.S. Department of Labor. The data is in the public domain and freely available for any use.

This Actor does not bypass any authentication, does not violate any terms of service, and respects server resources with built-in request delays. The Actor is provided as-is without warranty. Users are responsible for ensuring their use of the data complies with applicable laws and regulations.

For questions or support, please open an issue on this Actor's page.