# OSHA Violations Search (2s.io)

> OSHA Violations Search (2s.io) 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 ~13.2M OSHA citation and violation records from the US Department of Labor Open Data Portal, filterable by inspection number, citation ID, CFR standard, issuance date range, and penalty amount.

## Facts

- Endpoint: GET https://2s.io/api/gov/osha-violations
- 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-2ed12127
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OW7Xqhh93iCAOZLpyrOGa

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-2ed12127
```

Example prompt: Pull up OSHA violation records related to activityNr 123456789 — I want to see any citations under CFR standard 19100132 (PPE general requirements) issued between 2022-01-01 and 2023-12-31 with an initial penalty of at least $5000, show me up to 50 results.

## When to prefer this

Use this endpoint when you need to search OSHA citation or violation records directly — especially when you have an activityNr from an OSHA inspection and want to drill into associated violations, or when you want to filter violations by CFR standard, penalty range, or issuance date. Pair with /api/gov/osha-inspections to traverse the full site → inspection → violation chain. Prefer this over general web search when structured, filterable access to the full ~13.2M citation database is needed.

## Known failure modes

- No matching citations found — returns empty results array
- Invalid standard format (must be numeric CFR section without dots, e.g. '19100132') — may return no results or error
- Invalid date format (must be YYYY-MM-DD) — returns 400 or empty results
- activityNr not found in database — returns empty results
- Limit exceeds 100 — rejected by schema validation
- Payment not included or insufficient — 402 Payment Required

## How this service works

Search OSHA citation / violation records via US Department of Labor Open Data Portal (~13.2M citations). Each citation links to an inspection via `activityNr` — pair with /api/gov/osha-inspections to follow site → inspection → violations. Filter by activityNr, citationId, standard (29 CFR section, e.g. "19100132" for PPE general requirements), issuance date range, initial-penalty min/max, emphasis program code.

## Output

Returns a paginated list of OSHA citation/violation records matching the filters, each including the activityNr (linkable to an OSHA inspection), citationId, CFR standard reference, issuance date, initial penalty amount, emphasis program code, and related violation details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "initialPenalty": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-2ed12127/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)
