Facility Compliance & Emissions

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.

get/compliance/facilities

Request

  • Base URL: https://api.dataporium.io
  • URL: https://api.dataporium.io/compliance/facilities
  • Auth: API key in query parameter apikey

Query parameters

qstring

Part of the facility name (at least 3 characters), or a facility_id

statestring

State(s): 2-letter code or name

countystring

County name (add state)

zipstring

5-digit ZIP code(s)

citystring

City name(s) (add state)

latnumber

Latitude of a point (with lon)

lonnumber

Longitude of the point

radius_milesnumber

Radius around the point in miles (default 5, at most 25)

tickerstring

Ticker(s) of listed companies

kindstring

workplace_safety, environmental or emissions

year_frominteger

First year of the totals (default: the last 5 years)

sortstring

penalties (default), violations, serious_violations, inspections, enforcement_actions, emissions, name or distance

limitinteger

Rows per page, 1 to 1000 (default 100)

offsetinteger

Rows to skip, for paging

Response

Successful response (JSON).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.