MSHA Mine Safety Scraper avatar

MSHA Mine Safety Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
MSHA Mine Safety Scraper

MSHA Mine Safety Scraper

Extract mine safety and health data from the U.S. Department of Labor's Mine Safety and Health Administration (MSHA) database.

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

Categories

Share

MSHA Mine Safety & Health Data Scraper

Extract mine safety and health data from the U.S. Department of Labor's Mine Safety and Health Administration (MSHA) database. This Actor downloads and parses the official MSHA bulk data files, covering over 91,000 mines, millions of violations, and hundreds of thousands of inspections reported under federal mining safety law.

MSHA data is a critical resource for mining industry compliance monitoring, workplace safety analysis, insurance risk assessment, and industrial supply chain due diligence. Every mine operating in the United States — coal, metal, and non-metal — is required by law to be registered and inspected by MSHA. This Actor makes that data instantly accessible in JSON, CSV, or Excel format.

Key Features

FeatureDescription
Three datasetsMines (registry), Violations (citations & penalties), Inspections (inspection events)
State filteringFilter mines by US state abbreviation (WV, KY, PA, etc.)
91,000+ minesComplete registry of all US mines under MSHA jurisdiction
Penalty dataProposed penalties, current penalties, and amounts paid for violations
No authenticationUses freely available MSHA public data — no API key needed
Automatic parsingDownloads ZIP archives, extracts pipe-delimited CSV, and outputs clean JSON

What Data Can You Extract?

Mines Dataset

FieldDescription
mineIdUnique MSHA mine identifier
mineNameName of the mine
mineTypeSurface or Underground
mineStatusActive, Abandoned, Intermittent, etc.
operatorNameCurrent mine operator
controllerNameControlling entity
stateUS state abbreviation
countyCounty name
commodityPrimary commodity (Coal, Sand & Gravel, etc.)
latitude, longitudeGPS coordinates
avgMineEmploymentAverage number of employees

Violations Dataset

FieldDescription
violationNoUnique violation number
mineIdAssociated mine ID
violationIssueDtDate violation was issued
proposedPenaltyInitial penalty amount in dollars
currentPenaltyCurrent penalty after adjustments
negligenceNegligence classification
gravityGravity of violation

Inspections Dataset

FieldDescription
eventNoInspection event number
mineIdAssociated mine ID
inspectionBeginDtInspection start date
inspectionEndDtInspection end date
inspTypeInspection type code
violationsIssuedNumber of violations issued
totalViolationsTotal violation count

How to Scrape MSHA Mine Safety Data

  1. Go to this Actor's page on the Apify Store
  2. Click "Start" to open the input form
  3. Set your filters:
    • Select a Data Type: Mines, Violations, or Inspections
    • Enter a State abbreviation (e.g., WV for West Virginia) — or leave blank for all states
    • Set Max Results (default: 1,000; set to 0 for all records)
  4. Click "Start" to run the Actor
  5. Download your data in JSON, CSV, or Excel format from the Dataset tab

Input Example

{
"dataType": "mines",
"state": "WV",
"maxResults": 500
}

Output Example

{
"mineId": "4601432",
"mineName": "BIRCH RIVER OPERATION",
"mineType": "Surface",
"mineStatus": "Active",
"operatorName": "LEXINGTON COAL CO LLC",
"controllerName": "FORESIGHT ENERGY LP",
"state": "WV",
"county": "Nicholas",
"commodity": "Coal (Bituminous)",
"latitude": "38.48861",
"longitude": "-80.71083",
"avgMineEmployment": "156"
}

Pricing

This Actor uses pay-per-result pricing:

EventPrice
Actor start$0.00005
Per result$0.002

The MSHA data is free and public. You only pay for Apify compute resources plus the per-result fee above. A typical run of 1,000 mine records costs approximately $2.00 in Actor fees plus minimal compute costs.

Use Cases

  • Mining Industry Compliance: Monitor mine safety records, violations, and penalties for regulatory compliance
  • Insurance & Risk Assessment: Evaluate mine safety history for underwriting and premium calculations
  • Equipment & Supply Sales: Identify active mines by commodity, state, and size for targeted B2B outreach
  • Workplace Safety Research: Analyze violation trends, penalty amounts, and inspection patterns across the mining industry
  • Environmental Analysis: Map mine locations and operations for environmental impact studies
  • Investigative Journalism: Data-driven reporting on mining safety enforcement

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: MSHA updates the bulk data files regularly. The mines registry reflects the current status of all registered mines.

Q: What types of mines are covered? A: All mines under MSHA jurisdiction: coal mines, metal mines, non-metal mines (sand, gravel, limestone, etc.), and stone quarries.

Q: Can I filter violations by mine? A: The violations dataset includes a mineId field that you can use to cross-reference with the mines dataset. State filtering is available for the mines dataset.

Q: How large are the datasets? A: The mines dataset contains 91,000+ records. Violations and inspections contain millions of records — use the maxResults parameter to limit output.

This Actor accesses publicly available data from the MSHA Open Government Data portal, a free public service provided by the US 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. 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.