amenities/parksplaces

GET /amenities/parksplaces

Returns amenity records associated with park places, with optional filters for park codes, amenity IDs, or a search term.

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

parkCodestring[]

A comma delimited list of 4 character park codes.

idstring[]

A comma delimited list of amenity 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": "53",
  "data": [
    [
      {
        "id": "75F2DA2A-1741-445A-9FA7-B63A81E4BD7F",
        "name": "Accessibility - Accessible Restroom",
        "parks": [
          {
            "states": "NC,VA",
            "parkCode": "blri",
            "designation": "Parkway",
            "fullName": "Blue Ridge Parkway",
            "places": [
              {
                "title": "Mabry Mill",
                "url": "https://www.nps.gov/places/mabry-mill.htm",
                "id": "E4267D0C-EE18-4020-88DC-40B5EBAC32E3"
              }
            ],
            "url": "https://www.nps.gov/blri/index.htm",
            "name": "Blue Ridge"
          }
        ]
      }
    ]
  ],
  "limit": "50",
  "start": "0"
}

Changes

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