Recreation Information Database API
Overview
The Recreation Information Database (RIDB) API gives you access to data about federal recreational areas, campgrounds, permits, historic sites, and visitor facilities across the United States. An API key is required and free to obtain from recreation.gov. It is a great resource for building outdoor adventure apps, trip planners, or campground finders.
Beginner Tip
Register for a free API key at https://ridb.recreation.gov/register and use it in the apikey query parameter. Start by calling /recareas to list recreation areas, then drill into facilities and campsites using the facility ID.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Recreation Information Database",
"description": "Recreational areas, federal lands, historic sites, museums, and other attractions/resources(US)",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
RECDATA Array of recreation area or facility records returned by the query RecAreaID Unique identifier for the recreation area, used to query related facilities RecAreaName Official name of the recreation area RecAreaDescription Text description of the recreation area and what visitors can expect GEOJSON Geographic coordinates (latitude/longitude) of the area as a GeoJSON point METADATA.RESULTS.TOTAL_COUNT Total number of records matching the query across all pages Implementation Example
const url = "https://ridb.recreation.gov/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Black History Facts
⭐ Beginner's PickThe Black History Facts API gives you access to one of the largest databases of Black history facts on the web.
CARTO
CARTO is a geospatial platform API that provides location intelligence and data analysis tools for mapping and prediction.
Enigma Public
Enigma Public is a platform that aggregates a broad collection of public datasets from government and other sources into a single searchable API.
Joshua Project
The Joshua Project API provides data on people groups around the world, focusing on those with the fewest followers of Christ for missionary research purposes.
Kaggle
Kaggle provides programmatic access to create and interact with datasets, notebooks, and connect with kaggle via REST API.