Skills
在 Duaer 里查NASA 太阳耀斑
在 Duaer 里:NASA DONKI:近期太阳耀斑的等级、峰值时间、日面位置与活动区编号。一次成功查询用 1 额度。
能拿到什么
每条结果含 flareId、classType、beginTime、peakTime、endTime、sourceLocation、activeRegion、instruments 等字段,并附来源链接。
密钥
调用前先获取 Duaer 密钥.
调用技能
下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。
---
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