# Script Master Labs EPA Violations API

> Script Master Labs EPA Violations 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).

Returns U.S. EPA environmental violation records for facilities, filterable by state, NAICS industry code, or facility name, with payment via USDC on Base.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/epa-violations
- 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-epa-violations-api-f6c0123b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lMlSkOqcu5EsHsiDNbSrZ

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-epa-violations-api-f6c0123b
```

Example prompt: Can you pull up any EPA violations for chemical manufacturing facilities in Texas — NAICS code 325 — so I can see which companies have a history of environmental enforcement actions?

## When to prefer this

Use this endpoint when you need U.S. EPA violation and enforcement data filtered by state, industry (NAICS), or facility name, and you are able to pay $0.12 USDC per call on Base via x402. Prefer this over scraping EPA websites when you need structured, machine-readable compliance data in an automated workflow.

## Known failure modes

- No violations found for the given filter combination — returns empty result set
- Invalid state code (non-2-letter or non-U.S.) — likely returns 400 or empty
- Payment of $0.12 USDC on Base fails or is not provided — returns HTTP 402
- Invalid or unrecognized NAICS code — may return empty results
- Facility name not matching any EPA record — returns empty set
- Upstream EPA data source unavailable — may return 500 or timeout

## 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

A list of U.S. EPA violation records matching the query, likely including facility names, violation types, enforcement actions, dates, and compliance status, sourced from federal EPA databases and returned as structured data.

## 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": {
      "naics": {
       "type": "string",
       "description": "NAICS code filter."
      },
      "state": {
       "type": "string",
       "description": "2-letter U.S. state code."
      },
      "facility": {
       "type": "string",
       "description": "Facility or company 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-epa-violations-api-f6c0123b/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)
