Duaer

入门

在 Duaer 里查地震

在 Duaer 里:来自美国地质调查局(USGS)目录的全球地震,可按震级、日期及某地周边范围筛选:震级、震源深度、时间、位置与海啸标记。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「地震」:来自美国地质调查局(USGS)目录的全球地震,可按震级、日期及某地周边范围筛选:震级、震源深度、时间、位置与海啸标记。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 地震,或打开 数据市场。相关:自然灾害事件、天气预报。

适合做什么

  • 查看工厂、供应商或办公室附近的近期地震。
  • 为风险报告列出某地区、某时段的强震。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → Earthquakes。
  2. 至少填一项:Min Magnitude(如 5)、From/To(YYYY-MM-DD)、Place 或 Latitude + Longitude;Radius (km) 默认 500。
  3. Limit 默认 10,最大 20。执行。

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

用 API 调用

  • GET https://api.duaer.com/v1/data/earthquakes?minMagnitude=6&from=2024-01-01&to=2024-12-31
  • Authorization: Bearer <Duaer key>

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

调用技能(英文)

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

---
name: duaer-earthquakes
description: >-
  Duaer Earthquakes. Earthquakes worldwide from the USGS catalog, filtered by magnitude, dates, and a circle around a place: magnitude, depth, time, location, and tsunami flag.
  One successful search uses 1 Duaer credit.
---

# Duaer Earthquakes

Duaer Earthquakes searches the USGS earthquake catalog, newest first. Without dates it covers the last 30 days. Add a place to search a circle around it.

## When to use

- Check recent quakes near a factory, a supplier, or an office.
- List strong quakes in a region and period for a risk report.

## When not to use

- Real-time alerting within minutes. The catalog updates within minutes to hours.
- Other hazards such as fires and storms. Use https://skills.duaer.com/natural-events.md.

## Call

`GET https://api.duaer.com/v1/data/earthquakes?minMagnitude=6&from=2024-01-01&to=2024-12-31`

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 at least one of `minMagnitude`, `from`, `to`, `place`, or `latitude` with `longitude`.

- `minMagnitude` — Optional. From 0 to 10, such as 5.
- `from` — Optional. First day, YYYY-MM-DD. Default: last 30 days.
- `to` — Optional. Last day, YYYY-MM-DD.
- `place` — Optional. Center of a search circle, such as Tokyo.
- `latitude` — Optional. Circle center latitude instead of a place.
- `longitude` — Optional. Circle center longitude.
- `radiusKm` — Optional. Circle radius from 1 to 20000 km. Default 500 when a center is set.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/earthquakes?minMagnitude=6&from=2024-01-01&to=2024-12-31` — magnitude 6 and above in 2024.
- `GET https://api.duaer.com/v1/data/earthquakes?place=Tokyo&radiusKm=300&minMagnitude=4` — recent quakes within 300 km of Tokyo.

## Result

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

- `eventId` — USGS event id.
- `magnitude`, `magnitudeType` — magnitude and its scale (mww, mb, ml, …).
- `place` — USGS location text.
- `time` — UTC time, ISO 8601.
- `latitude`, `longitude`, `depthKm` — epicenter and depth.
- `tsunami` — true when USGS set the tsunami flag.
- `felt`, `alert` — "Did you feel it?" report count and PAGER alert level, when present.

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/natural-events.md — Duaer Natural events
- https://skills.duaer.com/weather.md — Duaer Weather forecast

常见问题

Duaer 的地震检索扣多少额度?

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

Duaer 地震检索默认查多长时间?

不填日期时,Duaer 查 USGS 目录最近 30 天,按时间从新到旧。

同组