National Park Service, US
This API is designed to provide authoritative National Park Service (NPS) data and content about parks and their facilities, events, news, alerts, and more.…
Government & public#government
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
This API is designed to provide authoritative National Park Service (NPS) data and content about parks and their facilities, events, news, alerts, and more. Explore the NPS API below and even try to make API calls. In order to try an API call, you'll need to click on the "Authorize" button below and add your API key. If you don't have an API key yet, visit our Get Started page .
Endpoints 29
activities
- GETgetActivities
/activitiesReturns activities available at National Park Service sites, with optional filters for activity IDs or a search term.
activities/parks
- GETgetActvitiesParks
/activities/parksReturns activites parks information.
alerts
- GETgetAlerts
/alertsReturns park alerts, with optional filters for park codes, state codes, or a search term.
amenities
- GETgetAmenities
/amenitiesReturns National Park Service amenities, with optional filters for amenity IDs or a search term.
amenities/parksplaces
- GETgetAmenitiesParksplaces
/amenities/parksplacesReturns amenity records associated with park places, with optional filters for park codes, amenity IDs, or a search term.
amenities/parksvisitorcenters
- GETgetAmenitiesParksvisitorcenters
/amenities/parksvisitorcentersReturns amenity records associated with park visitor centers, with optional filters for park codes, amenity IDs, or a search term.
articles
- GETgetArticles
/articlesReturns National Park Service articles, with optional filters for park codes, state codes, or a search term.
campgrounds
- GETgetCampgrounds
/campgroundsReturns campground information, with optional filters for park codes, state codes, or a search term.
events
- GETgetEvents
/eventsReturns events associated with National Park Service sites, with optional filters for location, date, event type, tags, or search term.
feespasses
- GETgetFeesPasses
/feespassesReturns information about fees and passes, with optional filters for park codes, state codes, or a search term.
lessonplans
- GETgetLessonPlans
/lessonplansReturns educational lesson plans, with optional filters for park codes, state codes, or a search term.
mapdata/parkboundaries
- GETgetMapdataParkboundaries
/mapdata/parkboundaries/:sitecodeReturns park boundary data for the National Park Service site identified by the site code.
multimedia/audio
- GETgetMultimediaAudio
/multimedia/audioReturns audio resources from National Park Service sites, with optional filters for park codes, state codes, or a search term.
multimedia/galleries
- GETgetMultimediaGalleries
/multimedia/galleriesReturns multimedia galleries from National Park Service sites, with optional filters for park codes, state codes, or a search term.
multimedia/galleries/assets
- GETgetMultimediaGalleriesAssets
/multimedia/galleries/assetsReturns assets in National Park Service multimedia galleries, with optional filters for asset ID, gallery ID, park code, state code, or a search term.
multimedia/videos
- GETgetMultimediaVideo
/multimedia/videosReturns video resources from National Park Service sites, with optional filters for park codes, state codes, or a search term.
newsreleases
- GETgetNewsReleases
/newsreleasesReturns National Park Service news releases, with optional filters for park codes, state codes, or a search term.
parkinglots
- GETgetParkinglots
/parkinglotsReturns parking lot information for National Park Service sites, with optional filters for park codes, state codes, or a search term.
parks
- GETgetPark
/parksReturns information about National Park Service parks and sites, with optional filters for park codes, state codes, or a search term.
passportstamplocations
- GETgetPassportstamplocations
/passportstamplocationsReturns locations where visitors can obtain National Park Passport stamps, with optional filters for park codes, state codes, or a search term.
people
- GETgetPeople
/peopleReturns people associated with National Park Service sites, with optional filters for park codes, state codes, or a search term.
places
- GETgetPlaces
/placesReturns places within National Park Service sites, with optional filters for park codes, state codes, or a search term.
roadevents
- GETgetRoadevents
/roadeventsReturns road events, optionally filtered by park code and event type.
thingstodo
- GETgetThingstodo
/thingstodoReturns activities and experiences visitors can do at National Park Service sites, with optional filters for IDs, park codes, state codes, or a search term.
topics
- GETgetTopics
/topicsReturns National Park Service topics, with optional filters for topic IDs or a search term.
topics/parks
- GETgetTopicsParks
/topics/parksReturns parks associated with National Park Service topics, with optional filters for topic IDs or a search term.
tours
- GETgetTours
/toursReturns tours at National Park Service sites, with optional filters for tour IDs, park codes, state codes, or a search term.
visitorcenters
- GETgetVisitorCenters
/visitorcentersReturns information about National Park Service visitor centers, with optional filters for park codes, state codes, or a search term.
webcams
- GETgetWebcams
/webcamsReturns metadata for National Park Service webcams, with optional filters for park codes, state codes, webcam IDs, or a search term.
API details
- Base URL
https://developer.nps.gov/api/v1- Authentication
- An API key in the api_key query parameter
An API key in the X-Api-Key header - Operations
- 29 operations on 29 pathsGET 29
- Main resources
- activities 1activities/parks 1alerts 1amenities 1amenities/parksplaces 1amenities/parksvisitorcenters 1articles 1campgrounds 1events 1feespasses 1
- Description format
- Swagger 2.0, API version
1.0.0 - Links
- OpenAPI document
How to test the National Park Service, US in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the National Park Service, US collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the api_key query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “getActivities” (GET /activities), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the National Park Service, US?
This API is designed to provide authoritative National Park Service (NPS) data and content about parks and their facilities, events, news, alerts, and more.… It is listed under Government & public and has 29 endpoints.
Who publishes the National Park Service, US?
It is listed from Nps's public API description (an OpenAPI document), not published by Nps on Swastik Codes. Anyone who controls nps.gov can claim the profile by adding a DNS TXT record.
What is the base URL of the National Park Service, US?
Requests go to https://developer.nps.gov/api/v1. Endpoint paths are added to this base URL.
How do I authenticate with the National Park Service, US?
It accepts 2 methods: an API key in the api_key query parameter; an API key in the X-Api-Key header.
How many endpoints does the National Park Service, US have?
29 operations on 29 paths (29 GET). The largest groups are activities, activities/parks, alerts, amenities.
Is forking the National Park Service, US free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.