{"partialResults":false,"resources":[{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x849610c11c1e9b309235932faab6368cee7f7c57","scheme":"exact"}],"description":"Returns the OSHA inspections, violations and penalties on file for an employer in a state (optional city and zip), matched by name in the US Department of Labor's inspection and violation files, as establishments with a penalty roll-up; OSHA inspections only, so an employer with none has no record and an empty result is a paid 200; it is not a determination about the employer and is not endorsed or certified by the U.S. Department of Labor.","extensions":{"bazaar":{"info":{"input":{"body":{"city":"Lubbock","employer":"Acme Warehousing","state":"TX"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"coverage":"OSHA inspections only, from the Department of Labor's bulk inspection and violation files: a site with no inspection in these files has no row here, and an empty result says nothing else about the employer. States that run their own state plan may be partly absent. Withdrawn citations are left out of every list and total. Employer names are matched, not verified: confirm a site before acting on it. Penalties are the current amounts OSHA lists. Not endorsed or certified by the U.S. Department of Labor.","data_as_of":{"inspections":"2026-10-01T11:04:25Z","violations":"2026-10-01T11:11:27Z"},"establishments":[{"city":"Lubbock","inspections":[{"activity_nr":1002,"closed":"2024-08-30","opened":"2024-03-11","scope":"B","type":"B","violations":[{"abated":"2024-06-24","citation_id":"01001","contested":null,"current_penalty":"4500.00","exposed":3,"final_order":null,"gravity":"10","initial_penalty":"5000.00","instances":1,"issued":"2024-05-20","standard":"19100178 L01","type":"S"}]}],"inspections_truncated":false,"match_score":100,"names":["ACME WAREHOUSING INC"],"rollup":{"inspections":1,"last_inspection":"2024-03-11","other":0,"repeat":0,"serious":1,"total_current_penalty":"4500.00","violations":1,"willful":0},"state":"TX","zip":"79404"}],"rollup":{"inspections":1,"last_inspection":"2024-03-11","other":0,"repeat":0,"serious":1,"total_current_penalty":"4500.00","violations":1,"willful":0},"source":"US Department of Labor OSHA inspection and violation data (https://enforcedata.dol.gov)","total_establishments":1,"truncated":false},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"An employer and the state it works in; city and zip only narrow.","properties":{"city":{"description":"Inspection site city, case-insensitive. A hard filter.","maxLength":60,"minLength":1,"type":["string","null"]},"employer":{"description":"Employer name, with at least one word that is not a generic trade word.","maxLength":150,"minLength":2,"type":"string"},"limit":{"description":"Establishments returned, 1-25.","maximum":25,"minimum":1,"type":"integer"},"min_score":{"description":"Name score floor, 70-100.","maximum":100,"minimum":70,"type":"integer"},"state":{"description":"US state or territory code. A hard filter on the inspection site.","maxLength":2,"minLength":2,"type":"string"},"zip":{"description":"Five-digit inspection site ZIP. A hard filter.","pattern":"^[0-9]{5}$","type":["string","null"]}},"required":["employer","state"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"coverage":{"type":"string"},"data_as_of":{"additionalProperties":{"type":"string"},"type":"object"},"establishments":{"items":{"properties":{"city":{"type":"string"},"inspections":{"items":{"type":"object"},"type":"array"},"inspections_truncated":{"type":"boolean"},"match_score":{"type":"integer"},"names":{"items":{"type":"string"},"type":"array"},"rollup":{"type":"object"},"state":{"type":"string"},"zip":{"type":"string"}},"required":["names","city","state","zip","match_score","rollup","inspections","inspections_truncated"],"type":"object"},"type":"array"},"rollup":{"properties":{"inspections":{"type":"integer"},"last_inspection":{"format":"date","type":["string","null"]},"other":{"type":"integer"},"repeat":{"type":"integer"},"serious":{"type":"integer"},"total_current_penalty":{"type":"string"},"violations":{"type":"integer"},"willful":{"type":"integer"}},"required":["inspections","violations","total_current_penalty","serious","willful","repeat","other","last_inspection"],"type":"object"},"source":{"type":"string"},"total_establishments":{"type":"integer"},"truncated":{"type":"boolean"}},"required":["establishments","total_establishments","truncated","rollup","data_as_of","coverage","source"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-22T16:36:07.006Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-22T16:36:06.831Z"},"resource":"https://api.flipvo.com/v1/osha/history","serviceName":"tollbooth","tags":["compliance","osha","workplace-safety","employer"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"z7fksah3pgjosaa"}}
