BLS Labor Statistics Scraper
Pricing
from $3.00 / 1,000 results
BLS Labor Statistics Scraper
Scrape US Bureau of Labor Statistics (BLS) employment, unemployment, and wage data by industry sector and state. Free government API, no authentication required.
Pricing
from $3.00 / 1,000 results
Rating
0.0
(0)
Developer
Crawler Bros
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
OSHA Inspection & Violation Scraper
Scrape OSHA (Occupational Safety and Health Administration) inspection and violation records from osha.gov's public Establishment Search tool. Search inspections by company name, US state, or ZIP code; search violations/citations the same way. No authentication required.
What this actor does
This actor drives OSHA's own public Establishment Search tool to retrieve:
- Inspections: Search OSHA inspection records by establishment name, US state, or site ZIP code
- Violations: Search citation/violation records for the same inspections — penalty amounts, standards cited, and case status
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | searchInspections | searchInspections (one record per inspection) / searchViolations (one record per citation) |
establishmentName | string | Amazon | Company/establishment name (partial match) |
state | string | CA | Two-letter US state code, or "All States" |
zipCode | string | – | Site ZIP code |
inspectionType | string | – (all) | A Planned, B Complaint, C Referral, D Follow-up, E Accident, F Fatality/Catastrophe, V Program Related |
caseStatus | string | all | all / open / closed |
violationsExist | string | all | all / yes / no — inspections with or without citations |
dateFrom / dateTo | string | – | Inspection-opened date range (YYYY-MM-DD) |
maxItems | int | 50 | Hard cap on emitted records (1–2000) |
At least one of establishmentName, state, or zipCode is required — this mirrors OSHA's own search tool, which needs one of these to run a query at all.
Example: search inspections for a company in a state
{"mode": "searchInspections","establishmentName": "Amazon","state": "CA","maxItems": 20}
Example: find violations/citations for a company
{"mode": "searchViolations","establishmentName": "Tesla","violationsExist": "yes","maxItems": 50}
Example: accident inspections nationwide in a date range
{"mode": "searchInspections","establishmentName": "Amazon","inspectionType": "E","dateFrom": "2023-01-01","dateTo": "2024-12-31"}
Output
Inspection records (mode=searchInspections)
| Field | Description |
|---|---|
inspectionId | OSHA inspection activity number |
establishmentName | Name of the inspected business |
state / city / zipCode | Site location |
naicsCode / industry | NAICS industry code and description |
sicCode | SIC code, when OSHA publishes one for this inspection |
inspectionDate | Date the inspection was opened (YYYY-MM-DD) |
closeCaseDate | Date the case was closed, if closed |
inspectionType | Planned, Complaint, Referral, Follow-up, Accident, Fatality/Catastrophe, Program Related |
scope | Complete, Partial, or Records Only |
caseStatus | Open or Closed |
unionStatus | Union/non-union status |
ownership | Private, State, Federal, etc. |
safetyOrHealth | Whether the inspection covered Safety or Health |
oshaOffice | The OSHA area/district office that conducted the inspection |
reportId | OSHA regional/office report ID |
totalViolationsCount | Total current citations for this inspection |
seriousViolations / willfulViolations / repeatViolations / otherViolations / unclassifiedViolations | Citation counts by category (only categories with a nonzero count are included) |
penaltyAmount | Total current penalty amount (USD) |
initialPenaltyAmount | Total penalty as originally assessed, before any reductions (USD) |
reportUrl | Direct OSHA inspection detail page URL |
scrapedAt | ISO timestamp of when the record was scraped |
Violation records (mode=searchViolations)
| Field | Description |
|---|---|
inspectionId / establishmentName / state | The parent inspection |
citationId | Citation ID within the inspection |
violationType | Serious, Willful, Repeat, Other, or Unclassified |
standardCited | The OSHA standard reference cited |
issuanceDate | Date the citation was issued |
abatementDueDate | Date the violation was due to be corrected |
currentPenalty / initialPenalty / ftaPenalty | Penalty amounts (USD) — current, as originally assessed, and Failure-to-Abate |
contestDate | Date the citation was contested, if applicable |
latestEvent | Most recent case event (e.g. settlement, ALJ order) |
note | Any additional note OSHA publishes for this citation |
reportUrl | Direct OSHA inspection detail page URL |
scrapedAt | ISO timestamp of when the record was scraped |
Example Output (inspection)
{"inspectionId": "1780602.015","establishmentName": "Amazon Vupc","state": "CA","city": "Ontario","zipCode": "91762","naicsCode": "493110","industry": "General Warehousing and Storage","inspectionDate": "2024-10-09","inspectionType": "Complaint","scope": "Partial","caseStatus": "CLOSED","unionStatus": "NonUnion","ownership": "Private","safetyOrHealth": "Health","oshaOffice": "Monrovia District Office","reportUrl": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1780602.015","recordType": "inspection","scrapedAt": "2026-08-10T05:00:00+00:00"}
Use cases
- Vendor & contractor due diligence — confirm a company's OSHA inspection and citation history before engaging them
- Compliance monitoring — track new inspections or citations for companies you monitor
- Safety research — study inspection outcomes, penalty amounts, or citation patterns by industry or state
- Journalism & advocacy — investigate workplace-safety enforcement trends at specific employers
Frequently Asked Questions
Is authentication required? No. OSHA's Establishment Search tool is public and does not require any API key or credentials.
How many records can I retrieve?
Up to 2,000 records per run using the maxItems parameter. For larger datasets, run multiple times with different filters.
Why don't some inspections have violation counts or penalty fields? Not every inspection results in a citation — those fields are only populated when OSHA's own system reports a violation for that inspection. The actor never fabricates a value.
Can I filter by both company and state?
Yes — combine establishmentName and state (or zipCode) to narrow results.
What is the difference between searchInspections and searchViolations?
searchInspections returns one record per inspection, including violation counts and total penalty. searchViolations returns one record per individual citation, with the specific OSHA standard cited and its own penalty breakdown — only inspections that actually have citations produce searchViolations records.
How current is the data? OSHA's Establishment Search tool states it reflects inspection data through the most recent database refresh (typically within the last few days).
Data Source
Data is sourced from OSHA's own public Establishment Search tool at osha.gov/ords/imis, operated by the U.S. Department of Labor's Occupational Safety and Health Administration. The older enforcedata.dol.gov API this actor previously referenced has been fully decommissioned by DOL; osha.gov's Establishment Search is the current, actively-maintained successor and is what this actor uses.