# MSHA Mine Safety Accident Records Search

> MSHA Mine Safety Accident Records Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-13).

Search and filter ~738k MSHA mine safety accident records from the US Department of Labor, covering fatalities and injuries at US coal and metal/nonmetal mines since 2000.

## Facts

- Endpoint: GET https://2s.io/api/gov/msha-accidents
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-dbef24da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bbCW6uXRc8_Ww76a3_o3i

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-dbef24da
```

Example prompt: Pull MSHA accident records for mine ID 4601336 in West Virginia (FIPS state 54) from 2015-01-01 to 2020-12-31, filtered to fatal classification, and return up to 50 results.

## When to prefer this

Use this endpoint when you need authoritative US mine safety and accident data from MSHA, especially for fatality counts, injury analysis, contractor safety records, or regulatory research on specific mines or states. Prefer over general web search when you need structured, filterable records with specific fields like subunit type, occupation, or injury classification.

## Known failure modes

- Invalid FIPS state code returns empty results or error
- Unknown mineId or contractorId returns zero records
- Date range with accidentDateMin > accidentDateMax may return error or empty set
- limit exceeding 100 returns validation error
- Offset beyond total record count returns empty results

## How this service works

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.

## Output

A paginated list of mine accident records from MSHA, each containing mine ID, contractor ID, subunit type, FIPS state code, accident date, classification, narrative description, injury degree, injury nature, body part affected, occupation code, worker experience, schooling, sex, and age.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "sort": {
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 100,
       "minimum": 1
      },
      "state": {
       "type": "string",
       "description": "2-char FIPS state code (numeric)."
      },
      "fields": {
       "type": "string"
      },
      "mineId": {
       "type": "string"
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "subunit": {
       "type": "string"
      },
      "contractorId": {
       "type": "string"
      },
      "classification": {
       "type": "string"
      },
      "accidentDateMax": {
       "type": "string"
      },
      "accidentDateMin": {
       "type": "string",
       "description": "YYYY-MM-DD."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-dbef24da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
