80trust / 100

Violations

by SiteCheck in Company & people data

x402 APIPassing, checked 3 h ago

US workplace and environmental enforcement cases by company, state and date: OSHA inspections with penalties (US Department of Labor API) and EPA enforcement cases (EPA ECHO), each with the official record link. Filters: company, state, since, minPenalty, source. OSHA is included only when the deployment has a DOL key; the answer says so otherwise. Public records matched by name, not a finding of guilt.

GET https://api.sitecheck-api.workers.dev/api/violations

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
36 ms typical, 36 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.sitecheck-api.workers.dev/api/violations?company=Chevron+Phillips&limit=20&since=2022-01-01&source=osha%2Cepa&state=TX"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fviolations
const res = await pay("https://api.sitecheck-api.workers.dev/api/violations?company=Chevron+Phillips&limit=20&since=2022-01-01&source=osha%2Cepa&state=TX");
console.log(await res.json());

Example input

{
  "company": "Chevron Phillips",
  "limit": "20",
  "since": "2022-01-01",
  "source": "osha,epa",
  "state": "TX"
}

Example output

{
  "caveat": "Public enforcement records, matched by name: they show inspections and cases, not guilt or current compliance. Check the record link before relying on a row.",
  "notes": [
    "OSHA is off on this deployment (DOL_API_KEY is not set): only EPA results are included."
  ],
  "query": {
    "company": "Chevron Phillips",
    "minPenalty": null,
    "since": "2022-01-01",
    "sources": [
      "epa"
    ],
    "state": "TX"
  },
  "results": [
    {
      "city": "PORT ARTHUR",
      "company": "Chevron Phillips Chemical (LEAD)",
      "currency": "USD",
      "date": "2022-03-09",
      "facility": "PORT ARTHUR PLANT",
      "id": "HQ-2015-0001",
      "link": "https://echo.epa.gov/enforcement-case-report?id=HQ-2015-0001",
      "penalty": 3400000,
      "source": "epa",
      "state": "TX",
      "status": "Final Order Entered",
      "type": "Judicial, CAA §111, Final Order With Penalty"
    }
  ],
  "returned": 1,
  "sources": [
    "US EPA ECHO (https://echo.epa.gov)"
  ],
  "total": 1
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40242 ms$0.005
8 h agoPassed40236 ms$0.005