gov

Search MSHA mine safety accident records via US Department...

Search MSHA mine safety accident records via US Department of Labor Open Data Portal (~738k accidents at US mines). Each row carries mine id, contractor id, mine subunit (underground/surface/mill/etc.), FIPS state code, accident date, classification, narrative, injury degree + nature + body-part, occupation code, experience, schooling, sex, age. Filter by mine id, contractor id, FIPS state code, subunit code, accident date range, classification code. Source of truth for fatalities + injuries at every US coal + metal/nonmetal mine since 2000.

get/api/gov/msha-accidents

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/gov/msha-accidents
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

mineIdstring

Mine ID.

contractorIdstring

Contractor ID.

statestring

US state — two-letter postal abbreviation (e.g. CA) or full name.

subunitstring

Subunit.

accidentDateMinstring

Accident date min.

accidentDateMaxstring

Accident date max.

classificationstring

Classification.

fieldsstring

Fields.

sortstring

Field to sort results by.

limitinteger

Maximum number of results to return.

offsetinteger

Number of results to skip before returning (pagination offset).

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.