# OSHA Company Safety Risk Scorer

> OSHA Company Safety Risk Scorer is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-13).

Returns a 0-100 workplace safety risk score, low/medium/high/critical rating, per-dimension flags, and cited OSHA inspection records for a named US employer

## Facts

- Endpoint: GET https://payai.agentstools.dev/osha/company?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osha-company-safety-risk-scorer-8cc43494
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WVLJiK5egAz0h3gZ3kYLf

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 osha-company-safety-risk-scorer-8cc43494
```

Example prompt: What's the OSHA safety risk score for Amazon Fulfillment Services in Texas? I want to know their risk rating, any red flags by category, and which inspections are driving the score.

## When to prefer this

Use this endpoint when you need a fast, deterministic, citation-backed workplace safety risk assessment for a specific US employer drawn from official public OSHA enforcement records — without relying on LLMs or subjective scoring. Prefer it over manual OSHA database lookups when you need a structured, machine-readable risk score with supporting evidence for due diligence, vendor vetting, or safety monitoring workflows.

## Known failure modes

- Company name not found in OSHA records — returns no match or empty result
- Ambiguous name matches multiple establishments — best match heuristic may select wrong entity; use state parameter to disambiguate
- Very small or new employers may have no OSHA inspection history, resulting in a low-confidence or minimal score
- State code is invalid — may return an error or fall back to national search
- Rate limiting or payment failure via x402 protocol

## How this service works

Workplace-safety risk verdict for a US employer from public OSHA enforcement records. Give an establishment name and optional state and get a 0-100 safety risk score, a low, medium, high or critical rating, per-dimension flags, reasons and a cited list of the inspections behind the score. Deterministic, no LLM. Risk indicators, not legal or compliance advice.

## Output

Returns a structured object with a numeric safety risk score from 0 to 100, a categorical rating (low, medium, high, or critical), per-dimension flags identifying specific risk areas (e.g. fatalities, repeat violations, penalties), human-readable reasons explaining the score, and a list of cited OSHA inspections with details that support the assessment.

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Establishment or company legal name (best match is used)"
      },
      "state": {
       "type": "string",
       "description": "Optional 2-letter US state code to disambiguate"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osha-company-safety-risk-scorer-8cc43494/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
