EPA ECHO Clean Water Act (CWA) Wastewater Facility Search API
ECHO Clean Water Act (CWA) Rest Services from the U.S. EPA Office of Enforcement and Compliance Assurance: search and retrieve compliance, inspection, violation and enforcement data on wastewater, stormwater and biosolids dischargers regulated under the Clean Water Act and permitted through the National Pollutant Discharge Elimination System (NPDES), drawn from EPA's ICIS-NPDES database. Supports facility search with query IDs, pagination, map clusters, GeoJSON and CSV download, plus lookups for NPDES parameters, CWA pollutants, inspection types and watershed codes.
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.0.0
info:
title: U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services
description: "Enforcement and Compliance History Online (ECHO) is a tool developed and maintained by EPA's Office of Enforcement and Compliance Assurance for public use. ECHO provides integrated compliance\
\ and enforcement information for over 1 million regulated facilities nationwide.\n CWA Rest Services provides multiple service endpoints, each with specific capabilities, to search and retrieve data\
\ on facilities regulated under the Clean Water Act (CWA) and managed under the National Pollutant Discharge Elimination System (NPDES) program. The returned results reflect data drawn from EPA's ICIS-NPDES\
\ database.\n\\\nThe get_facilities, get_map, get_qid, and get_download end points are meant to be used together, while the enhanced get_facility_info end point is self contained.\n The get_facility_info\
\ end point returns either an array of state, county or zip clusters with summary statistics per cluster or an array of facilities.\n\\\nThe recommended use scenario for get_facilities, get_qid, get_map,\
\ and get_downoad is:\n\\\n <b>1)</b> Use get_facilities to validate passed query parameters, obtain summary statistics and to obtain a query_id (QID). QIDs are time sensitive and will be valid for\
\ approximately 30 minutes.\n <b>2)</b> Use get_qid, with the returned QID, to paginate through arrays of facility results.\n <b>3)</b> Use get_map, with the returned QID, to zoom in/out and pan on\
\ the clustered and individual facility coordinates that meet the QID query criteria.\n <b>4)</b> Use get_download, with the returned QID, to generate a Comma Separated Value (CSV) file of facility\
\ information that meets the QID query criteria.\n\\\n\\\nUse the qcolumns parameter to customize your search results. Use the Metadata service endpoint for a list of available output objects, their\
\ Column Ids, and their definitions to help you build your customized output. \n\\\nAdditional ECHO Resources: <a href=\"https://echo.epa.gov/tools/web-services\">Web Services</a>, <a href=\"https://echo.epa.gov/resources/echo-data/about-the-data\"\
>About ECHO's Data</a>, <a href=\"https://echo.epa.gov/tools/data-downloads\">Data Downloads</a>\n "
contact:
name: U.S. EPA, OECA Integration, Targeting and Access Branch
url: https://echo.epa.gov/resources/general-info/contact-us
license:
name: U.S. Public Domain License
url: https://edg.epa.gov/EPA_Data_License.html
version: 2019.10.15
x-source: https://echodata.epa.gov/echo/swaggerx.swagger_json?p_prefix=CWA
x-converted-from: Swagger 2.0 (openapi/_original/echo-cwa-openapi.json) via swagger2openapi 7.0.8; operationIds added by method+path
paths:
/cwa_rest_services.get_facilities:
get:
summary: Clean Water Act (CWA) Facility Search Service
description: Validates query search parameters and returns query identifier. Use the responseset parameter to set the page size
parameters:
- name: output
in: query
description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object\
\ Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language."
required: false
schema:
type: string
enum:
- JSONP
- JSON
- XML
- $ref: '#/components/parameters/q.p_fn'
- $ref: '#/components/parameters/q.p_sa'
- $ref: '#/components/parameters/q.p_sa1'
- $ref: '#/components/parameters/q.p_ct'
- $ref: '#/components/parameters/q.p_co'
- $ref: '#/components/parameters/q.p_fips'
- $ref: '#/components/parameters/q.p_st'
- $ref: '#/components/parameters/q.p_zip'
- $ref: '#/components/parameters/q.p_frs'
- $ref: '#/components/parameters/q.p_reg'
- $ref: '#/components/parameters/q.p_sic'
- $ref: '#/components/parameters/q.p_ncs'
- $ref: '#/components/parameters/q.p_pen'
- $ref: '#/components/parameters/q.p_c1lat'
- $ref: '#/components/parameters/q.p_c1lon'
- $ref: '#/components/parameters/q.p_c2lat'
- $ref: '#/components/parameters/q.p_c2lon'
- $ref: '#/components/parameters/q.p_usmex'
- $ref: '#/components/parameters/q.p_uscan'
- $ref: '#/components/parameters/q.p_sic2'
- $ref: '#/components/parameters/q.p_sic4'
- $ref: '#/components/parameters/q.p_fa'
- $ref: '#/components/parameters/q.p_ff'
- $ref: '#/components/parameters/q.p_act'
- $ref: '#/components/parameters/q.p_maj'
- $ref: '#/components/parameters/q.p_mact'
- $ref: '#/components/parameters/q.p_fea'
- $ref: '#/components/parameters/q.p_feay'
- $ref: '#/components/parameters/q.p_feaa'
- $ref: '#/components/parameters/q.p_iea'
- $ref: '#/components/parameters/q.p_ieay'
- $ref: '#/components/parameters/q.p_ieaa'
- $ref: '#/components/parameters/q.p_qiv'
- $ref: '#/components/parameters/q.p_iv'
- $ref: '#/components/parameters/q.p_impw'
- $ref: '#/components/parameters/q.p_imp_cau_grp'
- $ref: '#/components/parameters/q.p_imp_pol'
- $ref: '#/components/parameters/q.p_trep'
- $ref: '#/components/parameters/q.p_pm'
- $ref: '#/components/parameters/q.p_pd'
- $ref: '#/components/parameters/q.p_ico'
- $ref: '#/components/parameters/q.p_huc'
- $ref: '#/components/parameters/q.p_pid'
- $ref: '#/components/parameters/q.p_med'
- $ref: '#/components/parameters/q.p_ysl'
- $ref: '#/components/parameters/q.p_ysly'
- $ref: '#/components/parameters/q.p_ysla'
- $ref: '#/components/parameters/q.p_qs'
- $ref: '#/components/parameters/q.p_sfs'
- $ref: '#/components/parameters/q.p_tribeid'
- $ref: '#/components/parameters/q.p_tribename'
- $ref: '#/components/parameters/q.p_tribedist'
- $ref: '#/components/parameters/q.p_pstat'
- $ref: '#/components/parameters/q.p_ptype'
- $ref: '#/components/parameters/q.p_pcomp'
- $ref: '#/components/parameters/q.p_plimits'
- $ref: '#/components/parameters/q.p_pcss'
- $ref: '#/components/parameters/q.p_pexp'
- $ref: '#/components/parameters/q.p_owop'
- $ref: '#/components/parameters/q.p_ipfti'
- $ref: '#/components/parameters/q.p_agoo'
- $ref: '#/components/parameters/q.p_idt1'
- $ref: '#/components/parameters/q.p_idt2'
- $ref: '#/components/parameters/q.p_pityp'
- $ref: '#/components/parameters/q.p_pfead1'
- $ref: '#/components/parameters/q.p_pfead2'
- $ref: '#/components/parameters/q.p_pfeat'
- $ref: '#/components/parameters/q.p_pccs'
- $ref: '#/components/parameters/q.p_pexcd'
- $ref: '#/components/parameters/q.p_psncq'
- $ref: '#/components/parameters/q.p_pctrack'
- $ref: '#/components/parameters/q.p_dwd'
- $ref: '#/components/parameters/q.p_pt'
- $ref: '#/components/parameters/q.p_pdwdist'
- $ref: '#/components/parameters/q.p_pswdpc'
- $ref: '#/components/parameters/q.p_pswdmp'
- $ref: '#/components/parameters/q.p_pswpol'
- $ref: '#/components/parameters/q.p_pswcas'
- $ref: '#/components/parameters/q.p_pswparam'
- $ref: '#/components/parameters/q.p_pswvio'
- $ref: '#/components/parameters/q.p_wbd'
- $ref: '#/components/parameters/q.p_radwbd'
- $ref: '#/components/parameters/q.p_frswbd'
- $ref: '#/components/parameters/q.p_fntype'
- $ref: '#/components/parameters/q.p_pidall'
- $ref: '#/components/parameters/q.p_months_last_dmr'
- $ref: '#/components/parameters/q.p_last_dmr_within'
- $ref: '#/components/parameters/q.p_indsw'
- $ref: '#/components/parameters/q.p_msgp_ptype'
- $ref: '#/components/parameters/q.p_mon_type'
- $ref: '#/components/parameters/q.p_iagency'
- $ref: '#/components/parameters/q.p_permitting_agency'
- $ref: '#/components/parameters/q.p_isws'
- $ref: '#/components/parameters/q.p_iswss'
- $ref: '#/components/parameters/q.p_iswssID'
- $ref: '#/components/parameters/q.p_ds1'
- $ref: '#/components/parameters/q.p_ds2'
- $ref: '#/components/parameters/q.p_da1'
- $ref: '#/components/parameters/q.p_da2'
- $ref: '#/components/parameters/q.p_MS4'
- $ref: '#/components/parameters/q.p_ooFN'
- $ref: '#/components/parameters/q.p_ooFNtype'
- $ref: '#/components/parameters/q.p_ooSA'
- $ref: '#/components/parameters/q.p_ooSA1'
- $ref: '#/components/parameters/q.p_ooCt'
- $ref: '#/components/parameters/q.p_ooSt'
- $ref: '#/components/parameters/q.p_ooZip'
- $ref: '#/components/parameters/q.p_fac_ico'
- $ref: '#/components/parameters/q.p_icoo'
- $ref: '#/components/parameters/q.p_fac_icos'
- $ref: '#/components/parameters/q.p_alrexceed'
- $ref: '#/components/parameters/q.p_limit_addr'
- $ref: '#/components/parameters/q.p_lat'
- $ref: '#/components/parameters/q.p_long'
- $ref: '#/components/parameters/q.p_radius'
- $ref: '#/components/parameters/q.p_bio_flag'
- $ref: '#/components/parameters/q.p_bio_vio_code'
- $ref: '#/components/parameters/q.p_bio_current_vio'
- $ref: '#/components/parameters/q.p_bio_qtrs_in_vio'
- $ref: '#/components/parameters/q.p_bio_vio_last_year'
- $ref: '#/components/parameters/q.p_msgp_rpt_year'
- $ref: '#/components/parameters/q.p_vio_last_year'
- $ref: '#/components/parameters/q.queryset'
- $ref: '#/components/parameters/q.responseset'
- $ref: '#/components/parameters/q.tablelist'
- $ref: '#/components/parameters/q.maplist'
- $ref: '#/components/parameters/q.summarylist'
- $ref: '#/components/parameters/q.callback'
- name: qcolumns
in: query
description: Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint
for a complete list of Ids and definitions.
required: false
schema:
type: string
- $ref: '#/components/parameters/q.p_e90_count'
- $ref: '#/components/parameters/q.p_e90_years'
- $ref: '#/components/parameters/q.p_pctlowinc'
- $ref: '#/components/parameters/q.p_psc'
tags:
- Facility Information
responses:
'200':
description: Results are summary statistics for the query and a query identifier (QID).
content:
application/json:
schema:
type: object
description: Root Object
xml:
name: Root
properties:
Results:
$ref: '#/components/schemas/cwa04'
required:
- Results
application/xml:
schema:
type: object
description: Root Object
xml:
name: Root
properties:
Results:
$ref: '#/components/schemas/cwa04'
required:
- Results
operationId: getCwaGetFacilities
post:
summary: Clean Water Act (CWA) Facility Search Service
description: Validates query search parameters and returns query identifier. Use the responseset parameter to set the page size
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
output:
description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript\
\ Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language."
type: string
enum:
- JSONP
- JSON
- XML
p_fn:
description: Facility Name Filter. Enter one or more case-insensitive facility name to filter results. Provide multiple values as a comma-delimited list. See p_fntype for additional modifiers.
type: string
p_sa:
description: Facility Street Address. Enter a complete or partial street address.
type: string
p_sa1:
description: Facility street address. Enter a complete or partial street address. Note that p_sa1 is culmulative with p_sa.
type: string
p_ct:
description: Facility City Filter. Enter a single case-insensitive city name to filter results.
type: string
p_co:
description: Facility County Filter. Provide a single county name in combination with a state value provided via p_st.
type: string
p_fips:
description: FIPS Code Filter. Enter a single 5-character Federal Information Processing Standards (FIPS) state + county value to restrict results. E.G. to limit results to Kenosha County,
Wisconsin, use 55059.
type: string
p_st:
description: Facility State and State-Equivalent Filter. Provide one or more USPS postal abbreviations for states and state-equivalents to filter results. Provide multiple values as a
comma-delimited list.
type: string
p_zip:
description: 5-Digit ZIP Code Filter. Provide one or more 5-digit postal zip codes to filter results. May contain multiple comma-separated values.
type: string
p_frs:
description: Facility Registry Service ID Filter. Enter a single 12-digit FRS identifier to filter results.
type: string
p_reg:
description: EPA Region Filter. Provide a single value of 01 through 10 to restrict results to a single EPA region.
type: string
enum: &id001
- '01'
- '02'
- '03'
- '04'
- '05'
- '06'
- '07'
- 08
- 09
- '10'
p_sic:
description: Standard Industrial Classification (SIC) Code Filter. Enter a single 4-digit SIC Code to filter results. If more complex filtering is required, use p_sic2 and p_sic4.
type: string
p_ncs:
description: North American Industry Classification System Filter. Enter two to six digits to filter results to facilities having matching NAICS codes. Digits less than six will match
to all codes beginning with the provided values.
type: string
p_pen:
description: 'Last Penalty Date Qualifier Filter. Enter one of the following:
NEVER = No Penalties
ANY = Any Penalty
LEXX = Less than or equal to XX months. Provide a number in place of XX, e.g. ""LE5"" for a facility with a penalty within previous 5 months.
GTXX = Greater than XX months. Provide a number in place of XX, eg. GT12, for a facility with the last penalty greater than 12 months ago.'
type: string
p_c1lat:
description: In decimal degrees. Latitude of 1st corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
type: number
p_c1lon:
description: In decimal degrees. Longitude of 1st corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
type: number
p_c2lat:
description: In decimal degrees. Latitude of 2nd corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
type: number
p_c2lon:
description: In decimal degrees. Longitude of 2nd corner of box that bounds the resulting facilities. The latitude and longitude of both corners of the bounding box must be provided.
type: number
p_usmex:
description: US-Mexico Border Flag. Enter Y/N to restrict searches to facilities located within 100KM of the border.
type: string
enum: &id002
- Y
- N
p_uscan:
description: US-Canada Border Flag. Enter Y/N to restrict searches to facilities located within 100KM of the border.
type: string
enum: &id003
- Y
- N
p_sic2:
description: Standard Industrial Classification (SIC) Code Filter Alternate 2. Enter a wild-card search against SIC codes. A final wild-card is always present allowing "22" to match all
SIC codes beginning with 22. Use the "%" character within strings to match any SIC values with the pattern. For example, "2%21" matches 2021, 2121, 2221, etc.
type: string
p_sic4:
description: Standard Industrial Classification (SIC) Code Filter Alternate 3. Enter the first 2, 3 or 4 SIC code digits to filter results to facilities having those code prefixes. As
this alternative does not utilize an index, p_sic2 will generally be quicker.
type: string
p_fa:
description: "Federal Agency. 1 character or 5-character values; may contain multiple comma-separated values. ALL will retrieve all facilities where the federal agency code is not null.\
\ \nUse the Federal Agencies lookup service to obtain a list of values."
type: string
p_ff:
description: Federal Facility Indicator Flag. Enter Y to restrict searches to federal facilities.
type: string
enum: &id004
- Y
p_act:
description: Active Permits/Facilities Flag. Provide Y or N to filter results to facilities with active permits. A Y will select ICIS NPDES permits with a status of effective, continued,
or expired.
type: string
p_maj:
description: Major Facility Flag. Enter Y to restrict results to Major facilities only.
type: string
enum: &id005
- Y
- N
p_mact:
description: CAA Maximum Achievable Control Technology (MACT) Subpart codes (alpha ID between 1 and 7 characters) applicable to the facility.
type: string
p_fea:
description: 'Formal Enforcement Actions [within / not within] specified date range indicator. The date range is determined by parameters p_fead1 and p_fead2 or by parameter p_feay.
W = within date range
N = not within date range'
type: string
enum: &id006
- W
- N
p_feay:
description: Years (1 to 5) Range. This value is used to create a date range for Formal Enforcement Actions (FEA). Used along with p_fea (which indicates whether to look within or outside
of the date range) to find FEAs within (or not within) the number of years specified.
type: number
enum: &id007
- 1
- 2
- 3
- 4
- 5
p_feaa:
description: 'Agency associated with Formal Enforcement Actions:
E = EPA
S = State
A = All'
type: string
enum: &id008
- A
- E
- S
p_iea:
description: 'Informal Enforcement Actions [within / not within] specified date range. The date range is determined by parameters p_iead1 and p_iead2 or by parameter p_ieay.
W = within date range
N = not within date range'
type: string
enum: &id009
- W
- N
p_ieay:
description: Years (1 to 5) Range. This value is used to create a date range for Informal Enforcement Actions (IEA). Used along with p_iea (which indicates whether to look within or outside
of the date range) to find IEAs within (or not within) the number of years specified.
type: number
enum: &id010
- 1
- 2
- 3
- 4
- 5
p_ieaa:
description: 'Agency associated with Informal Enforcement Actions. If left blank, both agencies are included.
E = EPA
S = State'
type: string
enum: &id011
- E
- S
p_qiv:
description: 'Quarters in Noncompliance Limiter. Enter a coded value to limit results to facilities with given quarter of noncompliance.
- Z = Zero quarters in noncompliance.
- GEXX = Replacing XX with a numeric value, that number of quarterd or more in noncompliance.
- GTXX = Replacing XX with a numeric value, more than that number of quarters in noncompliance.'
type: string
enum: &id012
- '0'
- GT1
- GT2
- GT4
- GT8
- '12'
p_iv:
description: "Facility has a violation status of 'In Viol' during any of the selected quarters. \n\nRange: Fiscal Year 2026 Quarter 4 to Fiscal Year 2023 Quarter 4\n\nMultiple values are\
\ comma delimited.\n\n\n|||||| Fiscal Years ||||||\n- FY2026 or FY26 or 2026 or 26\n- FY2025 or FY25 or 2025 or 25\n- FY2024 or FY24 or 2024 or 24\n- FY2023 or FY23 or 2023 or 23\n\n\
||||| Fiscal Quarters |||||\n- FY2026Q4 or FY26Q4 or 20264 or 264 or 13\n- FY2026Q3 or FY26Q3 or 20263 or 263 or 12\n- FY2026Q2 or FY26Q2 or 20262 or 262 or 11\n- FY2026Q1 or FY26Q1\
\ or 20261 or 261 or 10\n- FY2025Q4 or FY25Q4 or 20254 or 254 or 9\n- FY2025Q3 or FY25Q3 or 20253 or 253 or 8\n- FY2025Q2 or FY25Q2 or 20252 or 252 or 7\n- FY2025Q1 or FY25Q1 or 20251\
\ or 251 or 6\n- FY2024Q4 or FY24Q4 or 20244 or 244 or 5\n- FY2024Q3 or FY24Q3 or 20243 or 243 or 4\n- FY2024Q2 or FY24Q2 or 20242 or 242 or 3\n- FY2024Q1 or FY24Q1 or 20241 or 241 or\
\ 2\n- FY2023Q4 or FY23Q4 or 20234 or 234 or 1"
type: string
p_impw:
description: Discharging into Impaired Waters Flag. Enter Y to limit results to facilities with discharge to waterbodies listed as impaired in the ATTAINS database.
type: string
enum: &id013
- Y
- N
p_imp_cau_grp:
description: Facility is discharging a pollutant group causing a waterbody to be impaired. Enter 1 through 34 (the internal number of the pollutant group); or enter a partial name such
as Dioxin,Temp,tUrBidity.
type: string
enum: &id015
- ALGAL GROWTH
- AMMONIA
- BIOTOXINS
- CAUSE UNKNOWN
- CAUSE UNKNOWN - FISH KILLS
- CAUSE UNKNOWN - IMPAIRED BIOTA
- CHLORINE
- DIOXINS
- FISH CONSUMPTION ADVISORY
- FLOW ALTERATION(S)
- HABITAT ALTERATIONS
- MERCURY
- METALS (OTHER THAN MERCURY)
- NOXIOUS AQUATIC PLANTS
- NUISANCE EXOTIC SPECIES
- NUISANCE NATIVE SPECIES
- NUTRIENTS
- OIL AND GREASE
- ORGANIC ENRICHMENT/OXYGEN DEPLETION
- OTHER CAUSE
- PATHOGENS
- PESTICIDES
- PH/ACIDITY/CAUSTIC CONDITIONS
- POLYCHLORINATED BIPHENYLS (PCBS)
- RADIATION
- SALINITY/TOTAL DISSOLVED SOLIDS/CHLORIDES/SULFATES
- SEDIMENT
- TASTE, COLOR AND ODOR
- TEMPERATURE
- TOTAL TOXICS
- TOXIC INORGANICS
- TOXIC ORGANICS
- TRASH
- TURBIDITY
p_imp_pol:
description: Facility is discharging pollutants that are potentially contributing to the impairment of local waterbodies according to the ATTAINS database.
type: string
enum: &id014
- Y
- N
p_trep:
description: 'Current Toxics Release Inventory (TRI) Reporter Limiter. Enter one of the following codes to limit results.
- CURR = Current TRI reporter.
- NONCURR = Has reported to TRI in the past but not for the current reporting year.'
type: string
enum: &id016
- CURR
- NOTCURR
p_pm:
description: 'Percent People of Color Limiter. Enter a value to restrict results to facilities with a given percentage of people of color within a 3-mile radius.
NONE = 0%
GTx = greater than x%
GTEx = greater than or equal to x%'
type: string
enum: &id017
- NONE
- GT5
- GE5
- GT10
- GE10
- GT25
- GE25
- GT50
- GE50
- GT75
- GE75
p_pd:
description: 'Population Density Limiter (per sq mile). Enter a value to limit results to facilities located in area of a given population density.
- NONE = 0 population density per square mile
- GT100 = More than 100 population density per square mile
- GT500 = More than 500 population density per square mile
- GT1000 = More than 1000 population density per square mile
- GT5000 = More than 5000 population density per square mile
- GT10000 = More than 10000 population density per square mile
- GT20000 = More than 20000 population density per square mile'
type: string
enum: &id018
- NONE
- GT100
- GT500
- GT1000
- GT5000
- GT10000
- GT20000
p_ico:
description: Indian Country Flag. Enter a Y or N to restrict searches to facilities inside or outside Indian Country.
type: string
enum: &id019
- Y
- N
p_huc:
description: 2-, 4-, 6-, or 8-character watershed code. May contain multiple comma-separated values.
type: string
p_pid:
description: Nine-digit permit IDs. May contain up to 2000 comma-separated values.
type: string
p_med:
description: 'Filter Results by Media.
- A = Air
- M = RMP (Risk Management Plan)
- R = RCRA (Hazardous Waste)
- S = SDWA (Public Drinking Water Systems)
- ALL = Air and RCRA and Water'
type: string
enum: &id020
- A
- M
- R
- S
- ALL
p_ysl:
description: 'Last facility inspection [within / not within] specified date range indicator. The date range is determined by parameters p_idt1 and p_idt2 or by parameter p_ysly.
W = within date range
N = not within date range
NV= never'
type: string
enum: &id021
- W
- N
- NV
p_ysly:
description: Number of years (1 to 5) since last facility inspection. A value of 1 means that it has been inspected within the year.
type: number
enum: &id022
- 1
- 2
- 3
- 4
- 5
p_ysla:
description: 'Facility last inspection filter. If left blank, both agencies are included. Enter a value to limit results:
E = EPA
S = State'
type: string
enum: &id023
- E
- S
- A
p_qs:
description: Quick Search. Allows entry for city, state, and/or zip code.
type: string
p_sfs:
description: Single Facility Search Filter. Provide a facility name or program system identifier to limit results. For the all data search, the FRS registry identifier is also searched.
type: string
p_tribeid:
description: Numeric code for tribe (or list of tribes).
type: string
p_tribename:
description: Tribe Name Filter. Enter a single tribe name to filter results.
type: string
p_tribedist:
description: Proximity to tribal land limiter. Enter a value of mile(s) between 0 and 25 to filter results. This parameter is only evaluated if p_tribeid is populated.
type: number
p_pstat:
description: 'Permit Status Filter. Enter one or more of the following codes. Provide multiple values as a comma-delimited list.
EFF = Effective
EXP = Expired
PND = Pending
TRM = Terminated
RET = Retired
NON = Not Needed
ADC = Admin Continued'
type: string
p_ptype:
description: 'Permit Type Filter. Enter one or more code values to filter results. Provide multiple values as a comma-delimited list.
NPD = NPDES Individual Permit
NGP = NPDES Master General Permit
GPC = General Permit Covered Facility
SNN = State Issued Master General Permit (Non-NPDES)
IIU = Individual IU Permit (Non-NPDES)
SIN = Individual State Issued Permit (Non-NPDES)
APR = Associated Permit Record
UFT = Unpermitted Facility'
type: string
p_pcomp:
description: 'Permit Component Code Filter. Enter one or more codes to filter results. Provide multipl
# --- truncated at 32 KB (442 KB total) ---
# Full source: https://artifacts.apis.io/epa/openapi/epa-echo-clean-water-act-api-openapi.yml