OSHA Inspection & Violation Scraper avatar

OSHA Inspection & Violation Scraper

Pricing

from $9.99 / 1,000 results

Go to Apify Store
OSHA Inspection & Violation Scraper

OSHA Inspection & Violation Scraper

Searches the OSHA IMIS inspection database by establishment name and state, covering the last 5 years. Optionally fetches inspection details including case status, violations, and penalty amounts.

Pricing

from $9.99 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Searches the OSHA IMIS establishment inspection database at https://www.osha.gov/ords/imis/establishment.search by establishment name and state (last 5 years, open and closed cases), and can follow each inspection's detail page (establishment.inspection_detail?id=...) for case status, penalty totals and violation item counts. Requests use curl_cffi browser impersonation because osha.gov sits behind CloudFront bot protection.

Input

FieldDefaultDescription
establishment"construction"Establishment name search term (partial match).
state"all"Two-letter US state code, or all.
max_pages1Max search result pages to walk.
include_detailsfalseFetch each inspection detail page (case status, penalties).
limit20Max records to output (≤ 1000).

Output

{
"establishment_name": "Smith Construction LLC",
"activity_nr": "317929415",
"case_status": "CLOSED",
"date_opened": "01/15/2024",
"sic": "1731",
"naics": "238210",
"violations_count": 3,
"total_penalty": 15625.0,
"inspection_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=317929415",
"raw": {"activity": "317929415", "opened": "01/15/2024", "...": "..."}
}

total_penalty, initial_penalty, fta_penalty, nr_instances, violation_items_count and case_status are only filled when include_details is on.