National Park Service

FREE
By jonahtaylor
Updated 9 months ago
7.2/10
Popularity Score
12082ms
Latency
89%
Success Rate

National Park Service API Documentation

This API is designed to provide authoritative National Park Service (NPS) data and content about parks and their facilities, events, news, alerts, and more.

View API Details
GETAlerts
GETArticles
GETCampgrounds
GETEvents
GETLesson Plans
GETNews Releases
GETParks
GETPeople
GETPlaces
GETVisitor Centers
GETAlerts

Alerts communicate information about hazardous, potentially hazardous, or changing conditions that may affect a visit to a national park. Alert data includes the type of alert, title, description, and optional link to additional information.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
X-Api-KeyHEADER
REQUIREDEvery time you make a request from the NPS API, you’ll need to pass this key along with your request. If your request is properly formatted and your API key is valid, you’ll get data in return.
API KeySTRING
REQUIRED
Optional Parameters
parkcodeSTRING
OPTIONALA comma delimited list of park codes (each 4-10 characters in length).
statecodeSTRING
OPTIONALA comma delimited list of 2 character state codes.
limitNUMBER
OPTIONALNumber of results to return per request. Default is 50.
startNUMBER
OPTIONALGet the next [limit] results starting with this number.
qSTRING
OPTIONALTerm to search on
fieldsSTRING
OPTIONALA comma delimited list of resource properties to include in the JSON response in addition to the default properties. The available properties for each resource are listed in the documentation for each resource. Invalid property values will be ignored.
sortSTRING
OPTIONALA comma delimited list of resource properties to sort the results by. Each resource identifies which properties are 'sortable’. Ascending order is assumed for each property. If descending order is desired, the unary negative should prefix the property name. The sortable properties are listed in the documentation for each resource. Invalid property values will be ignored.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication