topics/parks
GET /topics/parks
Returns parks associated with National Park Service topics, with optional filters for topic IDs or a search term.
Request
- Base URLhttps://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 topic 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
Example response
{
"total": "3",
"data": [
{
"id": "F40AC1EE-420B-457B-B519-EC6EE5280F0C",
"name": "animals",
"parks": [
{
"states": "GA",
"fullName": "Arabia Mountain National Heritage Area",
"url": "https://www.nps.gov/armo/index.htm",
"parkCode": "armo",
"designation": "National Heritage Area",
"name": "Arabia Mountain"
}
]
}
],
"limit": "50",
"start": "0"
}Changes
No recorded changes to this operation across all 1 revision of this API.