API reference/Environment/US Facility Compliance

US Facility Compliance

EPA-regulated facilities by ZIP or near a point: air, water and hazardous-waste compliance, inspections, enforcement and penalties.

GET/api/v1/environment/us/facilities

Data source

Query parameters

ParameterDescriptionTry value
zip
string
5-digit ZIP (or give lat and lon)
lat
number
Latitude
lon
number
Longitude
radiusMi
number
Radius in miles around lat/lon (default 1, max 10)
violations
boolean
true: only facilities with violations in the last 3 years
limit
number
Rows (default 25, max 100)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.