{"slug":"2s-io-api-gov-osha-inspections-45f3ef","title":"Search OSHA inspection records via the US Department of Labor Open Data Portal (","host":"2s.io","method":"GET","resource":"https://2s.io/api/gov/osha-inspections","category":"code","description":"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 ","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":254,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"limit":3,"state":"NH"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"method":{"const":"GET"},"queryParams":{"properties":{"city":{"type":"string"},"estabName":{"description":"Substring of establishment name.","type":"string"},"fields":{"description":"CSV of columns to return.","type":"string"},"filter":{"description":"Raw OData filter clause (combined with AND).","type":"string"},"limit":{"default":25,"maximum":100,"minimum":1,"type":"integer"},"offset":{"default":0,"minimum":0,"type":"integer"},"sort":{"description":"Column, prefix - for desc.","type":"string"},"state":{"description":"2-letter US state.","type":"string"},"zip":{"type":"string"}}},"type":{"const":"http"}},"required":["type","method","queryParams"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":254,"error":null}],"description_full":"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.","last_updated":"2026-09-19T15:58:12.963Z","schemes":["exact"]}