Environmental Compliance Check
EPA-regulated facilities, violations, inspections and penalties over five years.
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"}'{
"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>requiredYour 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.
facilitystringrequiredFacility or company name. Example: Northwind Chemical Plant
statestringState. Example: TX
freshbooleanSkip the 7-day cache and run a new lookup. Charged as a normal lookup.
referencestringYour 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.
successbooleantrue when the lookup ran.
data.facilities[].registry_idvalueThe facility's identifier in EPA systems, for exact follow-up.
data.facilities[].programsvalueWhich regulatory programs apply to the site: air, water or waste.
data.facilities[].inspections_5yrvalueInspections and compliance evaluations in the last five years.
data.facilities[].violations_5yrvalueViolations recorded against the facility in the same period.
data.facilities[].enforcement_actions_5yrvalueEnforcement actions taken by EPA or a state agency.
data.facilities[].penalties_5yrvalueTotal penalties assessed over five years, in US dollars.
data.facilities[].significant_noncompliancevalueTrue when the facility is flagged for serious or prolonged violations.
meta.credits_usednumberCredits charged for this call.
meta.credits_remainingnumberYour balance after the call.
meta.cachedbooleantrue when the result came from the 7-day cache.
meta.request_idstringQuote 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.
| HTTP | Code | Meaning |
|---|---|---|
| 401 | unauthorized | The key is missing, malformed or revoked. |
| 402 | insufficient_credits | Your credits are used up and pay as you go is off or at its limit. |
| 422 | invalid_input | A field is missing or malformed. The field property names it. |
| 429 | rate_limited | Too many requests for this key. Wait for the Retry-After interval. |
| 500 | internal_error | Something failed on our side. Safe to retry. |
| 503 | source_unavailable | An 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