gov

Search OSHA inspection records via the US Department of...

Search OSHA inspection records via the US Department of Labor Open Data Portal (~5M historical inspections). Filter by US state (2-letter), city, zip, or establishment-name substring (estabName, case-insensitive). Optional filter accepts raw OData-style clauses (joined with AND); fields selects columns; sort sorts (prefix with - for desc). Each row carries activity number, reporting id, establishment name + full site address, owner type/code, advance-notice flag, safety/health type, SIC + NAICS industry codes, open + close dates, host establishment number, union status. Backbone of workplace-safety + investigative-journalism agents.

get/api/gov/osha-inspections

Request

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

Query parameters

statestring

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

citystring

City name to filter by.

zipstring

US ZIP code.

estabNamestring

Estab name.

fieldsstring

Fields.

filterstring

Filter.

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.