Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

Secure .gov websites use HTTPS
A lock (LockA locked padlock) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

    • Environmental Topics
    • Air
    • Bed Bugs
    • Chemicals, Toxics, and Pesticide
    • Emergency Response
    • Environmental Information by Location
    • Health
    • Land, Waste, and Cleanup
    • Lead
    • Mold
    • Radon
    • Research
    • Science Topics
    • Water Topics
    • A-Z Topic Index
    • Laws & Regulations
    • By Business Sector
    • By Topic
    • Compliance
    • Enforcement
    • Guidance
    • Laws and Executive Orders
    • Regulations
    • Report a Violation
    • Environmental Violations
    • Fraud, Waste or Abuse
    • About EPA
    • Our Mission and What We Do
    • Headquarters Offices
    • Regional Offices
    • Labs and Research Centers
    • Planning, Budget, and Results
    • Organization Chart
    • EPA History

Breadcrumb

  1. Home
  2. Facility Registry Service (FRS)

FRS API

The FRS API exposes several REST services that allows developers to utilize a live feed of data from the FRS database. This web page is intended for a technical audience and describes the content and purpose of each service available. This is a collection of query-only or GET web services, that are available through a simple URL http link and provide output in either XML, JSON, or JSONP formats. 

Currently three services are available:
 
  • get_facilities
  • get_facilities_wbd
  • get_cd_11

get_facilities Service Specifications

get_facilities provides multiple selection criteria against FRS Facilities Data and their associated Program Facility Data.
  • Selection Criteria
  • Outputs
  • Example

Selection Criteria

Of the selection criteria listed below, those that have an Equal value under the Search Operator column will provide the best performance.  Examples are provided at the end of the section to illustrate how selection criteria can be combined.

Search TermVariable NameSearch OperatorOther
Facility Registry Idregistry_idEqual, Optional 
FRS Facility Namefacility_nameContains, OptionalFull text search on Program Name
Program Facility Nameprogram_nameContains, OptionalFull text search on Program Name
Street Addressstreet_addressContains, Optional

Because of the many variabilities involved with street address it is hard to use an address as a search criteria. May be able to provide an address parser to validate address if needed.  Suggest you limit to street base name if you want to do a search on street address.

Citycity_nameEqual, Optional 
Countycounty_nameEqual, Optional 
Zip Codezip_codeEqual, OptionalWill use only first 5 digits of zip code only
State Abbreviationstate_abbrEqual, Optional 
Program Acronympgm_sys_acrnmEqual, OptionalSee Appendix A for list of  Acronyms
Program System Idpgm_sys_idEqual, Optional 
Program Outputprogram_outputYes/No, OptionalDefault is no.  Controls whether or not the Program Facility object is output
Output FormatoutputXML, JSON, JSONP OptionalDefault is XML.
Call back JSONP FunctioncallbackOptionalDefault is callback.  Can only be used when the output value is JSONP
Latitude (NAD83)latitude83Equal, OptionalThe latitude coordinate, in decimal degrees format, using the US Standard NAD83 horizontal Datum.  Used in conjunction with Search Radius and Longitude (NAD83) to restrict facility selection to a spatial circle of the provide search radius around the provided spatial coordinate.  All 3 selection criteria  are required.
Longitude (NAD83)longitude83Equal, OptionalThe longitude coordinate, in decimal degrees format, using the US Standard NAD83 horizontal datum.  See Latitude (NAD83) description.
Search Radius (Miles)search_radiusMaximum, OptionalThe maximum search radius is 25 miles.  See Latitude (NAD83).
Coordinates Outputcoordinates_outputYes/No, OptionalA value of "Yes" will output all associated program coordinates for the facilities returned by the query.

Outputs

An XML, JSON, or JSONP formatted document with the following output:
For each facility returned there will be a FRS Facility complex object comprised of the following simple and complex objects.

Object NameObject Type
RegistryIdSimple
FacilityNameSimple
LocationAddressSimple
SupplementalLocationSimple
CityNameSimple
CountyNameSimple
StateAbbrSimple
ZipCodeSimple
FIPSCodeSimple
Latitude83Simple
Longitude83Simple
ProgramFacilitiesComplex (optional output)
Program FacilityComplex (child of ProgramFacilities – one for each program facility comprised of the following simple elements listed below.
ProgramSystemAcronymSimple
ProgramSystemIdSimple
ProgramFacilityNameSimple
ProgramCoordinatesComplex (optional output)
ProgramCoordinateComplex (optional output). Complex (child of ProgramCoordinates) – one for each program coordinate comprised of the following simple elements listed below. Data element definitions can be found in the V_GEO_PGM_COORDINATE_ALL view of the FRS Geospatial Data model at FRS Geospatial Data Model
ProgramSystemAcronymSimple
ProgramSystemISimple
SubIdSimple
ObjectIdSimple
Latitude83Simple
Longitude83Simple
HDatumSimple
BestPickSimple
CollectionMethodSimple
AccuracyValueSimple
AccuracyScoreSimple
ReferencePointSimple
DerivedCitySimple
DerivedCountySimple
DerivedZipSimple
DerivedWBDSimple
DerivedCB2010Simple
DerivedCD112Simple
MetersToBPSimple - the distance in Meters from the program coordinate to the Best Pick Coordinate

Example

URL for Facility Name Search containing “Mobil Oil” in State of Virginia, City of Newport News
https://ofmpub.epa.gov/frs_public2/frs_rest_services.get_facilities?state_abbr=VA&city_name=Newport%20News&facility_name=mobil%20oil

URL for searching SEMS (Superfund) facilities in zip code 60085, with the Program Facility Output turned on and JSON output.

https://ofmpub.epa.gov/frs_public2/frs_rest_services.get_facilities?pgm_sys_acrnm=SEMS&zip_code=60085&program_output=yes&output=JSON

URL for searching SEMS (Superfund) facilities within a 3 mile radius of latitude 38.8/longitude -77.01. 
https://ofmpub.epa.gov/frs_public2/frs_rest_services.get_facilities?latitude83=38.8&longitude83=-77.01&search_radius=3&pgm_sys_acrnm=SEMS&output=JSON


get_facilities_wbd Service Specifications

get_facilities_wbd returns USGS Watershed Boundary Dataset information for a passed FRS Facility or Program Facility Identifier.
  • Selection Criteria
  • Outputs
  • Example

Selection Criteria

Of the selection criteria listed below, those that have an “Equal” value under the Search Operator column will provide the best performance.  Examples are provided at the end of the section to illustrate how selection criteria can be combined.

Search TermVariable NameSearch OperatorOther
Registry IDregistry_idEqual, OptionalThe facility’s FRS Registry ID
Program Acronympgm_sys_acrnmEqual, OptionalSee Appendix A for list of  Acronyms
Program System IDpgm_sys_idEqual, OptionalThe program facility system identifier

Outputs

An XML, JSON, or JSONP formatted document with the following output:

Object NameObject TypeComments
RegistryIdSimpleThe facility’s FRS Registry Identifier
Chesapeake BaySimpleA Y value indicates the facility is within the Chesapeake Bay watershed
Region ComplexComplexLists the HUC 2 USGS Hydroregion number and name for the facility
SubregionComplexLists the HUC 4 USGS Sub-hydroregion number and name for the facility
Basin ComplexComplexLists the HUC 6 USGS Basin number and name for the facility
SubbasinComplexLists the HUC 8 USGS Sub-basin number and name for the facility
WatershedComplexLists the HUC 10 USGS Watershed number and name for the facility
SubwatershedComplexLists the HUC 12 USGS Sub-watershed number and name for the facility

Example

URL for a FRS Registry ID
https://ofmpub.epa.gov/frs_public2/frs_rest_services.get_facility_wbd?registry_id=110015778176


Appendix A

PGM_SYS_ACRNMPGM_SYS_ACRNM
ACESMD-RCRA
ACRESMD-TEMPO
AIRS/AFSME-EFIS
AIRS/AQSMI-DEQ
AZURITEMN-DELTA
BIA INDIAN SCHOOLMO-DNR
BRMS-ENSITE
BRACMT-CEDARS
CA-CERSNCDB
CA-ENVIROVIEWNC-FITS
CAMDBSNDEQ
CASWISND-FP
CDAFLPNEI
CEDRINH-DES
CEDSNJ-NJEMS
CIMNM-TEMPO
CNFRSNNEMS
CWNSNPDES
DENNV-FP
DTSC-ENVIROSTOROH-CORE
ECOMAPOR-DEQ
ECRMOSHA-OIS
E-GGRTOTAQREG
EGRIDPA-EFACTS
EIA-860PDS
EISPERMIT TRACKING
EPSRADINFO
FARRRBLC
FDMRCRAINFO
FFDOCKETREGION
FFEPRFS
FISRI-PLOVER
GEIMSRMP
HI-EHWSC-EFIS
HWTS-DATAMARTSEMS
ICISSFDW
IDDEQSIMS
IDNR_EFDSRPMICEMS
IN-FRSSSTS
IN-TEMPOSTATE
ISDSWIPR
KS-FPTRIS
KY-TEMPOTSCA
LA-TEMPOTX-TCEQ ACR
LMOPUORS
LUST-ARRAUST
MA-EPICSWA-FSIS
MD-EPSCWI-ESR
MD-PEMIS 

get_cd_111 Service Specifications

get_cd_111 returns the 111th Congress Identifier based on passed latitude/longitude geographic coordinates.
  • Selection Criteria
  • Outputs
  • Example

Selection Criteria

Of the selection criteria listed below, those that have an "Equal" value under the Search Operator column will provide the best performance.  Examples are provided at the end of the section to illustrate how selection criteria can be combined.

LatitudelatitudeEquals, RequiredIn decimal degrees
LatitudelatitudeEqual, OptionalIn decimal degrees
LongitudelongitudeEquals, RequiredIn decimal degrees
Horizontal DatumhdatumEqual, OptionalDefault is NAD83, WGS84 is also accepted

Outputs

An XML, JSON, or JSONP formatted document with the following output:

Object NameObject TypeComment
StateSimple 
CDSimpleCongressional District Number
CDNameSimpleCongressional District Name

Example

Example URL
https://ofmpub.epa.gov/frs_public2/frs_rest_services.get_cd_111?latitude=38.8&longitude=-77.01&hdatum=wgs84

Facility Registry Service (FRS)

  • FRS Home
  • FRS Description
    • FRS Data Sources
      • FRS Data Resource Updates Dashboard
    • FRS Physical Data Model
  • Search for FRS data
    • FRS Query
      • FRS Query Form's User Guide
    • Enforcement and Compliance History Online
    • Data Download Options
    • Geospatial Data Download Options
    • FRS Query Builder
    • FRS API
    • Intergovernmental FRS API
    • Envirofacts Multisystem Search
      • Envirofacts Data Service API
  • Facility Linkage Application (FLA)
    • Data Steward Resources
      • FLA Best Practices
      • FLA Training
Contact Us About FRS
Contact Us About FRS to ask a question, provide feedback, or report a problem.
Last updated on August 22, 2025
  • Assistance
  • Spanish
  • Arabic
  • Chinese (simplified)
  • Chinese (traditional)
  • French
  • Haitian Creole
  • Korean
  • Portuguese
  • Russian
  • Tagalog
  • Vietnamese
United States Environmental Protection Agency

Discover.

  • Accessibility Statement
  • Budget & Performance
  • Contracting
  • EPA www Web Snapshot
  • Grants
  • No FEAR Act Data
  • Plain Writing
  • Privacy
  • Privacy and Security Notice

Connect.

  • Data
  • Inspector General
  • Jobs
  • Newsroom
  • Regulations.gov
  • Subscribe
  • USA.gov
  • White House

Ask.

  • Contact EPA
  • EPA Disclaimers
  • Hotlines
  • FOIA Requests
  • Frequent Questions
  • Site Feedback

Follow.