VOOZH about

URL: https://apify.com/compute-edge/msha-mine-safety-scraper

โ‡ฑ MSHA Mine Safety Violations & Inspections Scraper ยท Apify


Pricing

from $3.00 / 1,000 results

Go to Apify Store

MSHA Mine Safety Scraper

Downloads and parses MSHA (Mine Safety and Health Administration) bulk CSV data files covering mine information, violations, inspections, and accidents from the US Department of Labor.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Compute Edge

Compute Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month 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

Is it legal to scrape MSHA mine safety data?

Yes. MSHA data is publicly available through the MSHA Open Government Data portal, a free public service provided by the U.S. Department of Labor. The data is in the public domain and freely available for any use.

How much does it cost to scrape MSHA?

The Actor charges $0.002 per result plus a $0.00005 Actor start fee. A typical run of 1,000 mine records costs approximately $2.00 in Actor fees plus minimal compute costs. See the pricing table above for details.

Can I export MSHA data to Excel or CSV?

Yes. Apify supports exporting data in JSON, CSV, Excel, XML, HTML, and RSS formats. After the Actor run completes, go to the Dataset tab and choose your preferred export format.

How often is the MSHA data updated?

You can schedule this Actor to run at any interval โ€” daily, weekly, or monthly. MSHA updates the bulk data files regularly, and the mines registry reflects the current status of all registered mines.

What types of mines are covered?

All mines under MSHA jurisdiction are included: coal mines, metal mines, non-metal mines (sand, gravel, limestone, etc.), and stone quarries. The mines dataset contains 91,000+ records, while violations and inspections contain millions of records.

Other Scrapers by SeatSignal

Legal Disclaimer

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.

You might also like

MSHA Mine Data Retrieval Scraper - US Mines Production + Safety

jungle_synthesizer/msha-mine-data-retrieval-scraper

Extract US mine records from MSHA Open Government Data CSVs. Covers coal, metal, and nonmetal mines: mine ID, operator, controller, state/county, geocoordinates, mine type, commodity, status, employees, quarterly production tons, violations, and accidents.

๐Ÿ‘ User avatar

BowTiedRaccoon

2

MSHA Mining Safety & Health Data

ryanclinton/msha-mining-safety

Comprehensive mining safety intelligence from the **Mine Safety and Health Administration (MSHA)**. Searches 86,000+ mines across the US and joins data from **5 DOL API datasets** โ€” mines, violations, inspections, accidents, and assessments โ€” with automated **risk scoring** based on fatalities, S...

NHTSA Vehicle Safety Data Scraper

compute-edge/nhtsa-vehicle-safety-scraper

Extract vehicle recalls, consumer complaints, and safety investigations from the NHTSA (National Highway Traffic Safety Administration) public API. Search by make, model, and year.

NHTSA Vehicle Safety Scraper

crawlerbros/nhtsa-scraper

Scrape the US National Highway Traffic Safety Administration (NHTSA) with free vehicle safety data including crash test ratings, consumer complaints, recalls, and VIN decode. No auth or proxy needed.

NHTSA Vehicle Safety Scraper

crawlergang/nhtsa-scraper

Scrape the US National Highway Traffic Safety Administration (NHTSA) with free vehicle safety data including crash test ratings, consumer complaints, recalls, and VIN decode. No auth or proxy needed.

2

5.0