U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water…
Enforcement and Compliance History Online (ECHO) is a tool developed and maintained by EPA's Office of Enforcement and Compliance Assurance for public use.…
Government & public#openapi#open-data
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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.
SDW Rest Services provides multiple service endpoints, each with specific capabilities, to search and retrieve data on public water systems regulated under the Safe Drinking Water Act (SDWA). The returned results reflect data drawn from EPA's Federal Safe Drinking Water Information System (SDWIS) database.
\
The get_systems, get_qid, and get_download end points are meant to be used together.
\
The recommended use scenario for get_systems, get_qid, and get_downoad is:
\
1) Use get_systems 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.
2) Use get_qid, with the returned QID, to paginate through arrays of water system results.
3) Use get_download, with the returned QID, to generate a Comma Separated Value (CSV) file of water system 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: Web Services , About ECHO's Data , Data Downloads
Endpoints 8
Safe Drinking Water
- GETSafe Drinking Water Act (SDWA) Download Data Service
/sdw_rest_services.get_download?output=string&qid=string&qcolumns=stringBased on the QID obtained from a get_systems query, return a comma separated value (CSV) file of the water systems found. - POSTSafe Drinking Water Act (SDWA) Download Data Service
/sdw_rest_services.get_downloadBased on the QID obtained from a get_systems query, return a comma separated value (CSV) file of the water systems found. - GETSafe Drinking Water Act (SDWA) Paginated Results Service
/sdw_rest_services.get_qid?output=JSONP&qid=string&pageno=1&callback=string&newsort=0.0&descending=Y&qcolumns=stringGET_QID is passed with a query ID corresponding to a previously run get_systems query. It then returns a Systems object containing all matching water systems.… - POSTSafe Drinking Water Act (SDWA) Paginated Results Service
/sdw_rest_services.get_qidGET_QID is passed with a query ID corresponding to a previously run get_systems query. It then returns a Systems object containing all matching water systems.… - GETSafe Drinking Water Act (SDWA) Systems Search Service
/sdw_rest_services.get_systems?output=JSONP&p_fn=string&p_ct=string&p_co=string&p_fips=string&p_st=string&p_zip=string&p_reg=01&p_trb=string&p_act=Y&p_qiv=0&p_ico=Y&p_pid=string&p_owop=F&p_systyp=CWS&p_swtyp=SW&p_popsv=string&p_cntysv=string&p_cs=string&p_mr=Y&p_health=Y&p_other=Y&p_pn=Y&p_sv=Y&p_qs=string&p_sfs=string&p_pswpol=string&p_pswvio=Y&p_pbale=string&p_cuale=string&p_rc350v=string&p_pbv=string&p_cuv=string&p_lcrv=string&p_fea=W&p_feay=1&p_feaa=A&p_iea=W&p_ieay=1&p_ieaa=E&p_qis=Z&p_pfead1=string&p_pfead2=string&p_pfeat=string&p_ss5yr=string&p_sdc=string&p_sdc_ils=string&p_ysl=W&p_ysly=1&p_ysla=E&p_idt1=string&p_idt2=string&p_cms_flag=string&queryset=0.0&responseset=0.0&callback=string&qcolumns=stringReturns an array of public water systems that meet the specified search criteria. - POSTSafe Drinking Water Act (SDWA) Systems Search Service
/sdw_rest_services.get_systemsReturns an array of public water systems that meet the specified search criteria.
Metadata
- GETSafe Drinking Water Act (SDWA) Metadata Service
/sdw_rest_services.metadata?output=JSONP&callback=stringReturns the JSON Object Name and ColumnId for usage with the qcolumns parameter for get_systems endpoint. - POSTSafe Drinking Water Act (SDWA) Metadata Service
/sdw_rest_services.metadataReturns the JSON Object Name and ColumnId for usage with the qcolumns parameter for get_systems endpoint.
API details
- Base URL
https://echodata.epa.gov/echo- Authentication
- None declared in the description
- Operations
- 8 operations on 4 pathsGET 4POST 4
- Main resources
- Safe Drinking Water 6Metadata 2
- Response formats
application/jsonapplication/xml- Description format
- Swagger 2.0, API version
2019.10.15 - Links
- OpenAPI document · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water… in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water… collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Safe Drinking Water Act (SDWA) Download Data Service” (GET /sdw_rest_services.get_download?output=string&qid=string&qcolumns=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water…?
Enforcement and Compliance History Online (ECHO) is a tool developed and maintained by EPA's Office of Enforcement and Compliance Assurance for public use.… It is listed under Government & public and has 8 endpoints.
Who publishes the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water…?
It is listed from Epa's public API description (an OpenAPI document), not published by Epa on Swastik Codes. Anyone who controls epa.gov can claim the profile by adding a DNS TXT record.
What is the base URL of the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water…?
Requests go to https://echodata.epa.gov/echo. Endpoint paths are added to this base URL.
How do I authenticate with the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water…?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water… have?
8 operations on 4 paths (4 GET, 4 POST). The largest groups are Safe Drinking Water, Metadata.
Is forking the U.S. EPA Enforcement and Compliance History Online (ECHO) - Safe Drinking Water… free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.