A state's US NPDES permits, narrowed by EPA's industry listing

The state's individual NPDES permits with limits, as EPA's national file (ECHO / ICIS-NPDES) lists them, in one call: number, facility name, major or not, EPA's primary SIC code and its description, the 12-month record and renewal, EPA's facility type and design flow, the limits already written into the permit that take effect later (each with its begin date and the plant's median reported value today), and the addresses of each permit's page and get_permit answer. industry keeps the permits whose SIC description has a word starting with each word given; sic the codes starting with the digits; facility_type and min_flow_mgd the sewage plants or industrial facilities, and those of at least that design flow; over_limit, parameter, renewal and upcoming narrow to those over a limit, over one on that parameter, up for renewal, or facing a new or tighter limit. A permit with no SIC in EPA's file never matches an industry filter (without_industry counts them), nor one with no design flow min_flow_mgd (without_flow). At most 1000 a call; more gives the next offset.

get/permits

Request

  • Base URL: https://passage-data.com/api/v1
  • URL: https://passage-data.com/api/v1/permits
  • Auth: one of:
    • none
    • HTTP bearer
    • API key in header x-api-key

Query parameters

statestring required

e.g. WI

industrystring

Words of EPA's SIC description, e.g. paper

sicstring

A SIC code or its first digits, e.g. 26

over_limitboolean

true: only the permits that went over a limit in the record's 12 months

parameterstring

Only the permits that went over a limit on this parameter, e.g. phosphorus, TSS

renewal'expired' | 'due' | 'any'
upcomingboolean

true: only the permits with a new or tighter enforceable limit taking effect after today

facility_type'potw' | 'industrial'

potw: sewage treatment plants; industrial: EPA's NON-POTW

min_flow_mgdnumber

Design flow in EPA's file of at least this many million gallons a day

offsetinteger

Response

The permits matched, each with its page and get_permit address

object required

Changes

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