webcams

GET /webcams

Returns metadata for National Park Service webcams, with optional filters for park codes, state codes, webcam IDs, 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.

idstring

A comma delimited list of webcam IDs.

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": "4",
  "data": [
    {
      "geometryPoiId": "8793be28-0d54-493f-8556-877e7ecbe937",
      "images": [
        {
          "url": "https://www.nps.gov/common/uploads/cropped_image/primary/55B6E49B-C6F3-38B9-82A9F7F3D7BDC873.jpg",
          "credit": "NPS",
          "altText": "NPS",
          "title": "Kennecott Mill and Mt. Blackburn",
          "caption": "Kennecott Mill and Mt. Blackburn",
          "crops": [
            {
              "aspectRatio": 1.78,
              "url": "https://www.nps.gov/common/uploads/cropped_image/primary/55B6E49B-C6F3-38B9-82A9F7F3D7BDC873.jpg"
            }
          ]
        }
      ],
      "relatedParks": [
        {
          "states": "AK",
          "parkCode": "wrst",
          "designation": "National Park & Preserve",
          "fullName": "Wrangell - St Elias National Park & Preserve",
          "url": "https://www.nps.gov/wrst",
          "name": "Wrangell - St Elias"
        }
      ],
      "status": "Active",
      "tags": [
        "Maine",
        "webcam",
        "peregrine falcon",
        "ranger programs",
        "Loon",
        "virtual activity",
        "Wild Gardens of Acadia"
      ],
      "latitude": 61.4871482849121,
      "longitude": -142.87907409668
    }
  ],
  "limit": "50",
  "start": "4"
}

Changes

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