amenities

GET /amenities

Returns National Park Service amenities, with optional filters for 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

idstring[]

One or more amenity unique 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.

Response

successful operation

totalstring
limitstring
startstring

Example response

{
  "total": "121",
  "data": [
    {
      "id": "75F2DA2A-1741-445A-9FA7-B63A81E4BD7F",
      "name": "Accessibility - Accessible Restroom"
    }
  ],
  "limit": "50",
  "start": "0"
}

Changes

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