Sdílet prostřednictvím


National Park Service (Independent Publisher)

The National Park Service API and developer resources are 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 NPS sites including visitor centers, campgrounds, events, news, alerts, and more, as well as detailed articles about NPS natural and cultural features and important people and places.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions
Power Automate Premium All Power Automate regions
Power Apps Premium All Power Apps regions
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor, Hitachi Solutions
Website https://www.nps.gov/
Privacy policy https://www.nps.gov/aboutus/privacy.htm
Categories Lifestyle and Entertainment

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get activities

Retrieve categories of activities (astronomy, hiking, wildlife watching, etc.) possible in national parks.

Get alerts

Retrieve alerts (danger, closure, caution, and information) posted by parks.

Get amenities

Retrieve the amenity types (accessible restrooms, fire pit, picnic area, etc.) available in national parks.

Get articles

Retrieve articles created by national parks and other NPS entities.

Get campgrounds

Retrieve data about National Park Service campgrounds including addresses, contacts, description, hours of operation, etc.

Get events

Retrieve events created by national parks and other NPS entities.

Get lesson plans

Retrieve lesson plans created by national parks and other NPS entities.

Get news releases

Retrieve news releases created by national parks and other NPS entities.

Get park activities

Returns activites parks information.

Get park amenities

Retrieve places within national parks that have different amenities.

Get parks

Retrieve data about national parks (addresses, contacts, description, hours of operation, etc.).

Get parks by topic

Retrieve national parks that are related to particular categories of topics (American revolution, music, women's history, etc.).

Get passport stamp locations

Retrieve locations that have national park passport stamps.

Get people

Retrieve articles providing a synopsis of specific people related to national parks.

Get places

Retrieve articles providing a synopsis of specific places related to national parks.

Get things to do

Retrieve suggested things to do recommended by and for specific national parks.

Get topics

Retrieve categories of topics (American revolution, music, women's history, etc.) relating to national parks.

Get tours

Retrieve tours with stops at the special places, campgrounds, and visitor centers found within national parks.

Get visitor center amenities

Retrieve visitor centers within national parks that have different amenities.

Get visitor centers

Retrieve data about National Park Service visitor centers including addresses, contacts, description, hours of operation, etc.

Get webcams

Retrieve metadata about National Park Service streaming and non-streaming web cams.

Get activities

Retrieve categories of activities (astronomy, hiking, wildlife watching, etc.) possible in national parks.

Parameters

Name Key Required Type Description
ID
id string

One or more activity unique IDs.

Search Term
q string

Term to search on.

Limit
limit string

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort string

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.

Returns

response
object

Get alerts

Retrieve alerts (danger, closure, caution, and information) posted by parks.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4-10 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get amenities

Retrieve the amenity types (accessible restrooms, fire pit, picnic area, etc.) available in national parks.

Parameters

Name Key Required Type Description
ID
id array

One or more topic unique IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Returns

response
object

Get articles

Retrieve articles created by national parks and other NPS entities.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of 4 character park codes.

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get campgrounds

Retrieve data about National Park Service campgrounds including addresses, contacts, description, hours of operation, etc.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get events

Retrieve events created by national parks and other NPS entities.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

Organization
organization array

A comma delimited list of organization site codes.

Subject
subject array

A comma delimited list of subject site codes.

Portal
portal array

A comma delimited list of portal site codes.

Include Tags
tagsAll array

A comma delimited list of tags that must be included.

May Include Tags
tagsOne array

A comma delimited list of tags that may be included.

Not Include Tags
tagsNone array

A comma delimited list of tags that must not be included.

State Code
stateCode array

A comma delimited list of 2 character state codes.

Start Date
dateStart string

A stating date in the yyyy-mm-dd format to filter events by.

End Date
dateEnd string

An ending date in the yyyy-mm-dd format to filter events by.

Event Type
eventType array

A comma delimited list of event types.

ID
id string

A unique ID string for an event.

Search Term
q string

Term to search on.

Page Size
pageSize integer

The number of results per page. Default is 10.

Page Number
pageNumber integer

The current page number for the results. Default is 1.

Expand Recurring
expandRecurring boolean

A flag to denote whether or not to expand the recurring events out into multiple records (one per event date). Default is false.

Returns

response
object

Get lesson plans

Retrieve lesson plans created by national parks and other NPS entities.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Sort By
sort array

A 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. Default is title.

Returns

response
object

Get news releases

Retrieve news releases created by national parks and other NPS entities.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Sort By
sort array

A 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. Default is -releaseDate.

Returns

response
object

Get park activities

Returns activites parks information.

Parameters

Name Key Required Type Description
ID
id array

A comma delimited list of activity IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort array

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.

Returns

response
object

Get park amenities

Retrieve places within national parks that have different amenities.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of 4 character park codes.

ID
id array

A comma delimited list of amenity IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort string

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.

Returns

response
object

Get parks

Retrieve data about national parks (addresses, contacts, description, hours of operation, etc.).

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4-10 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Sort By
sort array

A 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. Default value is fullName.

Returns

response
object

Get parks by topic

Retrieve national parks that are related to particular categories of topics (American revolution, music, women's history, etc.).

Parameters

Name Key Required Type Description
ID
id array

A comma delimited list of topic IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort string

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.

Returns

response
object

Get passport stamp locations

Retrieve locations that have national park passport stamps.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of 4 character park codes.

State Code
stateCode array

A comma delimited list of 2 character state codes.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Returns

response
object

Get people

Retrieve articles providing a synopsis of specific people related to national parks.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4-10 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get places

Retrieve articles providing a synopsis of specific places related to national parks.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get things to do

Retrieve suggested things to do recommended by and for specific national parks.

Parameters

Name Key Required Type Description
ID
id string

A comma delimited list of things to do IDs.

Park Code
parkCode string

A comma delimited list of 4 character park codes.

State Code
stateCode string

A comma delimited list of 2 character state codes.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start string

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort string

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.

Returns

response
object

Get topics

Retrieve categories of topics (American revolution, music, women's history, etc.) relating to national parks.

Parameters

Name Key Required Type Description
ID
id string

One or more unique topic IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort string

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.

Returns

response
object

Get tours

Retrieve tours with stops at the special places, campgrounds, and visitor centers found within national parks.

Parameters

Name Key Required Type Description
ID
id array

A comma delimited list of tour IDs.

Park Code
parkCode array

A comma delimited list of 4 character park codes.

State Code
stateCode array

A comma delimited list of 2 character state codes.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Returns

response
object

Get visitor center amenities

Retrieve visitor centers within national parks that have different amenities.

Parameters

Name Key Required Type Description
Park Code
parkCode string

A comma delimited list of 4 character park codes.

ID
id string

A comma delimited list of amenity IDs.

Search Term
q string

A string to search for.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Sort By
sort array

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.

Returns

response
object

Get visitor centers

Retrieve data about National Park Service visitor centers including addresses, contacts, description, hours of operation, etc.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of park codes (each 4 characters in length).

State Code
stateCode array

A comma delimited list of 2 character state codes.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Get webcams

Retrieve metadata about National Park Service streaming and non-streaming web cams.

Parameters

Name Key Required Type Description
Park Code
parkCode array

A comma delimited list of 4 character park codes.

State Code
stateCode array

A comma delimited list of 2 character state codes.

ID
id string

A comma delimited list of webcam IDs.

Limit
limit integer

Number of results to return per request. Default is 50.

Start
start integer

Get the next [limit] results starting with this number. Default is 0.

Search Term
q string

Term to search on.

Returns

response
object

Definitions

object

This is the type 'object'.