{"openapi":"3.1.1","info":{"title":"OSHA inspections and penalties by state and industry (DOL enforcement data): data API","version":"v1","summary":"Static, read-only JSON and CSV files. No key, no sign-up. CORS open.","description":"OSHA inspections and penalties by state and industry (DOL enforcement data): How many workplace safety inspections OSHA opened in each state and industry, how many ended in citations, how many violations were found (serious, willful, repeat) and the current penalties, from the Department of Labor's OSHA enforcement files (federal and state-plan), by fiscal year: the latest year and the ten-year window, for the US, every state and territory with inspections, and each state's NAICS sectors. Only counts and dollar totals: no employer, address or inspection number is in the dataset.\n\nProbative is a marketing firm, not a law firm; not legal advice. Every JSON response starts with a \"meta\" object holding the credit line, citation, DOI and license (CC BY 4.0).","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"Probative Growth","url":"https://probativegrowth.com/contact/","email":"hello@probativegrowth.com"}},"servers":[{"url":"https://probativegrowth.com"}],"externalDocs":{"description":"How to use the API and the MCP server","url":"https://probativegrowth.com/resources/rules-api/"},"paths":{"/data/v1/osha-enforcement/index.json":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data): index","description":"osha-enforcement: meta, summary and what the dataset holds","parameters":[],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data): index","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/changes.json":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data): confirmed changes","description":"osha-enforcement: confirmed changes, newest first","parameters":[],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data): confirmed changes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/jurisdictions/{key}.json":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data): one jurisdiction","description":"osha-enforcement: the records for one jurisdiction","parameters":[{"name":"key","in":"path","required":true,"description":"The jurisdiction key, uppercase","schema":{"type":"string"},"example":"AK"}],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data): one jurisdiction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/osha-enforcement.csv":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data) as CSV","description":"osha-enforcement: every record (credit line in README.txt)","parameters":[],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data) as CSV","content":{"text/csv":{"schema":{"type":"string"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/osha-enforcement.json":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data): every record","description":"osha-enforcement: every record in one file","parameters":[],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data): every record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/search.json":{"get":{"summary":"OSHA inspections and penalties by state and industry (DOL enforcement data): keyword index","description":"osha-enforcement: id, key, status and text of every record","parameters":[],"responses":{"200":{"description":"OSHA inspections and penalties by state and industry (DOL enforcement data): keyword index","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}},"/data/v1/osha-enforcement/README.txt":{"get":{"summary":"Credit line, citation and columns","description":"osha-enforcement: the CSV sidecar","parameters":[],"responses":{"200":{"description":"Credit line, citation and columns","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"No such file"}},"tags":["osha-enforcement"]}}},"components":{"schemas":{"Meta":{"type":"object","description":"Credit line, citation, DOI, version, license and disclaimer. Present in every response.","required":["dataset","version","license","attribution","disclaimer","url"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"version":{"type":"string"},"doi":{"type":"string"},"doiUrl":{"type":"string"},"conceptDoi":{"type":"string"},"license":{"type":"string","const":"CC BY 4.0"},"licenseUrl":{"type":"string"},"attribution":{"type":"string"},"citation":{"type":"string"},"disclaimer":{"type":"string"},"notice":{"type":"string"},"lastChecked":{"type":"string"},"url":{"type":"string"},"humanUrl":{"type":"string"},"statusCodes":{"type":"object"}}},"Envelope":{"type":"object","required":["meta"],"properties":{"meta":{"$ref":"#/components/schemas/Meta"}},"additionalProperties":true}}}}