Duaer

入门

在 Duaer 里查NASA 太阳耀斑

在 Duaer 里:NASA DONKI:近期太阳耀斑的等级、峰值时间、日面位置与活动区编号。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「NASA 太阳耀斑」:NASA DONKI:近期太阳耀斑的等级、峰值时间、日面位置与活动区编号。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → NASA 太阳耀斑,或打开 数据市场。相关:空间天气预警、全球地磁 Kp 指数。

适合做什么

  • 查看本周是否发生强耀斑。
  • 列出近三个月的 X 级耀斑。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → NASA solar flares。
  2. 填 Last Days(如 30);Minimum Class 可选(C、M 或 X)。
  3. Limit 默认 10,最大 20。执行。

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

用 API 调用

  • GET https://api.duaer.com/v1/data/solar-flares?days=30
  • Authorization: Bearer <Duaer key>

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

调用技能(英文)

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

---
name: duaer-solar-flares
description: >-
  Duaer NASA solar flares. NASA DONKI: recent solar flares with class, peak time, source location, and active region.
  One successful search uses 1 Duaer credit.
---

# Duaer NASA solar flares

Duaer NASA solar flares lists flares from the NASA DONKI database, newest first. Class runs A, B, C, M, X; M and X flares can disturb radio and GPS. Duaer holds the upstream API key; you only send your Duaer key.

## When to use

- Check whether a strong flare happened this week.
- List X-class flares of the last three months.

## When not to use

- Official alerts and warnings. Use https://skills.duaer.com/space-weather.md.
- Geomagnetic storm level. Use https://skills.duaer.com/kp-index.md.

## Call

`GET https://api.duaer.com/v1/data/solar-flares?days=30`

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 `days` or `minClass`.

- `days` — Optional. Flares in the last N days, 1 to 90. Default 30.
- `minClass` — Optional. `C`, `M`, or `X`.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/solar-flares?days=30` — flares of the last 30 days.
- `GET https://api.duaer.com/v1/data/solar-flares?days=90&minClass=M` — M and X flares of the last 90 days.

## Result

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

- `flareId`, `classType` — DONKI id and class such as M1.2.
- `beginTime`, `peakTime`, `endTime` — UTC times.
- `sourceLocation`, `activeRegion` — position on the Sun and NOAA region.
- `instruments` — instruments that saw it.

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/space-weather.md — Duaer Space weather alerts
- https://skills.duaer.com/kp-index.md — Duaer Planetary Kp index

常见问题

Duaer 的NASA 太阳耀斑检索扣多少额度?

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

Duaer NASA 太阳耀斑的等级是什么意思?

耀斑按 A、B、C、M、X 递增,每级强约十倍;M 与 X 级可能干扰无线电与卫星定位。

同组