activities/parks

GET /activities/parks

Returns activites parks information.

Request

  • Base URL
    https://developer.nps.gov/api/v1
  • Auth
    • API key in query parameter api_key
    • or API key in header X-Api-Key

Query parameters

idstring[]

A comma delimited list of activity IDs.

qstring

A string to search for.

limitinteger

Number of results to return per request. Default is 50.

startinteger

Get the next [limit] results starting with this number. Default is 0.

sortstring[]

A comma delimited list of fields to sort the results by. Ascending order is assumed for each field unless the field name is prefixed with the unary negative which implies descending order.

Response

successful operation

totalstring
limitstring
startstring

Example response

{
  "total": "2",
  "data": [
    {
      "id": "FEDA3DF8-B871-4C1A-BB96-32823860B174",
      "name": "Arts and Culture",
      "parks": [
        {
          "states": "KY",
          "fullName": "Abraham Lincoln Birthplace National Historical Park",
          "url": "https://www.nps.gov/abli/index.htm",
          "parkCode": "abli",
          "designation": "National Historical Park",
          "name": "Abraham Lincoln Birthplace"
        }
      ]
    }
  ],
  "limit": "50",
  "start": "0"
}

Changes

No recorded changes to this operation across all 1 revision of this API.