Provenance
Freshness & coverage
Methods (6)
searchFacilities
readAll-media facility search → returns a QueryID + summary counts
Input schema
{ "type": "object", "properties": { "state": { "type": "string", "examples": [ "TX" ] }, "county": { "type": "string" }, "naics": { "type": "string", "examples": [ "211" ] }, "sic": { "type": "string" }, "bbox": { "type": "object", "properties": { "c1lat": { "type": "number" }, "c1lon": { "type": "number" }, "c2lat": { "type": "number" }, "c2lon": { "type": "number" } }, "additionalProperties": false }, "activeOnly": { "type": "boolean" } }, "additionalProperties": false }Filter by state, county, NAICS, SIC, or bbox; pass queryId to getFacilityRows.
getFacilityRows
readPage the facility rows for a QueryID (curated field subset)
Input schema
{ "type": "object", "properties": { "queryId": { "type": "string", "examples": [ "..." ] }, "service": { "type": "string" }, "pageno": { "type": "number", "examples": [ 1 ] }, "limit": { "type": "number" } }, "additionalProperties": false }queryId required; service optional; page default 1; limit caps 1000.
getDetailedFacilityReport
readFull Detailed Facility Report by RegistryID (compliance history, enforcement, permits)
Input schema
{ "type": "object", "properties": { "registryId": { "type": "string", "examples": [ "110000350053" ] } }, "additionalProperties": false }Args: registryId (the RegistryID / FRS ID from a facility row).
searchAirFacilities
readCAA (Clean Air Act) media facility search → QueryID + CAA summary
Input schema
{ "type": "object", "properties": { "state": { "type": "string", "examples": [ "TX" ] }, "county": { "type": "string" }, "naics": { "type": "string" }, "sic": { "type": "string" }, "bbox": { "type": "object", "properties": { "c1lat": { "type": "number" }, "c1lon": { "type": "number" }, "c2lat": { "type": "number" }, "c2lon": { "type": "number" } }, "additionalProperties": false }, "activeOnly": { "type": "boolean" } }, "additionalProperties": false }Args: state (p_st), bbox.
searchWaterFacilities
readCWA/NPDES (Clean Water Act) media facility search → QueryID + CWA summary
Input schema
{ "type": "object", "properties": { "state": { "type": "string", "examples": [ "TX" ] }, "county": { "type": "string" }, "naics": { "type": "string" }, "sic": { "type": "string" }, "bbox": { "type": "object", "properties": { "c1lat": { "type": "number" }, "c1lon": { "type": "number" }, "c2lat": { "type": "number" }, "c2lon": { "type": "number" } }, "additionalProperties": false }, "activeOnly": { "type": "boolean" } }, "additionalProperties": false }Args: state (p_st), bbox.
getServiceInfo
readStatic API overview — the get_facility_info→QueryID→get_qid two-step, filters, media services
Input schema
{ "type": "object", "properties": {}, "additionalProperties": false }
