BETA - NPS Data Application Program Interface (API)

Welcome to the National Park Service (NPS) Data API. This API is designed to provide authoritative NPS data and content for internal and external developers creating apps, maps, and websites. You'll find photos and essential information about parks and their facilities, events, news, alerts, and more, as well as detailed articles about NPS natural and cultural features and important people and places.

The NPS Data API should be considered beta at this time. As the API expands over time, this documentation will evolve.

Getting Started

  • Sign up for an API key
  • Get familiar with the expected API request format
  • Take a look at the available API resources

API Key

Before you can use the API, you will need to sign up for an API key. To do so, fill out and submit the form below.

Required
Required
Required/Invalid Email
Required (20 chars minimum, 500 max)

API Request Format

Once you obtain your API key, you may begin making API requests.

Each API request contains:

  • Resource Endpoint
  • Query String Parameters
  • HTTP request header
Example

Consider the following URL: https://developer.nps.gov/api/v0/alerts?parkCode=yell,yose

  • Resource Endpoint - https://developer.nps.gov/api/v0/alerts
  • Query String Parameters - parkCode=yell,yose
  • HTTP Request Header - Authorization: {API KEY}

API Request Limit

Each API key may be limited if high API traffic negatively affects server performance. Please cache data retrieved via the NPS Data API if making more than 5 requests per second or 1,000 requests per day.

Contact Information

If you have any comments or concerns, please contact the National Park Service web development team via email.