# U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API

> 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. 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. \ The 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. 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. \ The recommended use scenario for get_facilities, get_qid, get_map, and get_downoad is: \ <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. <b>2)</b> Use get_qid, with the returned QID, to paginate through arrays of facility results. <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. <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. \ \ Use 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. \ Additional 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>.

U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services is an open data API from epa.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 36 endpoints.

## At a glance

- Category: [Open Data](https://www.openparable.com/apis/category/open-data)
- Provider: epa.gov
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://echodata.epa.gov/echo
- Documentation: https://echo.epa.gov/resources/general-info/contact-us
- OpenAPI description: https://api.apis.guru/v2/specs/epa.gov/cwa/2019.10.15/swagger.json
- Version: 2019.10.15
- Specification updated: 2021-07-05

## Example request

```bash
curl -X GET "https://echodata.epa.gov/echo/cwa_rest_services.get_download" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /cwa_rest_services.get_download` — Clean Water Act (CWA) Download Data Service
- `POST /cwa_rest_services.get_download` — Clean Water Act (CWA) Download Data Service
- `GET /cwa_rest_services.get_facilities` — Clean Water Act (CWA) Facility Search Service
- `POST /cwa_rest_services.get_facilities` — Clean Water Act (CWA) Facility Search Service
- `GET /cwa_rest_services.get_facility_info` — Clean Water Act (CWA) Facility Enhanced Search Service
- `POST /cwa_rest_services.get_facility_info` — Clean Water Act (CWA) Facility Enhanced Search Service
- `GET /cwa_rest_services.get_geojson` — Clean Water Act (CWA) GeoJSON Service
- `POST /cwa_rest_services.get_geojson` — Clean Water Act (CWA) GeoJSON Service
- `GET /cwa_rest_services.get_info_clusters` — Clean Water Act (CWA) Info Clusters Service
- `POST /cwa_rest_services.get_info_clusters` — Clean Water Act (CWA) Info Clusters Service
- `GET /cwa_rest_services.get_map` — Clean Water Act (CWA) Map Service
- `POST /cwa_rest_services.get_map` — Clean Water Act (CWA) Map Service
- `GET /cwa_rest_services.get_qid` — Clean Water Act (CWA) Paginated Results Service
- `POST /cwa_rest_services.get_qid` — Clean Water Act (CWA) Paginated Results Service
- `GET /cwa_rest_services.metadata` — Clean Water Act (CWA) Metadata Service
- `POST /cwa_rest_services.metadata` — Clean Water Act (CWA) Metadata Service
- `GET /rest_lookups.bp_tribes` — ECHO BP Tribes Lookup Service
- `POST /rest_lookups.bp_tribes` — ECHO BP Tribes Lookup Service
- `GET /rest_lookups.cwa_parameters` — ECHO CWA Parameter Lookup Service
- `POST /rest_lookups.cwa_parameters` — ECHO CWA Parameter Lookup Service
- `GET /rest_lookups.cwa_pollutants` — ECHO CWA Pollutants Lookup Service
- `POST /rest_lookups.cwa_pollutants` — ECHO CWA Pollutants Lookup Service
- `GET /rest_lookups.federal_agencies` — ECHO Federal Agency Lookup Service
- `POST /rest_lookups.federal_agencies` — ECHO Federal Agency Lookup Service
- `GET /rest_lookups.icis_inspection_types` — ECHO ICIS NPDES Inspection Types Lookup Service
- `POST /rest_lookups.icis_inspection_types` — ECHO ICIS NPDES Inspection Types Lookup Service
- `GET /rest_lookups.icis_law_sections` — ECHO ICIS NPDES Law Sections Lookup Service
- `POST /rest_lookups.icis_law_sections` — ECHO ICIS NPDES Law Sections Lookup Service
- `GET /rest_lookups.naics_codes` — ECHO NAICS Codes Lookup Service
- `POST /rest_lookups.naics_codes` — ECHO NAICS Codes Lookup Service
- `GET /rest_lookups.npdes_parameters` — ECHO NPDES Parameters Lookup Service
- `POST /rest_lookups.npdes_parameters` — ECHO NPDES Parameters Lookup Service
- `GET /rest_lookups.wbd_code_lu` — ECHO WBD Code Lookup Service
- `POST /rest_lookups.wbd_code_lu` — ECHO WBD Code Lookup Service
- `GET /rest_lookups.wbd_name_lu` — ECHO WBD Name Lookup Service
- `POST /rest_lookups.wbd_name_lu` — ECHO WBD Name Lookup Service

## Questions

### Does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API need an API key?

No. The U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API support HTTPS?

Yes, the U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API is served over HTTPS.

### How many endpoints does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API have?

Its OpenAPI description lists 36 endpoints in version 2019.10.15. All of them are shown on this page.

### What are alternatives to the U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

## Similar open data APIs

- [Search Services](https://www.openparable.com/apis/search-services): API for Internet Archive's Search-related services
- [Wayback API](https://www.openparable.com/apis/wayback): API for Internet Archive's Wayback Machine
- [Wikipedia](https://www.openparable.com/apis/wikipedia): Mediawiki Encyclopedia
- [Nasdaq Data Link](https://www.openparable.com/apis/nasdaq-data-link): The source for financial, economic, and alternative datasets, serving investment professionals.
- [University of Oslo](https://www.openparable.com/apis/university-of-oslo): Courses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
- [Data API](https://www.openparable.com/apis/data): Serves the Clever Data API
- [Kaggle](https://www.openparable.com/apis/kaggle): Create and interact with Datasets, Notebooks, and connect with Kaggle
- [CollegeScoreCard.ed.gov](https://www.openparable.com/apis/collegescorecard-ed-gov): Data on higher education institutions in the United States
- [U.S. EPA Enforcement and Compliance History Online (ECHO) - All Data](https://www.openparable.com/apis/u-s-epa-enforcement-and-compliance-history-online-echo-all-data): 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. ECHO Rest Services provide multiple service endpoints, each with specific capabilities, to search and retrieve data on facilities regulated as Clean Air Act (CAA) stationary sources, Clean Water Act (CWA) dischargers, Resource Conservation and Recovery Act (RCRA) hazardous waste generators/handlers, and Safe Drinking Water Act (SDWA) public water systems. Data of interest from other EPA sources, such as the Toxics Release Inventory, is also supplied for context. \ The 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. 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. \ The recommended use scenario for get_facilities, get_qid, get_map, and get_downoad is: \ <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. <b>2)</b> Use get_qid, with the returned QID, to paginate through arrays of facility results. <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. <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. \ \ Use 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. \ Additional 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>
- [Authorized Partner API Specification](https://www.openparable.com/apis/authorized-partner-specification): To access files in user’s DigiLocker account from your application, you must first obtain user’s authorization.
- [GENESIS](https://www.openparable.com/apis/genesis): Federal Statistical Office Germany
- [Scoop.it](https://www.openparable.com/apis/scoop-it): Content Curation Service

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/u-s-epa-enforcement-and-compliance-history-online-echo-clean-water-act-cwa-rest (OpenParable). Cite the canonical URL above.
