{
  "x402Version": 2,
  "id": 72401,
  "slug": "saylorinnovations-api-epa-facilities",
  "resource": "https://saylorinnovations.com/api/epa/facilities",
  "description": "EPA ECHO regulated facilities by name, state or ZIP - air, water and waste compliance status, quarters in violation, inspections, actions and penalties",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "name_filter": {
        "type": [
          "string",
          "null"
        ],
        "description": "Name filter"
      },
      "state": {
        "type": [
          "string",
          "null"
        ],
        "description": "State or region"
      },
      "zip": {
        "type": [
          "string",
          "null"
        ],
        "description": "ZIP filter applied, if any"
      },
      "total_matches": {
        "type": "number",
        "description": "Total number of matches before any limit is applied"
      },
      "total_penalties": {
        "type": [
          "string",
          "null"
        ],
        "description": "Total penalties"
      },
      "count": {
        "type": "number",
        "description": "Number of items returned"
      },
      "facilities": {
        "type": "array",
        "description": "Facilities with name, address, industry, compliance status per program, inspections, formal actions and penalties",
        "items": {
          "type": "object",
          "properties": {
            "naics": {
              "description": "NAICS industry code"
            },
            "industry": {
              "description": "SIC industry description",
              "type": [
                "string",
                "null"
              ]
            },
            "air": {
              "description": "Clean Air Act compliance status"
            },
            "water": {
              "description": "Clean Water Act compliance status",
              "type": [
                "string",
                "null"
              ]
            },
            "waste": {
              "description": "RCRA hazardous waste compliance status"
            },
            "inspections": {
              "description": "Inspections in the last five years",
              "type": [
                "number",
                "null"
              ]
            },
            "penalties": {
              "description": "Total penalties in the last five years",
              "type": [
                "string",
                "null"
              ]
            },
            "name": {
              "description": "Name"
            },
            "address": {
              "description": "Account or contract address"
            },
            "registry_id": {
              "description": "Registry id identifier"
            },
            "county": {
              "description": "County"
            },
            "compliance_status": {
              "description": "Compliance status"
            },
            "drinking_water": {
              "description": "Drinking water"
            },
            "quarters_in_noncompliance": {
              "description": "Quarters in noncompliance"
            },
            "last_inspection": {
              "description": "Last inspection"
            },
            "formal_actions": {
              "description": "Formal actions"
            },
            "lat": {
              "description": "Latitude in decimal degrees"
            },
            "lon": {
              "description": "Longitude in decimal degrees"
            }
          }
        }
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "total_matches",
      "facilities"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "limit": "3",
            "q": "water",
            "state": "NC"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "name_filter": "water",
            "state": "NC",
            "zip": null,
            "total_matches": 672,
            "total_penalties": "$728,820",
            "count": 3,
            "facilities": [
              {
                "name": "2021 WATER AND SEWER IMPROVEMENTS GRAVITY SEWER, WATER LINE AND PUMP STATIO",
                "address": "147 S. CASWELL ST, LA GRANGE, NC, 28551",
                "registry_id": "110071923248",
                "county": "LENOIR COUNTY",
                "naics": null,
                "industry": "9999: Nonclassifiable Establishments",
                "compliance_status": "No Violation Identified",
                "air": null,
                "water": "No Violation Identified",
                "waste": null,
                "drinking_water": null,
                "quarters_in_noncompliance": 0,
                "inspections": 0,
                "last_inspection": null,
                "formal_actions": 0,
                "penalties": "$0",
                "lat": null,
                "lon": null
              },
              {
                "name": "CFPUA WATER AND SEWER INTRACOASTAL WATERWAY CROSSING & EASTWOOD ROAD INTERC",
                "address": "EASTWOOD ROAD, WILMINGTON, NC, 28403",
                "registry_id": "110072109065",
                "county": "NEW HANOVER COUNTY",
                "naics": "237110",
                "industry": "1623: Water, Sewer, And Utility Lines",
                "compliance_status": "No Violation Identified",
                "air": null,
                "water": "No Violation Identified",
                "waste": null,
                "drinking_water": null,
                "quarters_in_noncompliance": 0,
                "inspections": 0,
                "last_inspection": null,
                "formal_actions": 0,
                "penalties": "$0",
                "lat": null,
                "lon": null
              },
              {
                "name": "CHEROKEE WATER SYSTEM-CHEROKEE WATER TREATMENT PLANT",
                "address": "EASTERN BAND OF CHEROKEE INDIANS, CHEROKEE, NC, 28719",
                "registry_id": "110012918806",
                "county": null,
                "naics": null,
                "industry": null,
                "compliance_status": "No Violation Identified",
                "air": null,
                "water": null,
                "waste": null,
                "drinking_water": "No Violation Identified",
                "quarters_in_noncompliance": 3,
                "inspections": 1,
                "last_inspection": "02/26/2025",
                "formal_actions": 0,
                "penalties": "$0",
                "lat": null,
                "lon": null
              }
            ],
            "source": "EPA Enforcement and Compliance History Online (ECHO)"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "string",
                    "description": "optional 1-25, default 8"
                  },
                  "q": {
                    "type": "string",
                    "description": "optional facility name text"
                  },
                  "state": {
                    "type": "string",
                    "description": "optional two-letter US state"
                  }
                }
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "name_filter": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Name filter"
                  },
                  "state": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "State or region"
                  },
                  "zip": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "ZIP filter applied, if any"
                  },
                  "total_matches": {
                    "type": "number",
                    "description": "Total number of matches before any limit is applied"
                  },
                  "total_penalties": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Total penalties"
                  },
                  "count": {
                    "type": "number",
                    "description": "Number of items returned"
                  },
                  "facilities": {
                    "type": "array",
                    "description": "Facilities with name, address, industry, compliance status per program, inspections, formal actions and penalties",
                    "items": {
                      "type": "object",
                      "properties": {
                        "naics": {
                          "description": "NAICS industry code"
                        },
                        "industry": {
                          "description": "SIC industry description",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "air": {
                          "description": "Clean Air Act compliance status"
                        },
                        "water": {
                          "description": "Clean Water Act compliance status",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "waste": {
                          "description": "RCRA hazardous waste compliance status"
                        },
                        "inspections": {
                          "description": "Inspections in the last five years",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "penalties": {
                          "description": "Total penalties in the last five years",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "Name"
                        },
                        "address": {
                          "description": "Account or contract address"
                        },
                        "registry_id": {
                          "description": "Registry id identifier"
                        },
                        "county": {
                          "description": "County"
                        },
                        "compliance_status": {
                          "description": "Compliance status"
                        },
                        "drinking_water": {
                          "description": "Drinking water"
                        },
                        "quarters_in_noncompliance": {
                          "description": "Quarters in noncompliance"
                        },
                        "last_inspection": {
                          "description": "Last inspection"
                        },
                        "formal_actions": {
                          "description": "Formal actions"
                        },
                        "lat": {
                          "description": "Latitude in decimal degrees"
                        },
                        "lon": {
                          "description": "Longitude in decimal degrees"
                        }
                      }
                    }
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "total_matches",
                  "facilities"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "is this facility violating",
    "epa compliance status",
    "environmental violations near",
    "facility inspections",
    "who polluted in my state"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.942Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "string",
          "description": "optional 1-25, default 8"
        },
        "q": {
          "type": "string",
          "description": "optional facility name text"
        },
        "state": {
          "type": "string",
          "description": "optional two-letter US state"
        }
      },
      "required": []
    },
    "exampleResponse": {
      "name_filter": "water",
      "state": "NC",
      "zip": null,
      "total_matches": 672,
      "total_penalties": "$728,820",
      "count": 3,
      "facilities": [
        {
          "name": "2021 WATER AND SEWER IMPROVEMENTS GRAVITY SEWER, WATER LINE AND PUMP STATIO",
          "address": "147 S. CASWELL ST, LA GRANGE, NC, 28551",
          "registry_id": "110071923248",
          "county": "LENOIR COUNTY",
          "naics": null,
          "industry": "9999: Nonclassifiable Establishments",
          "compliance_status": "No Violation Identified",
          "air": null,
          "water": "No Violation Identified",
          "waste": null,
          "drinking_water": null,
          "quarters_in_noncompliance": 0,
          "inspections": 0,
          "last_inspection": null,
          "formal_actions": 0,
          "penalties": "$0",
          "lat": null,
          "lon": null
        },
        {
          "name": "CFPUA WATER AND SEWER INTRACOASTAL WATERWAY CROSSING & EASTWOOD ROAD INTERC",
          "address": "EASTWOOD ROAD, WILMINGTON, NC, 28403",
          "registry_id": "110072109065",
          "county": "NEW HANOVER COUNTY",
          "naics": "237110",
          "industry": "1623: Water, Sewer, And Utility Lines",
          "compliance_status": "No Violation Identified",
          "air": null,
          "water": "No Violation Identified",
          "waste": null,
          "drinking_water": null,
          "quarters_in_noncompliance": 0,
          "inspections": 0,
          "last_inspection": null,
          "formal_actions": 0,
          "penalties": "$0",
          "lat": null,
          "lon": null
        },
        {
          "name": "CHEROKEE WATER SYSTEM-CHEROKEE WATER TREATMENT PLANT",
          "address": "EASTERN BAND OF CHEROKEE INDIANS, CHEROKEE, NC, 28719",
          "registry_id": "110012918806",
          "county": null,
          "naics": null,
          "industry": null,
          "compliance_status": "No Violation Identified",
          "air": null,
          "water": null,
          "waste": null,
          "drinking_water": "No Violation Identified",
          "quarters_in_noncompliance": 3,
          "inspections": 1,
          "last_inspection": "02/26/2025",
          "formal_actions": 0,
          "penalties": "$0",
          "lat": null,
          "lon": null
        }
      ],
      "source": "EPA Enforcement and Compliance History Online (ECHO)"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "limit": "3",
              "q": "water",
              "state": "NC"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "name_filter": "water",
              "state": "NC",
              "zip": null,
              "total_matches": 672,
              "total_penalties": "$728,820",
              "count": 3,
              "facilities": [
                {
                  "name": "2021 WATER AND SEWER IMPROVEMENTS GRAVITY SEWER, WATER LINE AND PUMP STATIO",
                  "address": "147 S. CASWELL ST, LA GRANGE, NC, 28551",
                  "registry_id": "110071923248",
                  "county": "LENOIR COUNTY",
                  "naics": null,
                  "industry": "9999: Nonclassifiable Establishments",
                  "compliance_status": "No Violation Identified",
                  "air": null,
                  "water": "No Violation Identified",
                  "waste": null,
                  "drinking_water": null,
                  "quarters_in_noncompliance": 0,
                  "inspections": 0,
                  "last_inspection": null,
                  "formal_actions": 0,
                  "penalties": "$0",
                  "lat": null,
                  "lon": null
                },
                {
                  "name": "CFPUA WATER AND SEWER INTRACOASTAL WATERWAY CROSSING & EASTWOOD ROAD INTERC",
                  "address": "EASTWOOD ROAD, WILMINGTON, NC, 28403",
                  "registry_id": "110072109065",
                  "county": "NEW HANOVER COUNTY",
                  "naics": "237110",
                  "industry": "1623: Water, Sewer, And Utility Lines",
                  "compliance_status": "No Violation Identified",
                  "air": null,
                  "water": "No Violation Identified",
                  "waste": null,
                  "drinking_water": null,
                  "quarters_in_noncompliance": 0,
                  "inspections": 0,
                  "last_inspection": null,
                  "formal_actions": 0,
                  "penalties": "$0",
                  "lat": null,
                  "lon": null
                },
                {
                  "name": "CHEROKEE WATER SYSTEM-CHEROKEE WATER TREATMENT PLANT",
                  "address": "EASTERN BAND OF CHEROKEE INDIANS, CHEROKEE, NC, 28719",
                  "registry_id": "110012918806",
                  "county": null,
                  "naics": null,
                  "industry": null,
                  "compliance_status": "No Violation Identified",
                  "air": null,
                  "water": null,
                  "waste": null,
                  "drinking_water": "No Violation Identified",
                  "quarters_in_noncompliance": 3,
                  "inspections": 1,
                  "last_inspection": "02/26/2025",
                  "formal_actions": 0,
                  "penalties": "$0",
                  "lat": null,
                  "lon": null
                }
              ],
              "source": "EPA Enforcement and Compliance History Online (ECHO)"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "limit": {
                      "type": "string",
                      "description": "optional 1-25, default 8"
                    },
                    "q": {
                      "type": "string",
                      "description": "optional facility name text"
                    },
                    "state": {
                      "type": "string",
                      "description": "optional two-letter US state"
                    }
                  }
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "name_filter": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name filter"
                    },
                    "state": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "State or region"
                    },
                    "zip": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ZIP filter applied, if any"
                    },
                    "total_matches": {
                      "type": "number",
                      "description": "Total number of matches before any limit is applied"
                    },
                    "total_penalties": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Total penalties"
                    },
                    "count": {
                      "type": "number",
                      "description": "Number of items returned"
                    },
                    "facilities": {
                      "type": "array",
                      "description": "Facilities with name, address, industry, compliance status per program, inspections, formal actions and penalties",
                      "items": {
                        "type": "object",
                        "properties": {
                          "naics": {
                            "description": "NAICS industry code"
                          },
                          "industry": {
                            "description": "SIC industry description",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "air": {
                            "description": "Clean Air Act compliance status"
                          },
                          "water": {
                            "description": "Clean Water Act compliance status",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "waste": {
                            "description": "RCRA hazardous waste compliance status"
                          },
                          "inspections": {
                            "description": "Inspections in the last five years",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "penalties": {
                            "description": "Total penalties in the last five years",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "description": "Name"
                          },
                          "address": {
                            "description": "Account or contract address"
                          },
                          "registry_id": {
                            "description": "Registry id identifier"
                          },
                          "county": {
                            "description": "County"
                          },
                          "compliance_status": {
                            "description": "Compliance status"
                          },
                          "drinking_water": {
                            "description": "Drinking water"
                          },
                          "quarters_in_noncompliance": {
                            "description": "Quarters in noncompliance"
                          },
                          "last_inspection": {
                            "description": "Last inspection"
                          },
                          "formal_actions": {
                            "description": "Formal actions"
                          },
                          "lat": {
                            "description": "Latitude in decimal degrees"
                          },
                          "lon": {
                            "description": "Longitude in decimal degrees"
                          }
                        }
                      }
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "total_matches",
                    "facilities"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/epa/facilities?q=water&state=NC&limit=3",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "name_filter": "string",
    "state": "string",
    "zip": "string",
    "total_matches": 0,
    "total_penalties": "string",
    "count": 0,
    "facilities": [
      {
        "naics": null,
        "industry": "string",
        "air": null,
        "water": "string",
        "waste": null,
        "inspections": 0,
        "penalties": "string",
        "name": null,
        "address": null,
        "registry_id": null,
        "county": null,
        "compliance_status": null,
        "drinking_water": null,
        "quarters_in_noncompliance": null,
        "last_inspection": null,
        "formal_actions": null,
        "lat": null,
        "lon": null
      }
    ],
    "source": "string"
  }
}