US OSHA Workplace Inspection & Safety Penalty Leads
Pricing
$6.00 / 1,000 unique osha inspection records
US OSHA Workplace Inspection & Safety Penalty Leads
Find U.S. OSHA inspection activities and published citations from complete official DOL snapshots. Join penalties by activity ID; distinguish inspections from violations and show source freshness.
Pricing
$6.00 / 1,000 unique osha inspection records
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
US OSHA Workplace Inspection & Safety Penalty Leads (NEWAPI28)
One dataset item represents one unique OSHA inspection activity (activity_nr). The Actor joins the U.S. Department of Labor's public inspection and violation records on that exact identifier. An inspection does not imply a violation. It never imports person-level injury or accident records.
Source and coverage
OSHA's official Data page links to the DOL Open Data Portal. The official inspection ZIP and violation ZIP are available without credentials. The default publicZip mode downloads both full daily snapshots, requires the same snapshot day, and streams every CSV member of both archives before writing any output. A truncated file, malformed row, missing column, transfer failure, or memory scope limit fails the run rather than treating unmatched records as citation-free. The selected inspection keys form an in-memory semi-join index; there is no persistent index or cache between Apify runs.
The optional dolApi mode uses the DOL v4 API at https://apiprod.dol.gov/v4/get/OSHA/{inspection|violation}/json and requires the user's private DOL API key. API pagination and the selected activity ID citation pages must complete. Do not paste a key into a URL or source file.
In the ZIP observed on October 25, 2026, the latest open_date was September 23, 2026. By default, ZIP mode uses the 30-day window ending on the latest date in the snapshot, not the machine's current date. The source_snapshot_date field records the archive publication day. observed_at records this run's UTC observation. The source may publish records late or revise them. A missing citation is reported as no published citation in complete snapshot, not compliance, no OSHA finding, or a future guarantee.
total_violations counts distinct active citation IDs. initial_penalty_usd and current_penalty_usd sum the corresponding matched citation amounts separately. case_status indicates open/closed, contest date, and penalty revision where published. Amounts are reported source values; they are neither live enforcement nor guaranteed final amounts. The source detail URL is a constructed OSHA inspection detail link; an occasional agency activity ID may not resolve on the public detail site.
Input
sourceMode defaults to publicZip, state to CA, maxResults to 5, and maxCostUsd to $0.03. Optional filters: naics (2–6 digit prefix), inspectionDateFrom, inspectionDateTo, violationType (S/W/R/O/U), and minReportedPenalty. Explicit dates use the source open_date. A zero minimum includes inspections with no published citation. dolApiKey is secret and only needed when choosing dolApi; the publisher can instead supply DOL_API_KEY privately. API mode's omitted start date defaults to the last 30 days relative to today; the source may lag.
Example:
{"sourceMode":"publicZip","state":"TX","naics":"238","inspectionDateFrom":"2025-01-01","inspectionDateTo":"2025-03-31","maxResults":5,"maxCostUsd":0.03}
Output and pricing
The default Apify Dataset supports JSON and CSV export. Fields: activity_nr, establishment_name, site_address, naics_code, inspection_date, violation_type, current_penalty_usd, initial_penalty_usd, total_violations, case_status, source_record_url, observed_at, and source_snapshot_date.
Store price: $0.006 per unique dataset item, or $6 for 1,000 items. The apify-default-dataset-item synthetic event is configured as the sole primary paid event, with no paid start event. In a private Apify test on October 26, 2026, five items triggered five charged events ($0.030 at the configured rate); the run finished in 120 seconds and reported $0.02417 platform usage. Costs vary with the plan and source. maxCostUsd caps the Actor's intended item charges at this unit price; it does not cap platform resource usage, and the Apify run spending limit remains authoritative.
Resource profile and limitations
The official October 25, 2026 pair totals 3,727,362,795 bytes (3.73 GB decimal), six inspection CSV members and 14 violation members. Apify memory is fixed at 4,096 MB to provide 8,192 MB of container disk and one CPU core for the complete pair. The files are temporary per run. An unbounded date range can exceed the in-memory candidate limit, in which case the run fails and asks for narrower filters; it does not deliver partial results. The current public ZIP snapshot is refreshed independently of the Actor; check source_snapshot_date and latest inspection date in logs for lag.
Run local tests with python3 -m unittest discover -s tests -v. Benchmarks and source measurements live under evidence/. Cloud test run IDs KAdVntAaMkJAaozoX (CA default, 141 seconds), 1DoqX6ETib9EdQRMf (TX NAICS 424510, 114 seconds), and DmcDuiAlU8BdV7jYX (paid event check, 120 seconds) succeeded. The last run charged five dataset events. The ZIP snapshot date and latest inspection date are included in run logs.