> For the complete documentation index, see [llms.txt](https://doc.duaer.com/zh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/zh/getting-started/national-parks.md).

# 在 Duaer 里查美国国家公园

在 Duaer 里：美国国家公园管理局：国家公园、纪念地与历史遗址，含位置、门票与活动。一次成功查询用 1 额度。
## 能拿到什么

Duaer 数据市场里的「美国国家公园」：美国国家公园管理局：国家公园、纪念地与历史遗址，含位置、门票与活动。查到结果时用 1 额度，结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 美国国家公园，或打开 [数据市场](/zh/getting-started/data-market.md)。相关：[天气预报](/zh/getting-started/weather.md)、[附近地点](/zh/getting-started/places-nearby.md)。

## 适合做什么

- 规划犹他州的国家公园行程。
- 查看优胜美地的门票与活动。

## 在画布里检索

1. 打开节点创建器，选 Duaer 数据 → US national parks。
2. 至少填一项：Words（如 canyon）、State（如 UT）。
3. Limit 默认 10，最大 20。执行。

查到结果才扣 1 额度；没有结果、输入有误或上游失败都不扣。

## 用 API 调用

- GET https://api.duaer.com/v1/data/national-parks?words=yosemite
- Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能，含参数、示例与返回字段。

## 调用技能（英文）

与数据市场「复制技能」一致。

```
---
name: duaer-national-parks
description: >-
  Duaer US national parks. National Park Service: parks, monuments, and historic sites with location, fees, and activities.
  One successful search uses 1 Duaer credit.
---

# Duaer US national parks

Duaer US national parks searches National Park Service sites by words or state, with location, entrance fee, activities, and an image. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Plan a trip to parks in Utah.
- Show the entrance fee and activities of Yosemite.

## When not to use

- Weather at a park. Use https://skills.duaer.com/weather.md.
- Places nearby on a map. Use https://skills.duaer.com/places-nearby.md.

## Call

`GET https://api.duaer.com/v1/data/national-parks?words=yosemite`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `words` or `state`.

- `words` — Optional. Words such as yosemite or canyon.
- `state` — Optional. Two-letter state code such as UT.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/national-parks?words=yosemite` — sites matching Yosemite.
- `GET https://api.duaer.com/v1/data/national-parks?state=UT` — National Park Service sites in Utah.

## Result

The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:

- `parkCode`, `name`, `designation`, `states` — site and type.
- `latitude`, `longitude`, `description` — location and description.
- `entranceFeeUsd`, `entranceFee`, `activities`, `imageUrl`, `imageAlt` — first fee, up to eight activities, and an image.

Fields without a value are left out.

## Credits

A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/weather.md — Duaer Weather forecast
- https://skills.duaer.com/places-nearby.md — Duaer Places nearby

```
## Questions

### Duaer 的美国国家公园检索扣多少额度？

查到结果时扣 1 额度；没有结果或出错不扣。

### Duaer 美国国家公园只包括国家公园吗？

不只。还包括国家纪念地、历史遗址、海岸等美国国家公园管理局管理的地点，designation 字段标明类型。

## 相关

- [在 Duaer 里查天气预报](https://doc.duaer.com/zh/getting-started/weather.md)
- [在 Duaer 里查附近地点](https://doc.duaer.com/zh/getting-started/places-nearby.md)

