# env-compliance

> env-compliance is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns US EPA facility compliance and enforcement details including violation status, noncompliance quarters, enforcement actions, penalties, and inspection history for a given facility or location.

## Facts

- Endpoint: GET https://payai.agentstools.dev/env/compliance
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/env-compliance-e75b1286
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q0K6Su6BJll-Cu_xzaSzr

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 env-compliance-e75b1286
```

Example prompt: Can you pull up the EPA compliance and enforcement record for the Dow Chemical facility in Freeport, TX — I want to know if they're currently in significant violation of any statutes, how many quarters they've been out of compliance, any formal actions or penalties, and when they were last inspected.

## When to prefer this

Use this endpoint when you need authoritative, statute-level EPA compliance and enforcement data for a specific US facility — including violation history, penalty records, and inspection dates. It is the right choice for ESG screening, environmental due diligence, regulatory risk assessment, and supply chain vetting. Prefer it over general web search when you need structured, queryable compliance data from EPA's ECHO system rather than news or press coverage.

## Known failure modes

- No facility found for the given name, location, or registry ID — returns empty results or 404
- Ambiguous name matches multiple facilities — may return multiple records requiring disambiguation
- Location coordinates outside the US return no results
- Radius exceeds maximum of 25 miles — request rejected or clamped
- EPA data may lag real-time enforcement events by days or weeks
- Invalid FRS Registry ID format returns an error
- Missing required input parameters returns a validation error

## How this service works

US facility EPA compliance and enforcement detail: current significant-violation status by statute, quarters in noncompliance, formal and informal actions, penalties, and inspection dates, for a company name, FRS registry id, or location.

## Output

Returns a structured record for the matched US EPA facility including: current significant-violation status broken down by environmental statute (e.g. CAA, CWA, RCRA), number of quarters in noncompliance, formal enforcement actions (e.g. administrative orders, civil judicial), informal actions, assessed and paid penalty amounts, and dates of recent inspections.

## 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": [],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude [-90,90] (with lon)"
      },
      "lon": {
       "type": "number",
       "description": "Longitude [-180,180] (with lat)"
      },
      "name": {
       "type": "string",
       "description": "Company or facility name"
      },
      "state": {
       "type": "string",
       "description": "2-letter US state (narrows a name search)"
      },
      "radius": {
       "type": "number",
       "description": "Search radius in miles (default 5, max 25)"
      },
      "address": {
       "type": "string",
       "description": "US street address (auto-geocoded)"
      },
      "registry_id": {
       "type": "string",
       "description": "EPA FRS Registry ID"
      }
     }
    }
   },
   "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/env-compliance-e75b1286/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)
