Department of Interior Topics/parks API

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

Operations 1

GET /topics/parks Get topics parks #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/doi:doi-topics-parks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

doi-topics-parks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 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.
  version: 1.0.0
  title: National Park Service Topics/parks API
servers:
- url: https://developer.nps.gov/api/v1
tags:
- name: topics/parks
  description: Retrieve national parks that are related to particular categories of topics (American revolution, music, women's history, etc.).
paths:
  /topics/parks:
    get:
      tags:
      - topics/parks
      description: Returns parks associated with National Park Service topics, with optional filters for topic IDs or a search term.
      operationId: getTopicsParks
      parameters:
      - name: id
        in: query
        description: A comma delimited list of topic IDs.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: q
        in: query
        description: A string to search for.
        required: false
        schema:
          type: string
      - name: limit
        in: query
        description: Number of results to return per request. Default is 50.
        required: false
        schema:
          type: integer
      - name: start
        in: query
        description: Get the next [limit] results starting with this number. Default is 0.
        required: false
        schema:
          type: integer
      - name: sort
        in: query
        description: 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.
        schema:
          type: string
      security:
      - api_key: []
      - api_key_header: []
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopicPark'
        '400':
          description: Invalid status data
      summary: Get topics parks
      x-summary-source: derived
components:
  schemas:
    TopicPark:
      type: object
      properties:
        total:
          type: string
          example: '3'
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Unique identifier for topic park record
                example: F40AC1EE-420B-457B-B519-EC6EE5280F0C
              name:
                type: string
                description: Name of topic park record
                example: animals
              parks:
                type: array
                items:
                  type: object
                  properties:
                    states:
                      type: string
                      description: a comma delimeted list of two letter state codes
                      example: GA
                    fullName:
                      type: string
                      description: the full name of a park
                      example: Arabia Mountain National Heritage Area
                    url:
                      type: string
                      example: https://www.nps.gov/armo/index.htm
                    parkCode:
                      type: string
                      description: four letter alpha code for a park
                      example: armo
                    designation:
                      type: string
                      example: National Heritage Area
                    name:
                      type: string
                      example: Arabia Mountain
        limit:
          type: string
          example: '50'
        start:
          type: string
          example: '0'
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: query
    api_key_header:
      type: apiKey
      name: X-Api-Key
      in: header
x-provenance:
  method: harvested
  publisher: Department of Interior
  source: https://www.nps.gov/subjects/developer/customcf/swagger.json?03142019
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)