gov

Search OSHA citation / violation records via US Department...

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.

get/api/gov/osha-violations

Request

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

Query parameters

activityNrinteger

Activity nr.

citationIdstring

Citation ID.

standardstring

Standard.

issuanceDateMinstring

Issuance date min.

issuanceDateMaxstring

Issuance date max.

minnumber
maxnumber

Initial penalty.

emphasisstring

Emphasis.

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.