---
title: "Resource Conservation and Recovery Act (RCRA) Facility Search Service"
method: GET
path: "/rcra_rest_services.get_facilities"
tags: ["Resource Conservation and Recovery Act"]
---

# Resource Conservation and Recovery Act (RCRA) Facility Search Service

`GET /rcra_rest_services.get_facilities`

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

## Query parameters

- `output` 'JSONP' | 'JSON' | 'XML'
- `p_fn` string
- `p_sa` string
- `p_sa1` string
- `p_ct` string
- `p_co` string
- `p_fips` string
- `p_st` string
- `p_stdist` string
- `p_zip` string
- `p_frs` string
- `p_reg` '01' | '02' | '03' | '04' | '05' | '06' | '07' | '08' | '09' | '10'
- `p_sic` string
- `p_ncs` string
- `p_pen` string
- `p_c1lat` number
- `p_c1lon` number
- `p_c2lat` number
- `p_c2lon` number
- `p_usmex` 'Y' | 'N'
- `p_sic2` string
- `p_sic4` string
- `p_fa` string
- `p_act` 'Y' | 'N' | 'A'
- `p_fea` 'W' | 'N'
- `p_feay` 1 | 2 | 3 | 4 | 5
- `p_feaa` 'A' | 'E' | 'S'
- `p_iea` 'W' | 'N'
- `p_ieay` 1 | 2 | 3 | 4 | 5
- `p_ieaa` 'E' | 'S'
- `p_cmps` string
- `p_law` string
- `p_section` string
- `p_qiv` '0' | 'GT1' | 'GT2' | 'GT4' | 'GT8' | '12'
- `p_impw` 'Y' | 'N'
- `p_trep` 'CURR' | 'NOTCURR'
- `p_olr` string
- `p_oct` 'Z' | 'GT0' | 'GT1000' | 'GT5000' | 'GT10000' | 'GT20000' | 'GT50000'
- `p_trichem` string
- `p_tri_lr_pol` string
- `p_tri_lr_yr` string
- `p_tri_lr_amt` string
- `p_pm` 'NONE' | 'GT5' | 'GT10' | 'GT25' | 'GT50' | 'GT75'
- `p_pd` 'NONE' | 'GT100' | 'GT500' | 'GT1000' | 'GT5000' | 'GT10000' | 'GT20000'
- `p_ico` 'Y' | 'N'
- `p_huc` string
- `p_wbd` string
- `p_pid` string
- `p_med` 'A' | 'M' | 'R' | 'S' | 'W' | 'ALL'
- `p_owc` string
- `p_owd` string
- `p_opc` string
- `p_opd` string
- `p_ysl` 'W' | 'N' | 'NV'
- `p_ysly` 1 | 2 | 3 | 4 | 5
- `p_ysla` 'E' | 'S' | 'A'
- `p_qs` string
- `p_sfs` string
- `p_tribeid` number
- `p_tribename` string
- `p_tribedist` number
- `p_owop` 'PRIVATE' | 'PUBLIC' | 'FEDERAL'
- `p_agoo` 'AND' | 'OR'
- `p_idt1` string
- `p_idt2` string
- `p_pityp` string
- `p_cifdi` 'Any' | 'Yes' | 'No' | 'Undetermined'
- `p_pfead1` string
- `p_pfead2` string
- `p_pfeat` string
- `p_psncq` 'GT1' | 'GE1' | 'GT2' | 'GE2' | 'GT4' | 'GE4' | 'GT8' | 'GE8' | 'GT12' | 'GE12'
- `p_dwd` '0' | 'GT0' | 'GT1000' | 'GT5000' | 'GT10000' | 'GT20000' | 'GT50000'
- `p_violy` 1 | 2 | 3
- `p_ncv` string
- `p_fcv` string
- `p_violt` string
- `p_des` string
- `p_fntype` 'ALL' | 'CONTAINS' | 'EXACT' | 'BEGINS'
- `p_pidall` 'Y' | 'N'
- `p_fac_ico` 'Y' | 'N'
- `p_icoo` string
- `p_fac_icos` string
- `p_ejscreen` string
- `p_limit_addr` 'Y' | 'N'
- `p_lat` number
- `p_long` number
- `p_radius` number
- `p_decouple` 'Y' | 'N'
- `p_ejscreen_over80cnt` '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11'
- `queryset` number
- `responseset` number
- `tablelist` 'Y' | 'N'
- `maplist` 'Y' | 'N'
- `summarylist` 'Y' | 'N'
- `callback` string
- `qcolumns` string

## Response `200`

Results are summary statistics for the query and a query identifier (QID).

- object — Root Object
  - `Results` Rcra04, required — Results Object
    - `BadSystemIDs` string, required — Identifies which passed query system identifiers are invalid.
    - `CVRows` string, required — Summary count of the number of CWA facilities or SDWA public drinking water systems with current violations.
    - `FEARows` string, required — Summary count of the number of facilities with a formal enforcement action in the past five years
    - `Facilities` Rcra01[] — A complex array of facility information.
      - `AIRIDs` string, required — Air Facility System (AFS) ID.
      - `ActiveLower48` string, required — A Y/N indicator indicating that the facility is active and located within the lower 48 contiguous US States.
      - `CWAIDs` string, required — A unique ID assigned for each record/permit/site/facility within ICIS-NPDES. These identifiers are for used tracking purposes in the individual data systems.
      - `CalculatedAccuracyMeters` string, required — The estimated accuracy in Meters for the facility's geospatial coordinate.
      - `CensusBlockGroup` string, required — A geographic unit used by the United States Census Bureau, generally defined to contain between 600 and 3,000 people.
      - `ChemNamesRelLand` string, required — It is an aggregated field containing all the names found for the current reporting year (2017).
      - `ChesapeakeBayFlag` string, required — Displays "Y" if the facility is located within the Chesapeake Bay watershed.
      - `CleanupActionFlag` string, required
      - `CollectionMethod` string, required — ??
      - `CurrSvFlag` string, required — Indicates if the facility has a current significant violation. 1 = Yes
      - `CurrVioFlag` string, required — Indicates if the facility has a current violation. 1 = Yes
      - `CurrentVioCnt` string, required
      - `DateLastRecordReview` string, required
      - `EPASystem` string, required — The EPA data system in which permit and facility records are kept. EPA's Facility Registry System (FRS) links all program database records (such as permit IDs and IDs facilities use in reporting to EPA) together. The following list describes the individual data systems that are linked to from the detailed facility report: - AFS: Air Facility System for Clean Air Act stationary source programs. - ICP: Integrated Compliance Information System for Clean Water Act programs monitoring National Pollutant Discharge Elimination System (NPDES) permits. - RCR: Resource Conservation and Recovery Act Information System (RCRAInfo) for tracking the Resource Conservation and Recovery Act (RCRA) programs. - NCDB: National Compliance Database System for monitoring national performance of the Toxic Substance Control Act (TSCA); the Emergency Planning and Right-to-Know Act, Section 313 (EPCRA); the Asbestos Hazard Emergency Response (AHERA); and the Federal Insecticide, Fungicide, and Rodenticide Act (FIFRA). - TRI: Toxics Release Inventory for Emergency Planning and Community Right-to-Know Act, Section 313 submissions. - NEI: National Emissions Inventory database contains information on stationary and mobile sources that emit criteria air pollutants and their precursors, as well as hazardous air pollutants (HAPs). The database includes estimates of annual emissions, by source, of air pollutants in each area of the country, on an annual basis. - TSCA: Toxic Substances Control Act addressing the production, importation, use, and disposal of specific chemicals.
      - `Ea5yrFlag` string, required — Indicates if the facility has a formal enforcement action within the last 5 years. 1 = Yes
      - `EjscreenFlag` string, required — A Y/N indicator identifying whether or not the facility is within an Environmental Justice area.
      - `EjscreenFlagUs` string, required — A Y/N indicator identifying whether or not the facility is within an Environmental Justice area.
      - `FacCountyName` string, required — The facility county name from EPA's Facility Registry System
      - `FacDerivedHuc` string, required — The 8-digit Hydrologic Unit Code (HUC) of the watershed in which the facility resides. A HUC number is assigned to every watershed in the nation and uniquely identifies the watershed.
      - `FacDerivedTRIbes` string, required — The tribes or tribal territories located within 25 miles of the facility's location.
      - `FacDerivedWBD` string, required — The Hydrologic Unit Code (HUC-12) of the waterbody in which the facility resides, derived based on location data in FRS.
      - `FacDerivedWBDName` string, required — The 12 digit Watershed Boundary Dataset Name derived from the FRS Best Pick Coordinate
      - `FacFIPSCode` string, required — The 2-digit Federal Information Processing Standards (FIPS) code to identify the county that a facility is located in.
      - `FacFederalAgencyCode` string, required — Indicates the federal agency, as classified in FRS. Federal agencies are installations that are owned and operated by the U.S. government. The five-character code consists of a letter followed by four numbers. There are four possible letters that can occupy the first character position: C = Civilian Federal Agency; D = Department of Defense; E = Department of Energy; X = Unknown. The second and third characters represent the agency code, while the fourth and fifth characters represent the bureau code.
      - `FacFederalAgencyName` string, required — Indicates the name of the federal agency, as classified in FRS. Federal agencies are installations that are owned and operated by the U.S. government.
      - `FacIndianCntryFlg` string, required — Flag showing Y/N whether the facility is located in Indian Country.
      - `FacIndianSpatialFlg` string, required — Returns “Y” if a facility is located within a tribal spatial boundary as defined by the U.S. Census Bureau 2010 tribal boundary layer data for tribes in the lower 48 states and Bureau of Land Management Alaska State Office data for native villages in Alaska. Returns “N” if a facility is not located within a tribal or native Alaskan village area.
      - `FacLat` string, required — The latitude of the facility in decimal degrees expressed using the NAD83 horizontal datum. The coordinate comes from the FRS EPA Locational Reference Tables (LRT) file which represents the most accurate value for the facility based on the available spatial metadata.
      - `FacLong` string, required — The longitude of the facility in decimal degrees expressed using the NAD83 horizontal datum. The coordinate comes from the FRS EPA Locational Reference Tables (LRT) file which represents the most accurate value for the facility based on the available spatial metadata.
      - `FacMapFlg` string, required — Graphical indicator denoting whether geographical data required to map a facility are available.
      - `FacMapIcon` string, required — The default map icon image file calculated for the facility by the ECHO program.
      - `FacPercentMinority` string, required — Percent Minority is the percentage of the population of the given area that is considered minority. Statistics are shown for the area within a 3-mile radius of each facility.
      - `FacPopulationDensity` string, required — The number of persons per square mile in the profiled area.
      - `FacSICCodes` string, required — Indicates the facility’s or permit's primary Standard Industrial Classification (SIC) Code. The SIC code describes the primary activity of the facility.
      - `FacStdCountyName` string, required — The standardized facility county name from EPA's Facility Registry System
      - `FacTRILandReleases` string, required
      - `FacTRIOffSiteTransfers` string, required
      - `FacTRIOnSiteReleases` string, required
      - `FacTRIReporter` string, required — Indicates whether facility reported to the Toxics Release Inventory (TRI) for the most recent reporting year.
      - `FacUsMexBorderFlg` string, required — A Y/N flag indicating that the facility is within 100KM of the US-Mexico Border.
      - `Infea5yrFlag` string, required — Indicates if the facility has an informal enforcement action within the last 5 years. 1 = Yes.
      - `Insp5yrFlag` string, required — Indicates if the facility has an inspection within the last 5 years. 1 = Yes
      - `LastViolationDate` string, required
      - `Lower48` string, required — Flag showing Y/N whether location is within the contiguous (lower 48) United States.
      - `Map` string, required — No Longer Used.
      - `MaxPctileUs` string, required — The maximum percentile from all individual EJSCREEN indicators.
      - `MaxScore` string, required — A sorting score for internal use.
      - `OperatorCode` string, required
      - `OperatorDesc` string, required
      - `Over80CountUs` string, required — The number of primary EJSCREEN environmental justice (EJ) indexes exceeding the 80th or higher national percentile for the Census block group that the facility is located in.
      - `OwnerCode` string, required
      - `OwnerDesc` string, required — Description of Owner code
      - `PctileCancerUs` string, required — The national percentile of the census block group for the EJSCREEN NATA air toxics cancer risk indicator.
      - `PctileDpmUs` string, required — The national percentile of the census block group for the EJSCREEN diesel particulate matter indicator.
      - `PctileO3Us` string, required — The national percentile of the census block group for the EJSCREEN ozone indicator.
      - `PctilePctpre1960Us` string, required — The national percentile of the census block group for the EJSCREEN Lead paint indicator.
      - `PctilePmUs` string, required — The national percentile of the census block group for the EJSCREEN particulate matter indicator.
      - `PctileProximityNPDESUs` string, required — The national percentile of the census block group for the EJSCREEN proximity to major direct water dischargers indicator.
      - `PctileProximityNplUs` string, required — The national percentile of the census block group for the EJSCREEN proximity to National Priorities List (NPL) sites indicator.
      - `PctileProximityRmpUs` string, required — The national percentile of the census block group for the EJSCREEN proximity to Risk Management Plan (RMP) sites indicator.
      - `PctileProximityTsdfUs` string, required — The national percentile of the census block group for the EJSCREEN proximity to Treatment Storage and Disposal Facilities (TSDFs) indicator.
      - `PctileRespUs` string, required — The national percentile of the census block group for the EJSCREEN NATA respiratory hazard index indicator.
      - `PctileTrafficScoreUs` string, required — The national percentile of the census block group for the EJSCREEN Traffic proximity and volume indicator.
      - `RCRA3yrComplQtrsHistory` string, required — The system's 3-year compliance status history by quarter (3-month period) entered in the RCRA program database. Each character represents a quarter of compliance, going from oldest to most recent. Character values correspond to the following compliance statuses: _ -�No Violation V -�Violation S -�Significant Violation U - Undetermined
      - `RCRACaseIDs` string, required
      - `RCRACity` string, required
      - `RCRAComplStatus` string, required
      - `RCRACounty` string, required
      - `RCRADaysLastInspection` string, required
      - `RCRAEPARegion` string, required
      - `RCRAFIPSCode` string, required
      - `RCRAFeaCnt` string, required
      - `RCRAIDs` string, required — A unique 12-character ID assigned for each record/permit/site/facility within the RCRAInfo database.
      - `RCRAIeaCnt` string, required
      - `RCRAImpWaterFlg` string, required
      - `RCRAIndianCntryFlg` string, required
      - `RCRAInspCnt` string, required
      - `RCRALandTypeCode` string, required
      - `RCRALastFeaDate` string, required
      - `RCRALastFeaDateEPA` string, required
      - `RCRALastFeaDateState` string, required
      - `RCRALastIeaDate` string, required
      - `RCRALastIeaDateEPA` string, required
      - `RCRALastIeaDateState` string, required
      - `RCRALastInspDateEPA` string, required
      - `RCRALastInspDateState` string, required
      - `RCRALastInspectionDate` string, required
      - `RCRALastPenaltyDate` string, required — Indicates the date on which the most recent assessed (or final) penalty was taken against the facility, entered in the RCRAInfo program database.
      - `RCRAMapIcon` string, required
      - `RCRANAICS` string, required — The RCRA permit's primary North American Industry Classification System (NAICS) Code.
      - `RCRAName` string, required
      - `RCRAOldestOpenVioDate` string, required
      - `RCRAPenalties` string, required — The total dollar amount of assessed (or final) penalties taken against the facility within the last five years, entered in the RCRAInfo program database.
      - `RCRAQtrsWithNC` string, required — The number of quarters, out of the last twelve quarters, in which the RCRA permit is considered in violation.
      - `RCRAQtrsWithSNC` string, required
      - `RCRASNC` string, required
      - `RCRAState` string, required
      - `RCRAStateDistrict` string, required
      - `RCRAStatus` string, required
      - `RCRAStreet` string, required
      - `RCRATRIbalLandCode` string, required
      - `RCRAUniverse` string, required
      - `RCRAViolationTypes` string, required
      - `RCRAZip` string, required
      - `RCRAinfoLandTypeCode` string, required
      - `RCRAinfoLandTypeDesc` string, required
      - `ReferencePoint` string, required — ??
      - `RegistryID` string, required — An internal 12-digit Facility Registry Service (FRS) tracking number used to tie all facility data together in EPA regulatory program databases.
      - `RmpIDs` string, required — A unique ID assigned to each facility submitting a Risk Management Plan to EPA under the Risk Management Plan Rule.
      - `SDWAIDs` string, required — A unique 9-character ID assigned for each public water system within the Safe Drinking Water Information System (SDWIS).
      - `Score` string, required
      - `SemsIDs` string, required
      - `SourceID` string, required — Unique Identifier assigned by EPA.
      - `Statute` string, required — The name of the statute associated with each of the permits and identifiers linked to the facility: - CAA = the Clean Air Act - CWA = the Clean Water Act - RCRA = the Resource Conservation and Recovery Act - EP313 = the Emergency Planning and Community Right-to-Know Act, Section 313 (also known as the Toxics Release Inventory Program) - TSCA = the Toxic Substances Control Act - SDWA = the Safe Drinking Water Act
      - `TRIIDs` string, required — A unique 15-character ID assigned for each facility within the Toxics Release Inventory (TRI) program. The format is ZZZZZNNNNNSSSSS, where ZZZZZ = ZIP code, NNNNN = the first 5 consonants of the name, and SSSSS = the first 5 non-blank non-special characters in the street address.
      - `TRIbalFlag` string, required — A flag indicating that the facility is within a tribal area.
      - `Tsdf` string, required
      - `ViolFlag` string, required — Indicates if the facility had a violation within the last 3 years. 1 = Yes
      - `WebDocs` string, required — Contains flags that identify what web accessible documents are available for the facility.
    - `INSPRows` string, required — Number of facilities with insp_5yr_flag populated (CWP_DATE_LAST_INSPECTION)
    - `IndianCountryRows` string, required — Number of facilities with tribal_flag populated
    - `InfFEARows` string, required — Number of facilities with infea_5yr_flag populated (INFORMAL_ENF_ACT_COUNT > 0)
    - `MapOutput` Rcra03 — Map Output Object
      - `IconBaseURL` string, required — URL where all the icons are located
      - `MapData` Rcra02[], required — An array of facility geospatial information.
        - `FormalCount` string, required — The number of formal enforcement actions that have been taken against the facility
        - `ICON` string, required — Name of each individual icon file within the URL base
        - `InformalCount` string, required — The number of informal enforcement actions that have been taken against the facility
        - `LAT` string, required — The latitude of the facility in degrees, to four decimal places
        - `LON` string, required — The longitude of the facility in degrees, to four decimal places
        - `LastInsp` string, required — The unique identifier for the last inspection
        - `NAME` string, required — For DFR, this is the Facility name. The name corresponds to the TYPE value
        - `PUV` string, required — Pop up value. Combine with PopUpBaseURL to give the popup for the facility
        - `RCRAstatus` string, required — The facility's 3-year compliance status history by quarter (3-month period) entered in the RCRAInfo program database. Each character represents a quarter of compliance, going from oldest to most recent. Character values correspond to the following compliance statuses: _ -�No Violation V -�Violation S -�Significant Violation U - Undetermined
        - `TYPE` string, required — For DFR, this is always facility
      - `PopUpBaseURL` string, required — Combine this URL with the PUC to get popup info
      - `QueryID` string, required — Sequential number assigned to entire search result
    - `Message` string, required — Field to record messages (typically performance-related) about packet processing
    - `PageNo` string, required — The number of pages of results returned
    - `QueryID` string, required — Sequential number assigned to entire search result
    - `QueryRows` string, required — Number of query results returned
    - `SVRows` string, required — Number of facilities with curr_sv_flag populated (CWP_STATUS = "Significant Violation")
    - `TotalPenalties` string, required — The total dollar amount of either assessed or final penalties within the five year time period
    - `V3Rows` string, required — Number of facilities having one or more quarters in non-compliance (QNC) in the last three years

---

[API](https://skmtc.net/usepa/apis/rcra.md) · [All operations](https://skmtc.net/usepa/apis/rcra/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepa/rcra/versions/2707810f0877/schema)
