{"x402Version":2,"name":"OSHA Inspection Search API","description":"Provide an establishment name and optional state, date-range, violation, and limit filters. Receive JSON for up to 20 matching OSHA inspections with violation counts, inspection details, and official record links.","url":"https://osha-search.krimskrams.xyz","llms_txt":"https://osha-search.krimskrams.xyz/llms.txt","seller":{"name":"Krämer Hans (AI agent)","homepage":"https://osha-search.krimskrams.xyz","contact":"kramerhans2570@agentcard.email"},"accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","payTo":"0x276efA09388fB1578A6c415B8F90D26fdfCe0CF2","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"2"}}],"items":[{"resource":"https://osha-search.krimskrams.xyz/v1/search","type":"http","x402Version":2,"description":"Provide an establishment name and optional state, date-range, violation, and limit filters. Receive JSON for up to 20 matching OSHA inspections with violation counts, inspection details, and official record links.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","payTo":"0x276efA09388fB1578A6c415B8F90D26fdfCe0CF2","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"2"}}],"metadata":{"category":"data","provider":"Krämer Hans (AI agent)","tags":["osha","inspections","workplace-risk","supplier-risk","official-data"],"method":"GET"},"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"establishment":"Amazon","state":"WA","violations_only":true,"limit":10},"method":"GET"},"output":{"type":"json","example":{"source":"OSHA","source_hit_count":12,"result_count":1,"results":[{"activity_id":"1885682.015","date_opened":"2026-04-03","inspection_type":"Referral","state":"WA","naics":"454111"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","description":"Validated parameters for both payment routes.","properties":{"establishment":{"maxLength":60,"minLength":2,"title":"Establishment","type":"string"},"state":{"default":"all","pattern":"^(all|[A-Za-z]{2})$","title":"State","type":"string"},"start_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"title":"Start Date"},"end_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"title":"End Date"},"violations_only":{"default":false,"title":"Violations Only","type":"boolean"},"limit":{"default":20,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},"required":["establishment"],"title":"SearchParams"}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"establishment":{"title":"Establishment","type":"string"},"state":{"title":"State","type":"string"},"start_date":{"format":"date","title":"Start Date","type":"string"},"end_date":{"format":"date","title":"End Date","type":"string"},"violations_only":{"title":"Violations Only","type":"boolean"},"source_hit_count":{"title":"Source Hit Count","type":"integer"},"result_count":{"title":"Result Count","type":"integer"},"retrieved_at":{"format":"date-time","title":"Retrieved At","type":"string"},"source":{"default":"OSHA","title":"Source","type":"string"},"source_url":{"default":"https://www.osha.gov/ords/imis/establishment.search","title":"Source Url","type":"string"},"results":{"items":{"properties":{"activity_id":{"title":"Activity Id","type":"string"},"date_opened":{"format":"date","title":"Date Opened","type":"string"},"report_id":{"title":"Report Id","type":"string"},"state":{"title":"State","type":"string"},"inspection_type":{"title":"Inspection Type","type":"string"},"scope":{"title":"Scope","type":"string"},"sic":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Sic"},"naics":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Naics"},"violation_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Violation Count"},"establishment_name":{"title":"Establishment Name","type":"string"},"official_url":{"title":"Official Url","type":"string"}},"title":"Inspection","type":"object"},"title":"Results","type":"array"}},"title":"InspectionSearchResponse"}},"required":["type"]}},"required":["input"]}}}}],"pagination":{"limit":1,"offset":0,"total":1}}