US EPA ECHO (Enforcement and Compliance History Online) API

How to connect US EPA ECHO (Enforcement and Compliance History Online) to Grok Bot

Add the Firecrawl plugin to Grok Bot once and it can call the US EPA ECHO (Enforcement and Compliance History Online) API and every other provider in Firecrawl Alexandria, with no US EPA ECHO (Enforcement and Compliance History Online) integration code.

Open Markdown

To connect US EPA ECHO (Enforcement and Compliance History Online) to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for US EPA ECHO (Enforcement and Compliance History Online) data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.

Grok Bot uses US EPA ECHO (Enforcement and Compliance History Online) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for US EPA ECHO (Enforcement and Compliance History Online).

Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect US EPA ECHO (Enforcement and Compliance History Online) to Grok Bot?

  1. Add the Firecrawl plugin

    In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

    Grok Bot's Connect Apps window with Firecrawl and its Connect button
  2. Connect your Firecrawl account

    Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen for the Grok Bot plugin, with the team picker and Authorize button
  3. Ask your Bot for the data

    In a chat, ask in plain language and mention US EPA ECHO (Enforcement and Compliance History Online) or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:

    Use Firecrawl to answer this: Which auto parts factories in Fairfield, Ohio have had environmental violations in the last three years, and what penalties did they pay?

What can Grok Bot do with US EPA ECHO (Enforcement and Compliance History Online)?

EPA's Enforcement and Compliance History Online: search regulated facilities (factories, refineries, power plants, waste handlers, water systems) by place, radius, industry code, id or compliance status; read a facility's Detailed Facility Report (permits, inspections, violations by quarter, notices, formal actions, penalties, enforcement cases, TRI releases); search EPA and state civil enforcement cases and read a case's report (laws, defendants, facilities, settlements, SEPs). Also reads per-state SDWA public water system rows straight out of the published bulk download zips by HTTP Range, and reports the version of any national ECHO download file. Live ECHO REST services, no key.

Grok Bot can run any of US EPA ECHO (Enforcement and Compliance History Online)'s 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Facility report: ECHO Detailed Facility Report for one facility, by FRS registry id, program system id (NPDES permit, ICIS-Air id, RCRA handler id, SDWA PWSID, TRI id) or a pasted https://echo.epa.gov/detailed-facility-report?fid=... link: identity and location, every program permit, NAICS and SIC codes by system, the per-statute compliance summary (3-year noncompliance and SNC quarters, 5-year inspections, informal and formal actions, cases, penalties), 12-quarter status grids, violations found per quarter (CAA, RCRA, SDWA rules, CWA effluent exceedances), the newest inspections, notices of violation, formal actions with penalties, enforcement cases with settlements, and Toxics Release Inventory totals by year. Long lists keep the newest 20 (violations 40) with full counts in totals. One ECHO request. Costs 5 Firecrawl credits per call.
  • Search facilities: Search EPA's ECHO registry of regulated facilities (about 1.5 million sites: factories, refineries, power plants, hazardous waste handlers, water systems) by name, place, a radius around a point, NAICS or SIC industry code, FRS or program id, and compliance filters. Each row is one FRS facility: address, coordinates, industry codes, program ids (CAA, CWA NPDES, RCRA, SDWA, TRI, GHG and more), current compliance status and the 3-year quarterly history per program, 5-year counts of inspections, informal and formal actions, penalties and federal cases, and the link to its Detailed Facility Report. The response also counts how many of all matches are significant violators, inspected, penalized and so on. ECHO refuses searches matching more than about 100,000 facilities (invalid_input, code too_broad). Two ECHO requests per call. Costs 5 Firecrawl credits per call.
  • Enforcement case: One civil enforcement case report, by case number (e.g. 03-1999-0365, or a state case such as IN000A200294613) or a pasted https://echo.epa.gov/enforcement-case-report?id=... link: case type, status, lead agency, outcome, EPA's case summary, laws and sections, citations, milestones, defendants as named in the complaint and settlement, pollutants, the facilities covered with FRS ids (first 25), and each settlement with penalties, supplemental environmental projects, complying actions and pollutant reductions. Criminal case numbers (CR_...) are refused. One ECHO request. Costs 5 Firecrawl credits per call.
  • Search enforcement cases: Search EPA and state civil enforcement cases (ICIS judicial and administrative formal cases) by company, facility or defendant name, FRS registry id, facility state, city or ZIP, NAICS, statute (CAA, CWA, RCRA, SDWA, EPCRA, CERCLA, FIFRA, TSCA, MPRSA), category, lead agency, a date range matching any case milestone, and a minimum federal penalty. Each row has the case number and name, status, primary law and section, filed, lodged, settled and closed dates, outcome, federal and state penalties, SEP and compliance action costs, pollutants and the case report link. Criminal cases are not served. Two ECHO requests per call. Costs 5 Firecrawl credits per call.
  • Records get: One row by the source's own id: a PWSID for pws (SDWA_PUB_WATER_SYSTEMS.csv, unique) or system_search (SDWA_SYSTEM_SEARCH.csv), a GEO_ID for geographic_areas. Reads the member from the zip by HTTP Range and stops at the first match; codes are decoded through SDWA_REF_CODE_VALUES.csv. service_areas has no unique key and is not supported here. Unknown id: not_found. Costs 5 Firecrawl credits per call.
  • Records list: Rows of one SDWA table for one state (PWSID prefix), paginated by row offset with a cursor pinned to the zip's ETag and size. Each page re-reads the member from the zip by HTTP Range (SDWA_PUB_WATER_SYSTEMS.csv 25.8 MB compressed, SDWA_GEOGRAPHIC_AREAS.csv 6.4 MB, SDWA_SERVICE_AREAS.csv 2.5 MB, SDWA_SYSTEM_SEARCH.csv 35 MB in two ranges), stream-inflates it and keeps the rows whose PWSID starts with `state`; `record_count` is the member's national row count and `matching_count` the state's. A cursor whose pinned ETag or size no longer matches fails with invalid_input and issue code `publication_changed`: restart without a cursor. Codes of pws, geographic_areas and service_areas are decoded through SDWA_REF_CODE_VALUES.csv into `decoded`. The six administrative contact columns are dropped. Segment key: `state` (two-character PWSID prefix; EPA region codes such as 08 and tribal primacy codes are prefixes too). Costs 5 Firecrawl credits per call.
  • Source status: Cheap version check of one ECHO download file: HEAD for Content-Length, Last-Modified and ETag (publication_id = <file>:<ETag>); for the two SDWA zips also the zip central directory (members, sizes, CRC-32) and, for `sdwa`, the SDWIS row of the about-the-data refresh schedule (date extracted, expected next extract). Files this program serves no rows from (echo_exporter, npdes, rcra, sdwa_all_fields, any other .zip in the directory) come back as a hand-off: URL, size and ETag for a downstream download. No checksum is published. Costs 5 Firecrawl credits per call.

What should I ask Grok Bot?

Name US EPA ECHO (Enforcement and Compliance History Online) or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.

  • Use Firecrawl to answer this: Which auto parts factories in Fairfield, Ohio have had environmental violations in the last three years, and what penalties did they pay?
  • Use Firecrawl to answer this: Has EPA or Ohio taken enforcement action against Honda, and what did the settlements require?
  • Use Firecrawl to show the air emissions, inspections and compliance status of Core Molding Technologies' Columbus plant.
  • Use Firecrawl to list manufacturers (NAICS 31-33) within 10 miles of downtown Columbus, Ohio that are in significant noncompliance.

Troubleshooting

Why doesn't my Bot use US EPA ECHO (Enforcement and Compliance History Online)?

Attach Firecrawl to the chat with @ before you ask, and name US EPA ECHO (Enforcement and Compliance History Online) or Firecrawl Alexandria in the prompt.

Add to Grok Bot doesn't open the app. What should I do?

Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.

Use US EPA ECHO (Enforcement and Compliance History Online) in other AI apps

The same Firecrawl account reaches US EPA ECHO (Enforcement and Compliance History Online) from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Grok Bot

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into Grok Bot, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, US EPA ECHO (Enforcement and Compliance History Online) among them. Each provider returns structured data through documented capabilities. Grok Bot finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a US EPA ECHO (Enforcement and Compliance History Online) MCP server for Grok Bot?

Grok Bot reaches US EPA ECHO (Enforcement and Compliance History Online) through Firecrawl's hosted MCP server, which serves US EPA ECHO (Enforcement and Compliance History Online) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for US EPA ECHO (Enforcement and Compliance History Online).

What does connecting US EPA ECHO (Enforcement and Compliance History Online) to Grok Bot unlock?

Grok Bot can run all 7 of US EPA ECHO (Enforcement and Compliance History Online)'s capabilities, including Facility report, Search facilities and Enforcement case, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: Which auto parts factories in Fairfield, Ohio have had environmental violations in the last three years, and what penalties did they pay?" In the same conversation, Grok Bot can combine US EPA ECHO (Enforcement and Compliance History Online) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own US EPA ECHO (Enforcement and Compliance History Online) account or API key to use it in Grok Bot?

No. Grok Bot calls US EPA ECHO (Enforcement and Compliance History Online) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate US EPA ECHO (Enforcement and Compliance History Online) account or API key.

How much does it cost to use US EPA ECHO (Enforcement and Compliance History Online) in Grok Bot?

Each US EPA ECHO (Enforcement and Compliance History Online) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Grok Bot, and finding the right capability is free.

Can Grok Bot use other providers besides US EPA ECHO (Enforcement and Compliance History Online)?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use US EPA ECHO (Enforcement and Compliance History Online) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same US EPA ECHO (Enforcement and Compliance History Online) capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options