Questions you can ask
- “Which MSHA datasets are available?”
- “Significant and substantial violations for mines in Texas last year.”
- “Accidents reported at this mine in the last five years.”
| Mine | County | S&S violations |
|---|---|---|
| Example sand mine | Winkler | 7 |
| Example aggregate quarry | Bexar | 4 |
| Example limestone quarry | Comal | 2 |
Illustrative values showing the shape of an answer, not live data.
About this source
MSHA mine-safety enforcement data via the DOL Open Data Portal — mines master list, violations (S&S), accidents/injuries, inspections; catalog browsing is keyless, bulk data needs a free DOL API key (DOL_API_KEY).
Connector ID msha
Provenance
Freshness & coverage
› Methods (6)
Technical detail for developers: parameters, pagination, units, and freshness per method.
listDatasets
readList all MSHA datasets and IDs from the keyless DOL catalog.
No args; scans the DOL catalog and returns every MSHA dataset.
getDatasetMetadata
readKEYED — official DOL metadata for a catalog dataset (needs DOL_API_KEY)
Required paramsidUses the keyed official metadata route; never consumes undocumented previews.
getMines
readKEYED — mines master list rows (needs DOL_API_KEY)
limit 1-1000 (default 50); the /MSHA/mines path segment is required.
getViolations
readKEYED — violation rows incl. S&S (significant & substantial); needs DOL_API_KEY
Args: limit? (default 50, 1..1000). GET /v4/get/MSHA/violation/json.
getAccidents
readKEYED — accident/injury rows (needs DOL_API_KEY)
Args: limit? (default 50, 1..1000). GET /v4/get/MSHA/accident/json.
getServiceInfo
readDescribe keyless catalog, keyed data, join keys, dataset aliases, and refresh cadence.
