> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Recreation.gov RIDB

> The Recreation Information Database behind Recreation.gov: US federal recreation areas, facilities (campgrounds, trails, ranger stations), campsites, permits, tours, activities and events.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/ridb.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=abf76c63f90ca9499046f93cc7f7b188)

[Web Catalog · Commerce](https://docs.webrouter.net/data-apis.md?category=commerce)

Needs&#x20;

`RIDB_API_KEY`

Endpoints

9

Auth

Key in header

[Vendor docs](https://ridb.recreation.gov/docs)

## Setup

| Variable | | What it is |
| - | - | - |
| `RIDB_API_KEY` | required | your RIDB API key (ridb.recreation.gov), sent in the apikey header |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* List responses wrap records in RECDATA with paging in METADATA; page with limit (max 50) and offset.
* Rate limit: 50 requests per second.

## Endpoints

GET

Search recreation areas

Recreation areas (parks, forests, lakes) by text, state, activity or distance from a point.

[Open](#ridb-recareas-search)

GET

Get a recreation area

One recreation area by id.

[Open](#ridb-recareas-get)

GET

Search facilities

Facilities (campgrounds, trails, visitor centres) by text, state, activity or distance from a point.

[Open](#ridb-facilities-search)

GET

Get a facility

One facility by id.

[Open](#ridb-facilities-get)

GET

List a recreation area's facilities

Facilities inside one recreation area.

[Open](#ridb-recareas-facilities)

GET

List a facility's campsites

Campsites of one facility (campground).

[Open](#ridb-facilities-campsites)

GET

Get a campsite

One campsite by id, with its attributes.

[Open](#ridb-campsites-get)

GET

List activities

The activity codes (camping, boating, ...) used as filters.

[Open](#ridb-activities-list)

GET

List events

Events at recreation areas and facilities.

[Open](#ridb-events-list)

### Search recreation areas

GET

`/recareas`

`ridb.recareas.search`

Recreation areas (parks, forests, lakes) by text, state, activity or distance from a point.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query`</td><td>string</td><td>query</td><td>Text matched against name, description, keywords and stay limit. Example `Yosemite`</td></tr>
    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>

    <tr><td>`full`</td><td>string</td><td>query</td><td>true for full records, false for compact ones. One of `true`, `false`</td></tr>
    <tr><td>`state`</td><td>string</td><td>query</td><td>Comma-separated two-letter state codes. Example `CO,VA`</td></tr>
    <tr><td>`activity`</td><td>string</td><td>query</td><td>Comma-separated activity ids or keywords. Example `BOATING`</td></tr>

    <tr>
      <td>
        `latitude`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Latitude in decimal degrees.
      </td>
    </tr>

    <tr>
      <td>
        `longitude`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Longitude in decimal degrees.
      </td>
    </tr>

    <tr>
      <td>
        `radius`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Search radius in miles around latitude/longitude, max 25.
      </td>
    </tr>

    <tr><td>`lastupdated`</td><td>string</td><td>query</td><td>Only records modified since this date, mm-dd-yyyy. Example `10-01-2018`</td></tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort by ID, Date or Name.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-search), [Atly](https://docs.webrouter.net/data-apis/atly.md#atly-places-search), [Best Buy](https://docs.webrouter.net/data-apis/bestbuy.md#bestbuy-stores-search), [FDIC BankFind Suite](https://docs.webrouter.net/data-apis/fdic.md#fdic-locations-search), [Foursquare Places API](https://docs.webrouter.net/data-apis/foursquare.md#foursquare-places-search), [Geoapify](https://docs.webrouter.net/data-apis/geoapify.md#geoapify-places-search)

```python Python theme={null}
router.call_data_api("ridb.recareas.search", {'query': 'Yosemite', 'limit': 50, 'state': 'CO,VA', 'activity': 'BOATING', 'lastupdated': '10-01-2018'})
```

```text MCP theme={null}
call_data_api(endpoint="ridb.recareas.search", params={"query": "Yosemite", "limit": 50, "state": "CO,VA", "activity": "BOATING", "lastupdated": "10-01-2018"})
```

### Get a recreation area

GET

`/recareas/{recAreaId}`

`ridb.recareas.get`

One recreation area by id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `recAreaId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        RecArea id.
      </td>
    </tr>

    <tr><td>`full`</td><td>string</td><td>query</td><td>true for full records, false for compact ones. One of `true`, `false`</td></tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-detail), [Litescrape](https://docs.webrouter.net/data-apis/litescrape.md#litescrape-tripadvisor-place), [VOYGR](https://docs.webrouter.net/data-apis/voygr.md#voygr-enrich)

### Search facilities

GET

`/facilities`

`ridb.facilities.search`

Facilities (campgrounds, trails, visitor centres) by text, state, activity or distance from a point.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query`</td><td>string</td><td>query</td><td>Text matched against name, description, keywords and stay limit. Example `campground`</td></tr>
    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>

    <tr><td>`full`</td><td>string</td><td>query</td><td>true for full records, false for compact ones. One of `true`, `false`</td></tr>
    <tr><td>`state`</td><td>string</td><td>query</td><td>Comma-separated two-letter state codes. Example `CO,VA`</td></tr>
    <tr><td>`activity`</td><td>string</td><td>query</td><td>Comma-separated activity ids or keywords. Example `BOATING`</td></tr>

    <tr>
      <td>
        `latitude`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Latitude in decimal degrees.
      </td>
    </tr>

    <tr>
      <td>
        `longitude`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Longitude in decimal degrees.
      </td>
    </tr>

    <tr>
      <td>
        `radius`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Search radius in miles around latitude/longitude, max 25.
      </td>
    </tr>

    <tr><td>`lastupdated`</td><td>string</td><td>query</td><td>Only records modified since this date, mm-dd-yyyy. Example `10-01-2018`</td></tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Sort by ID, Date or Name.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-search), [Atly](https://docs.webrouter.net/data-apis/atly.md#atly-places-search), [Best Buy](https://docs.webrouter.net/data-apis/bestbuy.md#bestbuy-stores-search), [FDIC BankFind Suite](https://docs.webrouter.net/data-apis/fdic.md#fdic-locations-search), [Foursquare Places API](https://docs.webrouter.net/data-apis/foursquare.md#foursquare-places-search), [Geoapify](https://docs.webrouter.net/data-apis/geoapify.md#geoapify-places-search)

```python Python theme={null}
router.call_data_api("ridb.facilities.search", {'query': 'campground', 'limit': 50, 'state': 'CO,VA', 'activity': 'BOATING', 'lastupdated': '10-01-2018'})
```

```text MCP theme={null}
call_data_api(endpoint="ridb.facilities.search", params={"query": "campground", "limit": 50, "state": "CO,VA", "activity": "BOATING", "lastupdated": "10-01-2018"})
```

### Get a facility

GET

`/facilities/{facilityId}`

`ridb.facilities.get`

One facility by id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `facilityId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Facility id.
      </td>
    </tr>

    <tr><td>`full`</td><td>string</td><td>query</td><td>true for full records, false for compact ones. One of `true`, `false`</td></tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-detail), [Litescrape](https://docs.webrouter.net/data-apis/litescrape.md#litescrape-tripadvisor-place), [VOYGR](https://docs.webrouter.net/data-apis/voygr.md#voygr-enrich)

### List a recreation area's facilities

GET

`/recareas/{recAreaId}/facilities`

`ridb.recareas.facilities`

Facilities inside one recreation area.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `recAreaId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        RecArea id.
      </td>
    </tr>

    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Text filter.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-search), [Atly](https://docs.webrouter.net/data-apis/atly.md#atly-places-search), [Best Buy](https://docs.webrouter.net/data-apis/bestbuy.md#bestbuy-stores-search), [FDIC BankFind Suite](https://docs.webrouter.net/data-apis/fdic.md#fdic-locations-search), [Foursquare Places API](https://docs.webrouter.net/data-apis/foursquare.md#foursquare-places-search), [Geoapify](https://docs.webrouter.net/data-apis/geoapify.md#geoapify-places-search)

### List a facility's campsites

GET

`/facilities/{facilityId}/campsites`

`ridb.facilities.campsites`

Campsites of one facility (campground).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `facilityId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Facility id.
      </td>
    </tr>

    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Text matched against campsite name, type, loop, use type and accessibility.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-search), [Atly](https://docs.webrouter.net/data-apis/atly.md#atly-places-search), [Best Buy](https://docs.webrouter.net/data-apis/bestbuy.md#bestbuy-stores-search), [FDIC BankFind Suite](https://docs.webrouter.net/data-apis/fdic.md#fdic-locations-search), [Foursquare Places API](https://docs.webrouter.net/data-apis/foursquare.md#foursquare-places-search), [Geoapify](https://docs.webrouter.net/data-apis/geoapify.md#geoapify-places-search)

### Get a campsite

GET

`/campsites/{campsiteId}`

`ridb.campsites.get`

One campsite by id, with its attributes.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `campsiteId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Campsite id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Amap (Gaode) Web Service](https://docs.webrouter.net/data-apis/amap.md#amap-places-detail), [Litescrape](https://docs.webrouter.net/data-apis/litescrape.md#litescrape-tripadvisor-place), [VOYGR](https://docs.webrouter.net/data-apis/voygr.md#voygr-enrich)

### List activities

GET

`/activities`

`ridb.activities.list`

The activity codes (camping, boating, ...) used as filters.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Text filter.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Atly](https://docs.webrouter.net/data-apis/atly.md#atly-places-list-categories), [Mapbox](https://docs.webrouter.net/data-apis/mapbox.md#mapbox-search-categories), [Yelp Fusion](https://docs.webrouter.net/data-apis/yelp.md#yelp-categories)

```python Python theme={null}
router.call_data_api("ridb.activities.list", {'limit': 50})
```

```text MCP theme={null}
call_data_api(endpoint="ridb.activities.list", params={"limit": 50})
```

### List events

GET

`/events`

`ridb.events.list`

Events at recreation areas and facilities.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `query`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Text matched against name, dates, description and more.
      </td>
    </tr>

    <tr><td>`limit`</td><td>integer</td><td>query</td><td>Records per page, max 50 (default 50). Example `50`</td></tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Start record, 0-based.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://ridb.recreation.gov/shared/swagger/ridb.yaml) · Same job: [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-earnings), [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-events-list), [Financial Modeling Prep](https://docs.webrouter.net/data-apis/fmp.md#fmp-earnings-calendar), [FRED (St. Louis Fed)](https://docs.webrouter.net/data-apis/fred.md#fred-releases-dates), [Kalshi](https://docs.webrouter.net/data-apis/kalshi.md#kalshi-events-list), [Legistar Web API](https://docs.webrouter.net/data-apis/legistar.md#legistar-events-list)

```python Python theme={null}
router.call_data_api("ridb.events.list", {'limit': 50})
```

```text MCP theme={null}
call_data_api(endpoint="ridb.events.list", params={"limit": 50})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.