{"name":"National Park Service Parks by State API","description":"National parks, monuments and historic sites in a US state, with name, designation, location and URL.","api_id":"generated_17a90982d918d922e7b5ded3","slug":"national-park-service-parks-by-state-api","source":{"name":"Nps","domain":"nps.gov","url":"https://www.nps.gov/"},"category":"public_data","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-06","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"1.0","versions":[{"major":1,"latest_minor":"1.0","status":"current","sunset_at":null}],"changelog":[{"version":"1.0","date":"2026-12-05T12:50:37.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_17a90982d918d922e7b5ded3_search","name":"List National Park Service Parks by State","description":"Return records within the accepted scope.","definition_version":"1ff40a60e48cd3e5d6b39426d5be599db4ad2066126cd1a58d643dd1e88cad74","method":"POST","path":"/v1/catalog/public/apis/generated_17a90982d918d922e7b5ded3/endpoints/generated_17a90982d918d922e7b5ded3_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_17a90982d918d922e7b5ded3/endpoints/generated_17a90982d918d922e7b5ded3_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"state":{"type":"string","enum":["al","ak","az","ar","as","ca","co","ct","de","dc","fl","ga","gu","hi","id","il","in","ia","ks","ky","la","me","md","ma","mi","mn","ms","mo","mt","ne","nv","nj","nm","ny","nh","nc","nd","mp","oh","ok","or","pa","pr","ri","sc","sd","tn","tx","ut","vi","va","vt","wa","wv","wi","wy"],"x-enum-labels":["Alabama","Alaska","Arizona","Arkansas","as","California","Colorado","ct","Delaware","District of Columbia","Florida","Georgia","gu","Hawaii","Idaho","Illinois","in","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Jersey","New Mexico","New York","nh","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Pennsylvania","pr","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","vi","Virginia","vt","Washington","West Virginia","wi","Wyoming"],"x-value-status":["observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","verified","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed","observed"],"x-source-key":"state","description":"Required unless `urls` is given. One of the site's 56 choices, given as its code or as its label (case, spaces and punctuation do not matter). A name the site does not list is refused as source_input_invalid, with the closest labels.","x-source-route":"path_segment","x-input-type":{"kind":"string"}},"urls":{"anyOf":[{"type":"string","format":"uri","minLength":1},{"type":"array","minItems":1,"items":{"type":"string","format":"uri","minLength":1}}],"description":"Optional. Links copied from the site's address bar, one or a list. A results link (a category page, a search or a filtered list) is read as this API's own inputs and that list is walked; the run echoes each link's inputs in metadata.links. A link from another site, or one that names a page or filter this API has no input for, refuses the call with the unread parts listed; it is never served from another page. Tracking and paging keys are dropped. Several links are read in order and max_items counts across all of them.","examples":[["https://www.nps.gov/state/ca/index.htm"]],"x-from-url":{"origin":"https://www.nps.gov"},"title":"Links","x-input-group":"other"},"from_url":{"type":"string","format":"uri","description":"Deprecated: send the link in `urls`. A results link copied from the site (its own address bar): a category page, a search or a filtered list. It is read as this API's own inputs and the run echoes them as `decoded`. Tracking and paging keys are dropped. A link from another site, or one that names a page or filter this API has no input for, is refused with the unread parts listed; it is never served from another page.","x-from-url":{"origin":"https://www.nps.gov"},"deprecated":true,"title":"Results link (old name)","x-input-group":"other"}},"required":[],"additionalProperties":false,"allOf":[{"anyOf":[{"required":["state"]},{"required":["from_url"]},{"required":["urls"]}]}]},"output_schema":{"type":"object","additionalProperties":false,"properties":{"image":{"type":"object","properties":{"alt":{"type":["string"]},"src":{"type":["string"]}},"additionalProperties":false},"description":{"type":"string"},"designation":{"type":"string"},"location":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["title","url"]},"examples":[{"kind":"saved_validation_records","saved_at":"2026-12-05T12:50:37.642Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"image":{"alt":"Visitor during the evening tour of Alcatraz gaze into the many cells that line up the corridor known as ","src":"/customcf/apps/CMS_HandF/ParkSearchPics/8E231188-1DD8-B71C-0EFFEC7EA3648226.jpg"},"description":"Alcatraz reveals stories of American incarceration, justice, and our common humanity. This small island was once a fort, a military prison, and a maximum security federal penitentiary. In 1969, the Indians of All Tribes occupied Alcatraz for 19 months in the name of freedom and Native American civil rights. We invite you to explore Alcatraz's complex history and natural beauty.","location":"San Francisco, CA","title":"Alcatraz Island","url":"https://www.nps.gov/alca/"},{"description":"In 1857, businessman and transportation entrepreneur John Butterfield was awarded a contract to establish an overland mail route between the eastern United States and growing populations in the Far West. What became known as the Butterfield Overland Trail made an arcing sweep across the southern rim of the country. Stagecoaches left twice a week carrying passengers, freight, and mail.","designation":"National Historic Trail","location":"MO, AR, OK, TX, NM, AZ, CA","title":"Butterfield Overland","url":"https://www.nps.gov/buov/"}]}],"request_example":{"body":{"input":{},"version":1,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_17a90982d918d922e7b5ded3/endpoints/generated_17a90982d918d922e7b5ded3_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 1,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_17a90982d918d922e7b5ded3/endpoints/generated_17a90982d918d922e7b5ded3_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/national-park-service-parks-by-state-api/","markdown":"https://cleanedweb.com/catalog/national-park-service-parks-by-state-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_17a90982d918d922e7b5ded3/endpoints/generated_17a90982d918d922e7b5ded3_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/national-park-service-parks-by-state-api/","markdown":"https://cleanedweb.com/catalog/national-park-service-parks-by-state-api/index.md","contract":"https://cleanedweb.com/catalog/national-park-service-parks-by-state-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
