Facilities
US facilities with environmental compliance records (air, water and hazardous waste programs) or workplace safety inspections since 2010, or greenhouse gas reports, from official public data, with their totals for a period (default the last 5 years): inspections, violations, serious violations, penalties assessed, enforcement actions, and the newest year's emissions. /compliance/facilities/{facility_id} gives one facility with every year of each kind and of emissions.
The answer is {total, limit, offset, sort, order, period, filters, point, data_date, rows, about}; data_date gives the years covered by each kind. Until the first load is finished, lists answer with note "Data is being prepared". A record does not mean a site is unsafe today; penalties and violations vary a lot by industry and size.
Request
- Base URL: https://api.dataporium.io
- URL: https://api.dataporium.io/compliance/facilities
- Auth: API key in query parameter apikey
Query parameters
Part of the facility name (at least 3 characters), or a facility_id
State(s): 2-letter code or name
County name (add state)
5-digit ZIP code(s)
City name(s) (add state)
Latitude of a point (with lon)
Longitude of the point
Radius around the point in miles (default 5, at most 25)
Ticker(s) of listed companies
workplace_safety, environmental or emissions
First year of the totals (default: the last 5 years)
penalties (default), violations, serious_violations, inspections, enforcement_actions, emissions, name or distance
Rows per page, 1 to 1000 (default 100)
Rows to skip, for paging
Response
Successful response (JSON).
Changes
No recorded changes to this operation across all 1 revision of this API.