articles

GET /articles

Returns National Park Service articles, with optional filters for park codes, state codes, or a search term.

Request

  • Base URL
    https://developer.nps.gov/api/v1
  • Auth
    • API key in query parameter api_key
    • or API key in header X-Api-Key

Query parameters

parkCodestring[]

A comma delimited list of 4 character park codes.

stateCodestring[]

A comma delimited list of 2 character state codes.

limitinteger

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

startinteger

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

qstring

Term to search on

Response

successful operation

totalstring
limitstring
startstring

Example response

{
  "total": "7934",
  "data": [
    {
      "url": "https://www.nps.gov/articles/lafayette-square-preservation.htm",
      "title": "The “First Neighborhood”: Presidents and Preservation in Lafayette Park",
      "id": "FB939FC8-04B4-42F7-BC97-5557890D33F8",
      "geometryPoiId": "8793be28-0d54-493f-8556-877e7ecbe937",
      "listingDescription": "Presidents from Franklin D. Roosevelt to Lyndon B. Johnson, as well as two first ladies, were instrumental in preserving the 19th century historic character of Lafayette Square. Their advocacy influenced not only the White House's closest national historic district, but the development of national historic preservation law.",
      "listingImage": {
        "url": "https://www.nps.gov/common/uploads/articles/images/nri/20170118/articles/F6AD3834-1DD8-B71B-0BA8516D0F8C4D85/F6AD3834-1DD8-B71B-0BA8516D0F8C4D85.jpg",
        "credit": "",
        "altText": "Historic town homes in front of modern brick building",
        "title": "",
        "description": "",
        "caption": ""
      },
      "relatedParks": [
        {
          "states": "DC",
          "parkCode": "whho",
          "designation": "",
          "fullName": "President's Park (White House)",
          "url": "https://www.nps.gov/whho",
          "name": "President's Park (White House)"
        }
      ],
      "latitude": 38.8994750976563,
      "longitude": -77.0365524291992,
      "latLong": "{lat:38.89947509765625, long:-77.03655242919922}"
    }
  ],
  "limit": "1",
  "start": "0"
}

Changes

No recorded changes to this operation across all 1 revision of this API.