Queries official US DOL/OSHA inspection records (requires a free DOL_API_KEY set as an Actor environment variable) and scores workplace-safety risk. Returns no data, and charges nothing, when the key is missing or the source is unavailable. ### Enterprise B2B Value Proposition (US OSHA Workplace Safety & Violation Compliance Auditor) - **Target B2B Buyers:** Commercial Insurance Underwriters (Workers' Comp), EHS Compliance Platforms, and M&A Due Diligence Teams. - **Zero External API Keys Required:** Connects directly to authoritative government, regulatory, and financial primary registries with built-in retry/backoff and deterministic schema normalization. - **Quantitative Scoring & RAG Briefs:** Every record is enriched with a quantitative 0-100 risk/viability score and an LLM-ready Markdown executive brief (`US OSHA Establishment Safety & Penalty Audited`). - **Backend Proxy Secret Injection:** RapidAPI Studio and Zyla API Hub inject `Authorization: Bearer <TOKEN_REDACTED>` invisibly at the proxy layer when forwarding synchronous calls to `https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items`. - **Marketplace Categories:** RapidAPI `Business` | Zyla API Hub `Government & Legal`. - **Subscription Tiers (USD):** `BASIC` ($0.00/mo, 15 req/mo hard cap), `PRO` ($19.00/mo, 1,000 req/mo + $0.02/extra), `ULTRA` ($49.00/mo, 5,000 req/mo + $0.015/extra), `MEGA` ($149.00/mo, 25,000 req/mo + $0.010/extra). - **SEO Keywords:** osha-violations, workplace-safety, ehs-compliance, industrial-inspections, workers-comp-underwriting, supply-chain-audit, dol-osha.
Queries official US DOL/OSHA inspection records (requires a free DOL_API_KEY set as an Actor environment variable) and scores workplace-safety risk. Returns no data, and charges nothing, when the key is missing or the source is unavailable. ### Enterprise B2B Value Proposition (US OSHA Workplace Safety & Violation Compliance Auditor) - **Target B2B Buyers:** Commercial Insurance Underwriters (Workers' Comp), EHS Compliance Platforms, and M&A Due Diligence Teams. - **Zero External API Keys Required:** Connects directly to authoritative government, regulatory, and financial primary registries with built-in retry/backoff and deterministic schema normalization. - **Quantitative Scoring & RAG Briefs:** Every record is enriched with a quantitative 0-100 risk/viability score and an LLM-ready Markdown executive brief (`US OSHA Establishment Safety & Penalty Audited`). - **Backend Proxy Secret Injection:** RapidAPI Studio and Zyla API Hub inject `Authorization: Bearer <TOKEN_REDACTED>` invisibly at the proxy layer when forwarding synchronous calls to `https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items`. - **Marketplace Categories:** RapidAPI `Business` | Zyla API Hub `Government & Legal`. - **Subscription Tiers (USD):** `BASIC` ($0.00/mo, 15 req/mo hard cap), `PRO` ($19.00/mo, 1,000 req/mo + $0.02/extra), `ULTRA` ($49.00/mo, 5,000 req/mo + $0.015/extra), `MEGA` ($149.00/mo, 25,000 req/mo + $0.010/extra). - **SEO Keywords:** osha-violations, workplace-safety, ehs-compliance, industrial-inspections, workers-comp-underwriting, supply-chain-audit, dol-osha.
Every transaction executed by us-osha-workplace-safety-violation-auditor produces verifiable event envelopes designed for high-stakes regulatory auditing, ERP master data synchronization, and automated continuous compliance workflows.
Detailed specification of data contracts, domain types, and primary source semantics enforced by us-osha-workplace-safety-violation-auditor:
companyOrEstablishment (string) • RequiredEmployer or establishment keyword (e.g., 'Amazon', 'Tesla', 'Walmart', 'United Parcel Service', 'Tyson').
stateCode (string) • OptionalOptional 2-letter U.S. state abbreviation (e.g., 'TX', 'CA', 'IL', 'OH', or leave empty for nationwide).
maxResults (integer) • OptionalMaximum number of OSHA establishment inspection records to extract and score (1 to 100).
activityNumber (string)Official OSHA inspection activity identifier.
establishmentName (string)Inspected employer or facility name.
siteCity (string)City where the inspected facility is located.
siteState (string)2-letter U.S. state abbreviation.
naicsCode (string)6-digit North American Industry Classification System code.
inspectionType (string)Complaint, Referral, Fatality/Catastrophe, or Planned inspection.
openDate (string)ISO date when the OSHA inspection opened.
totalViolations (integer)Total number of OSHA standards cited.
seriousWillfulRepeatCount (integer)Count of high-severity (Serious, Willful, or Repeat) citations.
currentPenaltyUsd (number)Assessed OSHA civil monetary penalty in USD.
workplaceRiskScore (integer)Quantitative EHS and supply-chain underwriting risk score (0-100).
markdownSafetyBrief (string)Executive Markdown dossier for ESG auditors, insurance underwriters, and M&A due diligence.
Stateless payload attributes validated by JSON Schema and OpenAPI 3.0.3 standards for us-osha-workplace-safety-violation-auditor.
| Field | Type | Requirement | Description & Audit Rules |
|---|---|---|---|
companyOrEstablishment | string | Required | Employer or establishment keyword (e.g., 'Amazon', 'Tesla', 'Walmart', 'United Parcel Service', 'Tyson'). |
stateCode | string | Optional | Optional 2-letter U.S. state abbreviation (e.g., 'TX', 'CA', 'IL', 'OH', or leave empty for nationwide). |
maxResults | integer | Optional | Maximum number of OSHA establishment inspection records to extract and score (1 to 100). |
Primary attributes returned in the audit response envelope with cryptographic audit metadata for us-osha-workplace-safety-violation-auditor.
| Attribute | Type | Definition & Source Verifiability |
|---|---|---|
activityNumber | string | Official OSHA inspection activity identifier. |
establishmentName | string | Inspected employer or facility name. |
siteCity | string | City where the inspected facility is located. |
siteState | string | 2-letter U.S. state abbreviation. |
naicsCode | string | 6-digit North American Industry Classification System code. |
inspectionType | string | Complaint, Referral, Fatality/Catastrophe, or Planned inspection. |
openDate | string | ISO date when the OSHA inspection opened. |
totalViolations | integer | Total number of OSHA standards cited. |
seriousWillfulRepeatCount | integer | Count of high-severity (Serious, Willful, or Repeat) citations. |
currentPenaltyUsd | number | Assessed OSHA civil monetary penalty in USD. |
workplaceRiskScore | integer | Quantitative EHS and supply-chain underwriting risk score (0-100). |
markdownSafetyBrief | string | Executive Markdown dossier for ESG auditors, insurance underwriters, and M&A due diligence. |
Edit parameters in the request payload below and click Execute Sandbox Request to inspect the verified live schema response and dynamic cURL command.
curl -X POST "https://jesleytassili-glitch.github.io/v1/execute" \
-H "Content-Type: application/json" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-d '{
"companyOrEstablishment": "Amazon",
"stateCode": "TX",
"maxResults": 5
}'
{
"activityNumber": "317019842",
"establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
"siteCity": "Fort Worth",
"siteState": "TX",
"naicsCode": "493110",
"inspectionType": "Complaint",
"openDate": "2026-06-14",
"totalViolations": 4,
"seriousWillfulRepeatCount": 3,
"currentPenaltyUsd": 64500,
"workplaceRiskScore": 84,
"markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
}
Direct extraction captured from primary government or corporate registry endpoints for us-osha-workplace-safety-violation-auditor.
{
"activityNumber": "317019842",
"establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
"siteCity": "Fort Worth",
"siteState": "TX",
"naicsCode": "493110",
"inspectionType": "Complaint",
"openDate": "2026-06-14",
"totalViolations": 4,
"seriousWillfulRepeatCount": 3,
"currentPenaltyUsd": 64500,
"workplaceRiskScore": 84,
"markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
}
import requests
url = "https://jesleytassili-glitch.github.io/specs_openapi_31/us-osha-workplace-safety-violation-auditor.json" # Direct spec
endpoint = "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN" # RapidAPI or Apify Token
}
payload = {
"companyOrEstablishment": "Amazon",
"stateCode": "TX",
"maxResults": 5
}
response = requests.post(endpoint, json=payload, headers=headers, timeout=60)
print(f"Status Code: {response.status_code}")
data = response.json()
print("Audit Records Count:", len(data) if isinstance(data, list) else 1)
// Node.js 18+ Native Fetch or MCP CLI
import fetch from "node-fetch";
const payload = {
"companyOrEstablishment": "Amazon",
"stateCode": "TX",
"maxResults": 5
};
const response = await fetch("https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer " + process.env.B2B_API_TOKEN
},
body: JSON.stringify(payload)
});
const result = await response.json();
console.log("Verified Records:", result);
// Or run directly via MCP CLI:
// npx -y b2b-compliance-mcp-cli execute --server us-osha-workplace-safety-violation-auditor --payload '{"companyOrEstablishment": "Amazon", "stateCode": "TX", "maxResults": 5}'
curl -X POST "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"companyOrEstablishment": "Amazon", "stateCode": "TX", "maxResults": 5}'
name: Daily Compliance Audit - us-osha-workplace-safety-violation-auditor
on:
schedule:
- cron: '0 8 * * 1-5' # Monday to Friday at 08:00 UTC
workflow_dispatch:
jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Trigger Audit Run
run: |
curl -f -s -X POST "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${{ secrets.B2B_API_TOKEN }}" \
-d '{"companyOrEstablishment": "Amazon", "stateCode": "TX", "maxResults": 5}' > audit_output.json
- name: Archive Compliance Evidence
uses: actions/upload-artifact@v4
with:
name: us-osha-workplace-safety-violation-auditor-evidence
path: audit_output.json
| HTTP Status | Classification | Resolution Behavior for us-osha-workplace-safety-violation-auditor |
|---|---|---|
200 OK |
Success | Query executed successfully; validated US OSHA Workplace Safety & Violation Compliance Auditor records returned. |
400 Bad Request |
Schema Validation | Payload missing required fields or format mismatch for us-osha-workplace-safety-violation-auditor; inspect JSON schema. |
401 / 403 Forbidden |
Authentication Failure | Invalid proxy API key or direct unauthorized bypass attempt for US OSHA Workplace Safety & Violation Compliance Auditor. |
429 Too Many Requests |
Rate Limit Exceeded | Tier limits triggered for us-osha-workplace-safety-violation-auditor; inspect Retry-After response header. |
502 Upstream Resilient |
Graceful Degradation | Upstream regulatory portal offline; returns safe empty set with $0 billed fee. |
b2b-gov-procurement-pncp-radar) • [Markdown Guide]us-sam-gov-federal-procurement-auditor) • [Markdown Guide]eu-ted-public-tenders-procurement-radar) • [Markdown Guide]brazil-camara-legislative-regulatory-risk-radar) • [Markdown Guide]us-epa-echo-environmental-compliance-auditor) • [Markdown Guide]