{"uid":"cap_DB_5TtUvgI45eNUeoq2pW","slug":"2s-io-86c1f432","name":"OSHA Inspections Search via 2s.io","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 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.","url":"https://2s.io/api/gov/osha-inspections","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"zip":{"type":"string"},"city":{"type":"string"},"sort":{"type":"string","description":"Column, prefix - for desc."},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1},"state":{"type":"string","description":"2-letter US state."},"fields":{"type":"string","description":"CSV of columns to return."},"filter":{"type":"string","description":"Raw OData filter clause (combined with AND)."},"offset":{"type":"integer","default":0,"minimum":0},"estabName":{"type":"string","description":"Substring of establishment name."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":10,"state":"ca"}}},"response":{"data":{"ok":true,"meta":{"nextOffset":10},"items":[{"sicCode":"1522","siteZip":"93401","openDate":"2007-06-20T00:00:00","siteCity":"SAN LUIS OBISPO","advNotice":"Y","estabName":"CLARK CONSTRUCTION GROUP","naicsCode":"236116","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":310487988,"safetyHlth":"S","reportingId":"0950642","siteAddress":"HIGHLAND DR AT VIA CARTA","unionStatus":"N","closeCaseDate":"2007-06-21T00:00:00"},{"sicCode":"6531","siteZip":"92078","openDate":"2001-10-26T00:00:00","siteCity":"SAN MARCOS","advNotice":"N","estabName":"TGM BARHAM VILLA INC","naicsCode":"000000","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":300787249,"safetyHlth":"H","reportingId":"0950632","siteAddress":"570 BARHAN DRIVE","unionStatus":"N","closeCaseDate":"2008-08-15T00:00:00"},{"sicCode":"1741","siteZip":"95110","openDate":"2005-06-03T00:00:00","siteCity":"SAN JOSE","advNotice":"N","estabName":"DIABLO VALLEY MASONRY","naicsCode":"238140","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":119649127,"safetyHlth":"S","reportingId":"0950612","siteAddress":"625 COLEMAN AVENUE","unionStatus":"Y","closeCaseDate":"2005-10-18T00:00:00"},{"sicCode":"0761","siteZip":"94574","openDate":"2012-06-18T00:00:00","siteCity":"ST HELENA","advNotice":"N","estabName":"BAZAN VINEYARD MANAGEMENT LLC.","naicsCode":"115115","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":315828541,"safetyHlth":"H","reportingId":"0950615","siteAddress":"2326 DOLLARHIDE ROAD","unionStatus":"N","closeCaseDate":"2012-06-21T00:00:00"},{"sicCode":"7361","siteZip":"93631","openDate":"2013-07-10T00:00:00","siteCity":"KINGSBURG","advNotice":"N","estabName":"AEROTEK STAFFING","naicsCode":"561310","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":316724111,"safetyHlth":"H","reportingId":"0950625","siteAddress":"3920 CLARKSON DR.","unionStatus":"N","closeCaseDate":"2013-12-04T00:00:00"},{"sicCode":"1442","siteZip":"95567","openDate":"1997-08-28T00:00:00","siteCity":"SMITH RIVER","advNotice":"N","estabName":"TIDEWATER CONTRACTORS INC","naicsCode":"000000","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":125659961,"safetyHlth":"S","reportingId":"0950651","siteAddress":"HEMMINGSEN CONST WESTBRK BAR 130 S FRED HAIGHT DR","unionStatus":"N","closeCaseDate":"1997-08-28T00:00:00"},{"sicCode":"3275","siteZip":"94509","openDate":"1989-02-07T00:00:00","siteCity":"ANTIOCH","advNotice":"N","estabName":"DOMTAR GYPSUM COMPANY","naicsCode":"000000","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":106462260,"safetyHlth":"S","reportingId":"0931800","siteAddress":"WILBUR AVENUE AT MINALAN DRIVE","unionStatus":"A","closeCaseDate":"1989-03-15T00:00:00"},{"sicCode":"9441","siteZip":"95817","openDate":"1998-01-09T00:00:00","siteCity":"SACRAMENTO","advNotice":"N","estabName":"SACRAMENTO COUNTY-DEPT HUMAN ASSISTANCE","naicsCode":"000000","ownerCode":"0000","ownerType":"B","siteState":"CA","activityNr":125799940,"safetyHlth":"H","reportingId":"0950621","siteAddress":"2601 STOCKTON BLVD","unionStatus":"Y","closeCaseDate":"1998-01-21T00:00:00"},{"sicCode":"1622","siteZip":"92370","openDate":"2002-12-11T00:00:00","siteCity":"PERRIS","advNotice":"N","estabName":"GOLDEN STATE BORING AND PIPE JACKING INC","naicsCode":"000000","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":125816488,"safetyHlth":"S","reportingId":"0950653","siteAddress":"EVANS ROAD AND PLACENTIS AVENUE","unionStatus":"Y","closeCaseDate":"2002-12-12T00:00:00"},{"sicCode":"5963","siteZip":"90065","openDate":"1996-06-12T00:00:00","siteCity":"LOS ANGELES","advNotice":"N","estabName":"LA TIMES AGENCY AGENT 5","naicsCode":"000000","ownerCode":"0000","ownerType":"A","siteState":"CA","activityNr":119782332,"safetyHlth":"S","reportingId":"0950642","siteAddress":"3333 SAN FERNANDO RD","unionStatus":"N","closeCaseDate":"2010-09-13T00:00:00"}],"total":5182369,"source":{"url":"https://dataportal.dol.gov/","license":"US Government work, public domain.","provider":"US Department of Labor Open Data Portal (v4)"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"gov.osha-inspections","settlement":{"txHash":"0x73287928d7949410215cd3259c9e58ab84be01a9df1f278ad03e6e8398ea46a8","network":"eip155:8453","success":true}}}},"exampleRequest":{"limit":10,"state":"ca"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m9UZkRhjkYE3aVnOjkiBl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and filter ~5 million historical OSHA workplace inspection records from the US Department of Labor Open Data Portal by state, city, zip, or establishment name.","exampleAgentPrompt":"Can you pull up OSHA inspection records for meat packing plants in Texas — search by establishment name containing 'Tyson' and show me the activity number, establishment name, address, open and close dates, and NAICS code for the 50 most recent inspections?","exampleUseCases":null,"resultDescription":"A paginated list of OSHA inspection records, each containing activity number, reporting ID, establishment name and full site address, owner type and code, advance-notice flag, safety/health type, SIC and NAICS industry codes, inspection open and close dates, host establishment number, and union status. Results are filterable and sortable.","failureModes":["Invalid state code returns no results or validation error","OData filter syntax error causes a 400 bad request","Overly broad queries may hit the 100-row limit requiring pagination with offset","No matching records for a given establishment name substring returns empty result set","Payment not included or insufficient USDC triggers 402 payment required"],"whenToPreferThis":"Use this endpoint when you need to search OSHA workplace inspection records programmatically by geographic area (state, city, zip) or by establishment name, especially for workplace safety research, compliance checking, or investigative journalism. Prefer this over manual DOL portal searches when you need filtered, structured, machine-readable results with flexible OData-style clauses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:24.344Z","isFirstParty":false}