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 Enhanced Search Service

POST
/cwa_rest_services.get_facility_info
Returns either an array of Facilities or an array of Clusters that meet the specified search criteria.

Request

Body Params application/x-www-form-urlencoded

Responses

🟢200Results will either be an array of Facilities or an array of Clusters. The search will return clusters if the number of facilities returned is greater than the resposeset size, otherwise individual facility records will be returned.
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://echodata.epa.gov/echo/cwa_rest_services.get_facility_info'
Response Response Example
{
    "Results": {
        "BadSystemIDs": "string",
        "BioCVRows": "string",
        "BioV3Rows": "string",
        "CVRows": "0",
        "ClusterOutput": {
            "ClusterData": [
                {
                    "BioCVRows": "string",
                    "BioV3Rows": "string",
                    "CVRows": "0",
                    "ClusterCount": "string",
                    "ClusterIcon": "string",
                    "ClusterLatitude": "38.904149",
                    "ClusterLongitude": "-77.017094",
                    "ClusterName": "string",
                    "ClusterType": "string",
                    "ClusterValue": "string",
                    "EPARegionCode": "03",
                    "FEARows": "1",
                    "INSPRows": "1",
                    "IndianCountryRows": "0",
                    "InfFEARows": "0",
                    "ObjectId": "1",
                    "SVRows": "0",
                    "TotalPenalties": "$963,531",
                    "V3Rows": "2",
                    "VioLast4QRows": "string"
                }
            ]
        },
        "ClusterRecords": "199",
        "FEARows": "1",
        "Facilities": [
            {}
        ],
        "INSPRows": "1",
        "IconBaseURL": "https://echo.epa.gov/app/map/icons/",
        "IndianCountryRows": "0",
        "InfFEARows": "0",
        "Message": "Success",
        "PopUpBaseURL": "https://echodata.epa.gov/echo/cwa_rest_services.pop_up?p_id=",
        "QueryID": "245",
        "QueryParameters": [
            {
                "QP": "output",
                "QV": "JSON"
            }
        ],
        "QueryRows": "5",
        "SVRows": "0",
        "ServiceBaseURL": "https://echodata.epa.gov/echo/echo_rest_services.get_facility_info",
        "TotalPenalties": "$963,531",
        "V3Rows": "2",
        "VioLast4QRows": "string"
    }
}
Modified at 2022-09-10 16:57:31
Previous
Clean Water Act (CWA) Facility Enhanced Search Service
Next
Clean Water Act (CWA) GeoJSON Service
Built with