amenities/parksvisitorcenters

GET /amenities/parksvisitorcenters

Returns amenity records associated with park visitor centers, 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": "SD",
            "parkCode": "moru",
            "designation": "National Memorial",
            "visitorcenters": [
              {
                "url": "https://www.nps.gov/moru/planyourvisit/placestogo.htm",
                "id": "AB856735-B829-4053-8BB2-9A27BC193084",
                "name": "Lincoln Borglum Visitor Center"
              }
            ],
            "url": "https://www.nps.gov/moru/index.htm",
            "name": "Mount Rushmore"
          }
        ]
      }
    ]
  ],
  "limit": "50",
  "start": "0"
}

Changes

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