Duaer

入门

在 Duaer 里查海浪预报

在 Duaer 里:海岸或海上某点的逐日浪高、涌浪高、波周期与来向,最长 8 天,数据来自 Open-Meteo 海洋模型。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「海浪预报」:海岸或海上某点的逐日浪高、涌浪高、波周期与来向,最长 8 天,数据来自 Open-Meteo 海洋模型。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 海浪预报,或打开 数据市场。相关:天气预报、河流流量。

适合做什么

  • 安排出海、港口作业、海上维护或冲浪与海滩活动。
  • 在航运或旅游报告里补充海况。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → Marine forecast。
  2. 填沿海 Place(或海上的 Latitude + Longitude);Days 可选 1–8,默认 7。
  3. Limit 默认 10,最大 20。执行。

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

用 API 调用

  • GET https://api.duaer.com/v1/data/marine?place=Honolulu&days=5
  • Authorization: Bearer <Duaer key>

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

调用技能(英文)

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

---
name: duaer-marine
description: >-
  Duaer Marine forecast. Daily wave height, swell height, wave period, and direction for a coast or a point at sea, up to eight days, from Open-Meteo marine models.
  One successful search uses 1 Duaer credit.
---

# Duaer Marine forecast

Duaer Marine forecast returns daily wave conditions from the Open-Meteo marine models. Inland points have no waves, so the search returns no rows and uses no credit.

## When to use

- Plan boat trips, port work, offshore maintenance, or surf and beach events.
- Add sea-state context to a shipping or tourism report.

## When not to use

- Navigation safety decisions. Check official marine warnings too.
- Rivers and floods. Use https://skills.duaer.com/river-flow.md.

## Call

`GET https://api.duaer.com/v1/data/marine?place=Honolulu&days=5`

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 `place`, or `latitude` and `longitude`, at a coast or at sea.

- `place` — City or place name. Leave empty when you enter latitude and longitude.
- `latitude` — Optional. Decimal degrees from -90 to 90. Use with longitude instead of a place.
- `longitude` — Optional. Decimal degrees from -180 to 180.
- `days` — Optional. Forecast days from 1 to 8. Default 7.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/marine?place=Honolulu&days=5` — five days off Honolulu.
- `GET https://api.duaer.com/v1/data/marine?latitude=22.2&longitude=114.3` — a point off Hong Kong.

## Result

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

- `place`, `latitude`, `longitude` — where the rows are for.
- `date` — local day.
- `waveHeightMaxM` — highest significant wave height in m.
- `swellHeightMaxM` — highest swell wave height in m.
- `wavePeriodMaxS` — longest wave period in s.
- `waveDirectionDeg` — dominant direction the waves come from, degrees.

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/river-flow.md — Duaer River flow

常见问题

Duaer 的海浪预报检索扣多少额度?

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

为什么 Duaer 海浪预报没有结果?

多半是地点在内陆。Duaer 不返回结果,也不扣额度;请把地点换到海岸或海上。

同组