Skip to main content
POST
Give the federal environmental compliance record of the facilities regulated under a company or facility name, optionally within one US state: for each facility its address and registry id, its overall compliance status, whether it is currently a significant violator, how many of the last twelve quarters it was in violation, its inspections, formal enforcement actions and penalties over the last five years, and when it was last inspected and last penalised. The result also gives how many facilities matched in all and their penalties summed. Use it to check a supplier, a site or a counterparty against federal air, water, hazardous waste and drinking water programs. Covers US facilities regulated under federal environmental programs. The source matches every whole word of the name, in any order, against the current and alternate names a facility carries across its programs: a part of a word matches nothing, a search for Tesla also returns a facility on Tesla Road, and a facility matched under an alternate name may show a name without one of the words. The totals count every facility the search matched, not facilities verified to belong to the named company: tell facilities apart by address and registry id, and give state to narrow the search. total_facilities is 0 and facilities is empty when no facility name carries every word. A count or date is null when the source does not record it.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
Whole words of the facility name, in any order, for example TESLA MOTORS; a part of a word matches nothing. 3 to 100 characters.
string
US state or territory postal code that limits the search to facilities in that state. A state is its two-letter postal code, for example CA.
integer
How many facilities to return. From 1 to 25. Defaults to 10.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always company_environmental_compliance
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always US Environmental Protection Agency.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
number
How many facilities the search matched to the name, including any beyond limit; a count of matches, not of facilities verified to belong to the named company.
number
Penalties from formal enforcement actions in the last five years, in US dollars, summed over every facility the search matched, whether or not it belongs to the named company. null when the source gives no value.
object[]
The matching facilities, in the order the source lists them, at most limit.
string
The facility name as the source records it. null when the source gives no value.
string
Street address. null when the source gives no value.
string
City. null when the source gives no value.
string
Two-letter state code. null when the source gives no value.
string
ZIP code. null when the source gives no value.
string
The identifier the source gives the facility across every program. null when the source gives no value.
string[]
The NAICS industry codes recorded for the facility.
string
The overall compliance status the source records, for example Significant Violation, Violation Identified or No Violation Identified. null when the source gives no value.
boolean
True when the source currently designates the facility a high priority violator under the Clean Air Act, in significant noncompliance under the Clean Water Act or the hazardous waste program, or a serious violator under the Safe Drinking Water Act. null when the source gives no value.
integer
How many of the last twelve quarters the facility had a violation identified, was in noncompliance, or was a significant or high priority violator. null when the source gives no value.
integer
Compliance monitoring activities at the facility in the last five years. null when the source gives no value.
string
When the most recent compliance monitoring activity took place, YYYY-MM-DD. null when the source gives no value.
integer
Formal enforcement actions taken against the facility in the last five years. null when the source gives no value.
number
Penalties assessed against the facility in the last five years, in US dollars. null when the source gives no value.
string
When the most recent penalty was assessed, YYYY-MM-DD. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Results return inline. The finished job stays available at /v1/requests/{request_id}