# AutoScrape OSHA Workplace Inspections API

> AutoScrape OSHA Workplace Inspections API is a paid API for AI agents from autoscrape-api-seven.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Searches OSHA workplace inspection records by employer, location, NAICS code, or activity number, returning case status, violation counts, and penalty amounts.

## Facts

- Endpoint: GET https://autoscrape-api-seven.vercel.app/x402/v1/osha-workplace-inspections
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/autoscrape-osha-workplace-inspections-api-82e04d2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zLvVUNAvJyM0uqR_DPZvY

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 autoscrape-osha-workplace-inspections-api-82e04d2b
```

Example prompt: Can you pull up OSHA workplace inspection records for 'Nexcivil Engineering And Construction LLC' in Texas — I want to see their case status, any violations, and the penalty amounts for all open cases?

## When to prefer this

Use this endpoint when you need structured OSHA inspection data programmatically — especially for agent workflows doing contractor vetting, compliance research, or regulatory due diligence. Prefer this over manual OSHA.gov searches when you need machine-readable results with penalty data and citation details in a single API call.

## Known failure modes

- No results found if employer name spelling differs from OSHA records
- Results capped at 5 even if more records exist — use filters to narrow scope
- Invalid date format (not YYYY-MM-DD) may cause query errors
- Unknown or misspelled state abbreviations return empty results
- Payment failure via x402 protocol if USDC balance is insufficient

## How this service works

No-key evaluation APIs for public data and utilities: business filings, permits, bankruptcy dockets, NPI providers, HTTP status checks, sitemap URL extraction, SEC EDGAR, IRS 990, WHOIS, and validation. Paid x402 access is live.

## Output

Returns a JSON object with a count of matching inspections and an array of results, each containing the activity number, employer name, case status (open/closed), number of violations, and total current penalty amount. When fetchDetails is enabled, citation items and related inspection activities are also included.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "caseStatus": "OPEN",
    "employerName": "Nexcivil Engineering And Construction Llc",
    "activityNumber": "1774072.015",
    "violationsCount": 2,
    "totalCurrentPenalty": 8300
   }
  ],
  "setupStatus": "found"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/autoscrape-osha-workplace-inspections-api-82e04d2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from autoscrape-api-seven.vercel.app](https://www.zero.xyz/host/autoscrape-api-seven.vercel.app/llms.txt)
