Skip to content
Compliance & Registries

Environmental Compliance Check

EPA-regulated facilities, violations, inspections and penalties over five years.

POST/v1/environmental-compliance-check
3 creditsBulk supportedUS
Request
curl -X POST https://api.1lookup.dev/v1/environmental-compliance-check \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"facility":"Northwind Chemical Plant"}'
Response
{
  "success": true,
  "data": {
    "query": {
      "facility": "Northwind Chemical Plant",
      "state": "TX"
    },
    "facility_count": 2,
    "facilities": [
      {
        "registry_id": "110000000142",
        "name": "NORTHWIND CHEMICAL PLANT",
        "address": "4100 Example Industrial Pkwy",
        "city": "Pasadena",
        "state": "TX",
        "zip": "77506",
        "programs": [
          "air",
          "water",
          "waste"
        ],
        "inspections_5yr": 9,
        "violations_5yr": 4,
        "enforcement_actions_5yr": 2,
        "penalties_5yr": 86500,
        "significant_noncompliance": true,
        "last_inspection_date": "2026-04-22"
      },
      {
        "registry_id": "110000000187",
        "name": "NORTHWIND CHEMICAL TERMINAL",
        "address": "220 Example Dock Rd",
        "city": "Texas City",
        "state": "TX",
        "zip": "77590",
        "programs": [
          "air",
          "waste"
        ],
        "inspections_5yr": 3,
        "violations_5yr": 0,
        "enforcement_actions_5yr": 0,
        "penalties_5yr": 0,
        "significant_noncompliance": false,
        "last_inspection_date": "2025-10-08"
      }
    ],
    "totals": {
      "inspections_5yr": 12,
      "violations_5yr": 4,
      "enforcement_actions_5yr": 2,
      "penalties_5yr": 86500
    }
  },
  "meta": {
    "credits_used": 3,
    "credits_remaining": 999,
    "cached": false,
    "request_id": "req_8f3a2c1e9b7d"
  }
}

Authorization

Authorizationstring<bearer>required

Your API key as a Bearer token. Live keys start with 1lk_live_. Test keys start with 1lk_test_ and return this endpoint's sample response without spending credits. See authentication.

Body

Send the fields as a JSON object with Content-Type: application/json.

facilitystringrequired

Facility or company name. Example: Northwind Chemical Plant

statestring

State. Example: TX

freshboolean

Skip the 7-day cache and run a new lookup. Charged as a normal lookup.

referencestring

Your own identifier, echoed back in meta and shown in lookup history.

Response

A 200 response carries the result in data and the cost of the call in meta. These are the fields most integrations read.

successboolean

true when the lookup ran.

data.facilities[].registry_idvalue

The facility's identifier in EPA systems, for exact follow-up.

data.facilities[].programsvalue

Which regulatory programs apply to the site: air, water or waste.

data.facilities[].inspections_5yrvalue

Inspections and compliance evaluations in the last five years.

data.facilities[].violations_5yrvalue

Violations recorded against the facility in the same period.

data.facilities[].enforcement_actions_5yrvalue

Enforcement actions taken by EPA or a state agency.

data.facilities[].penalties_5yrvalue

Total penalties assessed over five years, in US dollars.

data.facilities[].significant_noncompliancevalue

True when the facility is flagged for serious or prolonged violations.

meta.credits_usednumber

Credits charged for this call.

meta.credits_remainingnumber

Your balance after the call.

meta.cachedboolean

true when the result came from the 7-day cache.

meta.request_idstring

Quote this when you contact support.

Errors

A failed request returns success: false with an error object, and is never charged. The full list is on the errors page.

HTTPCodeMeaning
401unauthorizedThe key is missing, malformed or revoked.
402insufficient_creditsYour credits are used up and pay as you go is off or at its limit.
422invalid_inputA field is missing or malformed. The field property names it.
429rate_limitedToo many requests for this key. Wait for the Retry-After interval.
500internal_errorSomething failed on our side. Safe to retry.
503source_unavailableAn upstream source did not answer in time. Safe to retry.

Billing

3 credits. Charged when the lookup runs and returns a result. Errors are never charged, and repeating the same input within 7 days is served from cache at no charge.

Product overview and use cases