v1

latestSwagger 2.0This page was built with the Swagger API.2026-07-142241153.1 KB
Case Enforcement

Enforcement Case Map Service

The purpose of the GET_MAP service is to display facility coordinates and facility clusters related to a get_cases query. Currently, the maximum number of coordinates returned is 500. GET_MAP performs automatic clustering at the state, county, and zip code levels to maximize the number of coordinates returned.

get/case_rest_services.get_map

Query parameters

output'JSONP' | 'JSON' | 'XML'

Output Format Flag. Enter one of the following keywords:

  • JSON = Data model formatted as Javascript Object Notation (default).
  • JSONP = Data model formatted as Javascript Object Notation with Padding.
  • XML = Data model formatted as Extensible Markup Language.
qidstring required

Query ID Selector. Enter the QueryID number from a previously run query.

callbackstring

JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.

tablelist'Y' | 'N'

Table List Flag. Enter a Y to display the first page of facility results.

c1_latnumber

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.

c1_longnumber

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.

c2_latnumber

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.

c2_longnumber

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.

Response

Results are either an array of State, County, Zip Code facility cluster map coordinates or individual facility coordinates. Coordinates provided are in WGS84.

Example response

{
  "MapOutput": {
    "IconBaseURL": "https://echo.epa.gov/app/map/icons/",
    "MapData": [
      {
        "ICON": "CAA-IC-MN-N.png",
        "LAT": "38.798026",
        "LON": "-77.062981",
        "NAME": "VIRGINIA CONCRETE ALEXANDRIA PLANT",
        "PUV": "110001891506",
        "TYPE": "Facility"
      }
    ],
    "PopUpBaseURL": "https://echodata.epa.gov/echo/cwa_rest_services.pop_up?p_id=",
    "QueryID": "245"
  }
}