Skip to content

U.S. EPA Enforcement and Compliance History Online (ECHO) - Resource Conservation and Recovery Act API

by epa.gov

No authHTTPSOpen Data
Open documentation ↗

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. RCRA Rest Services provides multiple service endpoints, each with specific capabilities, to search and retrieve data on hazardous waste handlers/facilities regulated under the Resource Conservation and Recovery Act (RCRA). The returned results reflect data drawn from EPA's RCRAInfo 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) - Resource Conservation and Recovery Act is an open data API from epa.gov. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 16 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://echodata.epa.gov/echo
Version
2019.10.15
Endpoints
16
Spec updated
2021-07-05

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://echodata.epa.gov/echo/rcra_rest_services.get_download" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://echodata.epa.gov/echo/rcra_rest_services.get_download", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://echodata.epa.gov/echo/rcra_rest_services.get_download",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/rcra_rest_services.get_downloadResource Conservation and Recovery Act (RCRA) Download Data Service
POST/rcra_rest_services.get_downloadResource Conservation and Recovery Act (RCRA) Download Data Service
GET/rcra_rest_services.get_facilitiesResource Conservation and Recovery Act (RCRA) Facility Search Service
POST/rcra_rest_services.get_facilitiesResource Conservation and Recovery Act (RCRA) Facility Search Service
GET/rcra_rest_services.get_facility_infoResource Conservation and Recovery Act (RCRA) Facility Enhanced Search Service
POST/rcra_rest_services.get_facility_infoResource Conservation and Recovery Act (RCRA) Facility Enhanced Search Service
GET/rcra_rest_services.get_geojsonResource Conservation and Recovery Act (RCRA) GeoJSON Service
POST/rcra_rest_services.get_geojsonResource Conservation and Recovery Act (RCRA) GeoJSON Service
GET/rcra_rest_services.get_info_clustersResource Conservation and Recovery Act (RCRA) Info Clusters Service
POST/rcra_rest_services.get_info_clustersResource Conservation and Recovery Act (RCRA) Info Clusters Service
GET/rcra_rest_services.get_mapResource Conservation and Recovery Act (RCRA) Map Service
POST/rcra_rest_services.get_mapResource Conservation and Recovery Act (RCRA) Map Service
GET/rcra_rest_services.get_qidResource Conservation and Recovery Act (RCRA) Paginated Results Service
POST/rcra_rest_services.get_qidResource Conservation and Recovery Act (RCRA) Paginated Results Service
GET/rcra_rest_services.metadataResource Conservation and Recovery Act (RCRA) Metadata Service
POST/rcra_rest_services.metadataResource Conservation and Recovery Act (RCRA) Metadata Service

Questions

Does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Resource Conservation and Recovery Act API need an API key?

No. The U.S. EPA Enforcement and Compliance History Online (ECHO) - Resource Conservation and Recovery Act 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) - Resource Conservation and Recovery Act API support HTTPS?

Yes, the U.S. EPA Enforcement and Compliance History Online (ECHO) - Resource Conservation and Recovery Act API is served over HTTPS.

How many endpoints does the U.S. EPA Enforcement and Compliance History Online (ECHO) - Resource Conservation and Recovery Act API have?

Its OpenAPI description lists 16 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) - Resource Conservation and Recovery Act API?

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

Compare alternatives →

Listed from APIs.guru (CC0).