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 the U.S. Department of Labor Enforcement Data API. Search inspections by company name, state, or SIC industry code; search violations by company or state. No authentication required.
What this actor does
This actor accesses the DOL Enforcement Data API (enforcedata.dol.gov) to retrieve:
- Inspections: Search OSHA inspection records by establishment name, US state, or Standard Industrial Classification (SIC) code
- Violations: Search OSHA violation/citation records by establishment name or state
Input
| Field | Type | Description |
|---|---|---|
mode | select | searchInspections or searchViolations |
establishmentName | string | Company/establishment name (partial match) |
state | select | Two-letter US state code (e.g. CA, TX, NY) |
sicCode | select | SIC industry code (e.g. 3310 for Steel Works) |
inspectionType | select | Filter by inspection type (e.g. B = Complaint, E = Accident) |
dateFrom | string | Filter records from date (YYYY-MM-DD) |
dateTo | string | Filter records to date (YYYY-MM-DD) |
maxItems | integer | Maximum records to return (1–2000, default: 50) |
Example Input
{"mode": "searchInspections","state": "CA","maxItems": 10}
Output
Each record contains:
| Field | Description |
|---|---|
inspectionId | OSHA inspection ID (activity number) |
establishmentName | Name of the inspected business |
state | US state abbreviation |
city | City |
zipCode | ZIP code |
naicsCode | NAICS industry code |
industry | Industry description |
inspectionDate | Date inspection was opened (YYYY-MM-DD) |
closeCaseDate | Date case was closed (YYYY-MM-DD) |
inspectionType | Type of inspection (e.g. Complaint, Planned, Accident) |
scope | Inspection scope (Complete, Partial, Records Only) |
unionStatus | Union/non-union status |
employerSize | Number of employees at establishment |
fatalities | Number of fatalities |
injuries | Number of injuries |
penaltyAmount | Total current penalty amount (USD) |
totalViolationsCount | Total violations cited |
seriousViolations | Number of serious violations |
willfulViolations | Number of willful violations |
repeatViolations | Number of repeat violations |
citationId | Citation ID (violations mode) |
violationType | Violation type (Serious, Willful, Repeat, Other) |
standard | OSHA standard cited |
description | Violation description |
reportUrl | Direct OSHA inspection report URL |
scrapedAt | ISO timestamp of when record was scraped |
Example Output
{"inspectionId": "1234567","establishmentName": "ACME Manufacturing Inc","state": "CA","city": "Los Angeles","naicsCode": "3310","industry": "Steel Works","inspectionDate": "2023-06-15","inspectionType": "Complaint","penaltyAmount": 12500.0,"totalViolationsCount": 3,"seriousViolations": 2,"reportUrl": "https://www.osha.gov/pls/imis/establishment.inspection_detail?id=1234567","recordType": "inspection","scrapedAt": "2024-01-15T10:30:00+00:00"}
Data Source
Data is sourced from the DOL Enforcement Data API (enforcedata.dol.gov), which provides public access to OSHA inspection and violation records. This API is operated by the U.S. Department of Labor and provides comprehensive enforcement data without authentication.
SIC Industry Codes (select examples)
| Code | Industry |
|---|---|
| 2011 | Meat Packing Plants |
| 1731 | Electrical Work |
| 3310 | Steel Works & Blast Furnaces |
| 5411 | Grocery Stores |
| 8051 | Skilled Nursing Care Facilities |
| 1600 | Heavy Construction |
See OSHA SIC codes for the full list.
Inspection Types
| Code | Description |
|---|---|
| A | Planned |
| B | Complaint |
| C | Referral |
| D | Follow-up |
| E | Accident |
| F | Fatality / Catastrophe |
| V | National Emphasis Program |
Frequently Asked Questions
Is authentication required? No. The DOL Enforcement Data API is public and does not require any API key or credentials.
How many records can I retrieve?
You can retrieve up to 2,000 records per run using the maxItems parameter. For larger datasets, run multiple times with different filters.
How current is the data? OSHA updates its enforcement database regularly. Records reflect the most recent data available in the DOL Enforcement system.
Can I filter by both company and state?
Yes, you can combine establishmentName and state filters to narrow results.
What is the difference between searchInspections and searchViolations?
searchInspections returns high-level inspection summary records. searchViolations returns individual citation/violation records with specific OSHA standard citations and penalty amounts.