RMP Database API

Public API endpoints for programmatic access to EPA Risk Management Program data. All endpoints return JSON unless otherwise noted.

Base URL: https://rmpmap.org

No authentication required. See API Terms of Use for usage guidelines and Data Documentation for how we handle deduplication.

GET/api/search

Search Facilities

Search and filter facilities with support for pagination, GeoJSON output, and multiple filter criteria.

Parameters

facilityName(string)Filter by facility name (partial match)
exactFacilityName(boolean)Use exact match for facility name
facilityId(string)Filter by EPA Facility ID
ParentCompanyName(string)Filter by parent company
city(string)Filter by city (case-insensitive)
state(string)Filter by state abbreviation (e.g., CA, TX)
zip(string)Filter by ZIP code
chemicals(number[])Filter by chemical IDs
programLevel(number)Filter by RMP program level (1, 2, or 3)
naicsCodes(string[])Filter by NAICS codes
hasAccidents(boolean)Only return facilities with accident history
accFromDate(YYYY-MM-DD)Accidents from date
accToDate(YYYY-MM-DD)Accidents to date
page(number)Page number (default: 1)
perPage(number|"all")Results per page (default: 20)
format(string)"geojson" for GeoJSON output, "ids" for ID list only
include(string)For GeoJSON: "facilities", "accidents", or "both"
GET/api/facilities/:id

Get Facility by ID

Get detailed information about a specific facility by EPA Facility ID.

Parameters

id(string)EPA Facility ID (path parameter)
GET/api/facilities/geo

Facilities GeoJSON

Get all facilities as GeoJSON FeatureCollection for map display. Supports bounding box filtering.

Parameters

minx(number)Bounding box west longitude
miny(number)Bounding box south latitude
maxx(number)Bounding box east longitude
maxy(number)Bounding box north latitude
GET/api/accidents/:id

Get Accident by ID

Get detailed information about a specific accident, including chemicals released, causes, and impacts.

Parameters

id(number)Accident History ID (path parameter)
GET/api/accidents/geo

Accidents GeoJSON

Get accidents as GeoJSON FeatureCollection. Defaults to last 5 years.

Parameters

range(string)"latest" (last 5 years) or "all"
minx(number)Bounding box west longitude
miny(number)Bounding box south latitude
maxx(number)Bounding box east longitude
maxy(number)Bounding box north latitude
GET/api/accidents/count

Accidents Count

Get count of accidents, optionally filtered.

GET/api/states

List States

Get list of all states with facility counts.

GET/api/states/:abbr

State Details

Get facilities summary for a specific state.

Parameters

abbr(string)State abbreviation (e.g., CA)
GET/api/export

Export CSV

Export facility data as CSV file download.

GET/api/data-version

Data Version

Get current data version info including export date and data coverage period.

API Terms of Use

The rmpmap.org API is free and open for public use. The data served by this API originates from the U.S. EPA Risk Management Program database, obtained via FOIA by the Data Liberation Project and licensed under CC BY-SA 4.0.

You are free to use this API to build applications, conduct research, create visualizations, or any other purpose. We ask that you:

  1. Credit the data chain: Attribute the Data Liberation Project and the EPA RMP Program in your work
  2. Respect ShareAlike: If you redistribute the data in bulk, use CC BY-SA 4.0 or a compatible license
  3. Don't overwhelm us: Rate limit your requests reasonably (we suggest 10 requests/second max; contact us for bulk access)
  4. Don't misrepresent: Don't present this data as official EPA output or imply government endorsement

No guarantees: This data is provided as-is. We make no warranty of accuracy, completeness, or fitness for any purpose.