# Script Master Labs — OSHA Inspection Data API

> Script Master Labs — OSHA Inspection Data API is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves U.S. OSHA inspection and enforcement records filtered by state, industry (NAICS code), or establishment name, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/osha
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/script-master-labs-osha-inspection-data-api-4cadb26b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YeoRcevlMHW5q_FQ1Rj4p

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability script-master-labs-osha-inspection-data-api-4cadb26b
```

Example prompt: Pull OSHA inspection records for construction companies in Texas — use NAICS code 236115 and limit to 20 results.

## When to prefer this

Choose this endpoint when you need U.S. federal OSHA inspection and enforcement records and want pay-per-call pricing settled in USDC on Base via the x402 protocol without a subscription or API key. Ideal for compliance research, due diligence on employers, or industry-level safety analysis filtered by state or NAICS code.

## Known failure modes

- No records found for the specified state/NAICS/establishment combination — returns empty result set
- Invalid state code (not a 2-letter U.S. state abbreviation) — may return error or empty results
- Invalid or non-existent NAICS code — returns empty results or error
- Payment failure via x402 protocol — call not executed if USDC payment is not settled
- Rate limiting or server unavailability on the hosted render.com instance — returns 5xx error
- Limit parameter too large — may be capped or cause slow responses

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns a list of U.S. OSHA inspection records matching the query, including establishment name, inspection details, citation information, industry classification, and enforcement actions, filtered by the supplied state, NAICS code, and/or employer name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 25,
       "minimum": 1
      },
      "naics": {
       "type": "string",
       "description": "6-digit NAICS industry code."
      },
      "state": {
       "type": "string",
       "description": "2-letter U.S. state code."
      },
      "establishment": {
       "type": "string",
       "description": "Establishment or employer name."
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/script-master-labs-osha-inspection-data-api-4cadb26b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
