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.
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/gov/osha-inspections
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
US state — two-letter postal abbreviation (e.g. CA) or full name.
City name to filter by.
US ZIP code.
Estab name.
Fields.
Filter.
Field to sort results by.
Maximum number of results to return.
Number of results to skip before returning (pagination offset).
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
Changes
No recorded changes to this operation across all 1 revision of this API.