# Recreation.gov

> Find public recreation areas, campsites, tours, facilities and permits on Recreation.gov.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/recreation-gov

## Actions

### Get activity

Get the details of one activity by its ID.

**Inputs**

- Activity id (`activity_id`, text, required): Id of the activity.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "ActivityID": 6,
    "ActivityName": "Boating"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get campsite

Get the details of one campsite by its ID.

**Inputs**

- Campsite id (`campsite_id`, text, required): Id of the campsite.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "CampsiteID": "4967",
    "CampsiteName": "A001"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get event

Get the details of one event by its ID.

**Inputs**

- Event id (`event_id`, text, required): Id of the event.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "EventID": "1",
    "EventName": "Ranger Program"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get facility

Get the details of one facility by its ID.

**Inputs**

- Facility id (`facility_id`, text, required): Id of the facility.
- Full (`full`, true/false): Include the full record and related details.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "FacilityID": "232447",
    "FacilityName": "Watchman Campground"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get organization

Get the details of one organization by its ID.

**Inputs**

- Organization id (`organization_id`, text, required): Id of the organization.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "OrgID": "1",
    "OrgName": "Forest Service"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get permit entrance

Get the details of one permit entrance by its ID.

**Inputs**

- Permit entrance id (`permit_entrance_id`, text, required): Id of the permit entrance.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "PermitEntranceID": "1",
    "PermitEntranceName": "Trailhead"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get recreation area

Get the details of one recreation area by its ID.

**Inputs**

- Recreation area id (`recreation_area_id`, text, required): Id of the RecArea.
- Full (`full`, true/false): Include the full record and related details.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "RecAreaID": "1",
    "RecAreaName": "Alamo Lake"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get tour

Get the details of one tour by its ID.

**Inputs**

- Tour id (`tour_id`, text, required): Id of the tour.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "TourID": "1",
    "TourName": "Cave Tour"
  },
  "has_more": false,
  "next_cursor": null
}
```

### List activities

Find activities in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "ActivityID": 6,
        "ActivityName": "Boating"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List campsites

Find campsites in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "CampsiteID": "4967",
        "CampsiteName": "A001"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List campsites at a facility

Find campsites at a facility.

**Inputs**

- Facility id (`facility_id`, text, required): Id of the facility.
- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "CampsiteID": "4967",
        "CampsiteName": "A001"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List events

Find events in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "EventID": "1",
        "EventName": "Ranger Program"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List facilities

Find facilities in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.
- Full (`full`, true/false): Include the full record and related details.
- States (`states`, list): Include records in these states or territories. One or more of: `AL`, `AK`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DE`, `DC`, `FL`, and 46 more.
- Latitude (`latitude`, number): Latitude of the point in decimal degrees. From -90 to 90.
- Longitude (`longitude`, number): Longitude of the point in decimal degrees. From -180 to 180.
- Radius (`radius`, number): Distance (in miles) by which to include search results. From 0 to 25.
- Activities (`activities`, list): Filter by activity IDs or keywords.
- Updated since (`updated_since`, date): Include records modified on or after this date.
- Sort (`sort`, text): Sort the matching records. One of: `ID` (Record ID), `Date`, `Name`.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "FacilityID": "232447",
        "FacilityName": "Watchman Campground"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List facilities in a recreation area

Find facilities in a recreation area.

**Inputs**

- Recreation area id (`recreation_area_id`, text, required): Id of the RecArea.
- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.
- Full (`full`, true/false): Include the full record and related details.
- States (`states`, list): Include records in these states or territories. One or more of: `AL`, `AK`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DE`, `DC`, `FL`, and 46 more.
- Activities (`activities`, list): Filter by activity IDs or keywords.
- Updated since (`updated_since`, date): Include records modified on or after this date.
- Sort (`sort`, text): Sort the matching records. One of: `ID` (Record ID), `Date`, `Name`.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "FacilityID": "232447",
        "FacilityName": "Watchman Campground"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List organizations

Find organizations in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "OrgID": "1",
        "OrgName": "Forest Service"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List permit entrances

Find permit entrances in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "PermitEntranceID": "1",
        "PermitEntranceName": "Trailhead"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List permit entrances at a facility

Find permit entrances at a facility.

**Inputs**

- Facility id (`facility_id`, text, required): Id of the facility.
- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "PermitEntranceID": "1",
        "PermitEntranceName": "Trailhead"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List recreation areas

Find recreation areas in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.
- Full (`full`, true/false): Include the full record and related details.
- States (`states`, list): Include records in these states or territories. One or more of: `AL`, `AK`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DE`, `DC`, `FL`, and 46 more.
- Activities (`activities`, list): Filter by activity IDs or keywords.
- Latitude (`latitude`, number): Latitude of the point in decimal degrees. From -90 to 90.
- Longitude (`longitude`, number): Longitude of the point in decimal degrees. From -180 to 180.
- Radius (`radius`, number): Distance (in miles) by which to include search results. From 0 to 25.
- Updated since (`updated_since`, date): Include records modified on or after this date.
- Sort (`sort`, text): Sort the matching records. One of: `ID` (Record ID), `Date`, `Name`.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "RecAreaID": "1",
        "RecAreaName": "Alamo Lake"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List tours

Find tours in the Recreation Information Database.

**Inputs**

- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "TourID": "1",
        "TourName": "Cave Tour"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```

### List tours at a facility

Find tours at a facility.

**Inputs**

- Facility id (`facility_id`, text, required): Id of the facility.
- Query (`query`, text): Filter by name or matching keywords.
- Limit (`limit`, number): Maximum records in this page. From 1 to 50.
- Offset (`offset`, number): Number of matching records to skip. At least 0.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "METADATA": {
      "PARAMETERS": {
        "LIMIT": 1,
        "OFFSET": 0
      },
      "RESULTS": {
        "CURRENT_COUNT": 1,
        "TOTAL_COUNT": 1
      }
    },
    "RECDATA": [
      {
        "TourID": "1",
        "TourName": "Cave Tour"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}
```
