1. Facility Information
U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services
  • Facility Information
    • Clean Water Act (CWA) Download Data Service
      GET
    • Clean Water Act (CWA) Download Data Service
      POST
    • Clean Water Act (CWA) Facility Search Service
      GET
    • Clean Water Act (CWA) Facility Search Service
      POST
    • Clean Water Act (CWA) Facility Enhanced Search Service
      GET
    • Clean Water Act (CWA) Facility Enhanced Search Service
      POST
    • Clean Water Act (CWA) GeoJSON Service
      GET
    • Clean Water Act (CWA) GeoJSON Service
      POST
    • Clean Water Act (CWA) Info Clusters Service
      GET
    • Clean Water Act (CWA) Info Clusters Service
      POST
    • Clean Water Act (CWA) Map Service
      GET
    • Clean Water Act (CWA) Map Service
      POST
    • Clean Water Act (CWA) Paginated Results Service
      GET
    • Clean Water Act (CWA) Paginated Results Service
      POST
  • Story
    • Story: Get List of User Stories
      GET
    • Story: Upload
      POST
    • Story: Upload a File
      POST
    • Story: Upload a File (base64)
      POST
    • Story: Delete by Id
      DELETE
    • Story: Get by Id
      GET
    • Story: Modify
      PUT
    • Story: View Analytics
      GET
    • Story: Upload a File To Existing Story
      POST
    • Story: Delete Subdocument
      DELETE
    • Story: Download Updated File
      GET
    • Story: Get Story Outline
      GET
    • Story: Post Story Outline
      POST
    • Story: Public Link to Story Reveal.js Document
      GET
    • Story: Get Story at Reveal.js Document
      GET
    • Story: Get Story Status
      GET
  • Metadata
    • Clean Water Act (CWA) Metadata Service
    • Clean Water Act (CWA) Metadata Service
  • Cache
    • Cache: Store Subdocument
    • Cache: Get Subdocument
  • Lookups
    • ECHO BP Tribes Lookup Service
    • ECHO BP Tribes Lookup Service
    • ECHO CWA Parameter Lookup Service
    • ECHO CWA Parameter Lookup Service
    • ECHO CWA Pollutants Lookup Service
    • ECHO CWA Pollutants Lookup Service
    • ECHO Federal Agency Lookup Service
    • ECHO Federal Agency Lookup Service
    • ECHO ICIS NPDES Inspection Types Lookup Service
    • ECHO ICIS NPDES Inspection Types Lookup Service
    • ECHO ICIS NPDES Law Sections Lookup Service
    • ECHO ICIS NPDES Law Sections Lookup Service
    • ECHO NAICS Codes Lookup Service
    • ECHO NAICS Codes Lookup Service
    • ECHO NPDES Parameters Lookup Service
    • ECHO NPDES Parameters Lookup Service
    • ECHO WBD Code Lookup Service
    • ECHO WBD Code Lookup Service
    • ECHO WBD Name Lookup Service
    • ECHO WBD Name Lookup Service
  • Restricted
    • Collborators: Bulk Update (Admin Only)
  • Schemas
    • Story Outline Schema
  • Permissions
    • Permissions: List Permission Types
    • Permissions: Story Authorization for a User
  • Sessions
    • Sessions: Delete by Id
    • Sessions: Get
    • Sessions: List Story Sessions
    • Sessions: Create a Session
  • Views
    • Views: List Session Views
    • Views: Create A Session View
    • Views: Delete by Id
    • Views: Get View
  • Story Collaborators
    • Story Collaborators: List
    • Story Collaborators: Add New User
    • Story Collaborators: Edit Inactive User Permission
    • Story Collaborators: Remove User
    • Story Collaborators: Access Permissions
    • Story Collaborators: Edit Access Rights
  • Events
    • Events: List Events
    • Events: Manage Events
  • Conversation
    • Conversation: List Conversation Messages
    • Conversation: Send a Message
  • Environment: Get
    GET
  • Specification: No tags
    GET
  • Schemas
    • Schemas
      • cwa01
      • Collaborator permission data
      • cwa02
      • BaseModel
      • cwa03
      • Cache Post Request body
      • cwa04
      • Collaborator data to change
      • cwa05
      • session-create
      • cwa06
      • Event
      • cwa07
      • File Upload
      • cwa08
      • Event Actions
      • cwa09
      • Message
      • cwa10
      • Collaborator permission data
      • cwa11
      • Ooxml Document
      • cwa12
      • Story Outline
      • cwa13
      • Permission Type
      • geo
      • Problem Detail
      • meta1
      • Session
      • meta3
      • Status
      • qp0
      • Story
      • rlup01
      • Story Collaborator
      • rlup20
      • Story Outline History
      • rlup23
      • View
      • rlup24
      • rlup54
      • rlup58
      • rlup59
      • rlup61
      • rlup65
      • rlup75
      • rlup77
    • Response
      • accepted
      • badrequest
      • forbidden
      • notfound
      • outline
      • unauthorized
      • unprocessable_entity
      • unsupported_media_type
  1. Facility Information

Clean Water Act (CWA) Facility Search Service

POST
/cwa_rest_services.get_facilities
Validates query search parameters and returns query identifier. Use the responseset parameter to set the page size

Request

Body Params application/x-www-form-urlencoded

Responses

🟢200Results are summary statistics for the query and a query identifier (QID).
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://echodata.epa.gov/echo/cwa_rest_services.get_facilities'
Response Response Example
{
    "Results": {
        "BadSystemIDs": "string",
        "BioCVRows": "string",
        "BioV3Rows": "string",
        "CVRows": "0",
        "FEARows": "1",
        "Facilities": [
            {}
        ],
        "INSPRows": "1",
        "IndianCountryRows": "0",
        "InfFEARows": "0",
        "MapOutput": {
            "IconBaseURL": "https://echo.epa.gov/app/map/icons/",
            "MapData": [
                {
                    "CWAstatus": "VV_______V_VV",
                    "FormalCount": "1",
                    "ICON": "CAA-IC-MN-N.png",
                    "InformalCount": "1",
                    "LAT": "38.798026",
                    "LON": "-77.062981",
                    "LastInsp": "901",
                    "NAME": "VIRGINIA CONCRETE ALEXANDRIA PLANT",
                    "PUV": "110001891506",
                    "TYPE": "Facility"
                }
            ],
            "PopUpBaseURL": "https://echodata.epa.gov/echo/cwa_rest_services.pop_up?p_id=",
            "QueryID": "245"
        },
        "Message": "Success",
        "PageNo": "1",
        "QueryID": "245",
        "QueryRows": "5",
        "SVRows": "0",
        "TotalPenalties": "$963,531",
        "V3Rows": "2",
        "Version": "v2016-02-02 14:",
        "VioLast4QRows": "string"
    }
}
Modified at 2022-09-10 16:57:31
Previous
Clean Water Act (CWA) Facility Search Service
Next
Clean Water Act (CWA) Facility Enhanced Search Service
Built with