入门
在 Duaer 里查NASA 每日天文图
在 Duaer 里:NASA 每日天文图(APOD):某一天或连续多天的天文图片或视频及其讲解。一次成功查询用 1 额度。
能拿到什么
Duaer 数据市场里的「NASA 每日天文图」:NASA 每日天文图(APOD):某一天或连续多天的天文图片或视频及其讲解。查到结果时用 1 额度,结果交给数字组织的下一个节点。
从节点创建器选 Duaer 数据 → NASA 每日天文图,或打开 数据市场。相关:系外行星、NASA 太阳耀斑。
适合做什么
- 在简报或应用里展示每日天文图。
- 汇总一周的 APOD 图片及其署名。
在画布里检索
- 打开节点创建器,选 Duaer 数据 → NASA Astronomy Picture of the Day。
- 填 Days(如 7);Date 可选(如 2026-09-28)。
- Limit 默认 10,最大 20。执行。
查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。
用 API 调用
- GET https://api.duaer.com/v1/data/apod?days=1
- Authorization: Bearer <Duaer key>
下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。
调用技能(英文)
与数据市场「复制技能」一致。
---
name: duaer-apod
description: >-
Duaer NASA Astronomy Picture of the Day. NASA APOD: the daily astronomy image or video with its explanation, for one day or a range of days.
One successful search uses 1 Duaer credit.
---
# Duaer NASA Astronomy Picture of the Day
Duaer NASA Astronomy Picture of the Day returns the APOD entry for a day or a run of days, newest first, with the image link and the explanation. Duaer holds the upstream API key; you only send your Duaer key.
## When to use
- Show the astronomy picture of the day in a newsletter or app.
- Collect a week of APOD images with credits.
## When not to use
- Asteroid data. Use https://skills.duaer.com/small-bodies.md.
- Space weather. Use https://skills.duaer.com/solar-flares.md.
## Call
`GET https://api.duaer.com/v1/data/apod?days=1`
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 `date` or `days`.
- `date` — Optional. YYYY-MM-DD from 1995-06-16. Default is the latest picture.
- `days` — Optional. Pictures for this many days ending on `date`, 1 to 20. Default 1.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/apod?days=1` — the latest picture.
- `GET https://api.duaer.com/v1/data/apod?date=2026-09-28&days=7` — the week ending 28 September 2026.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `date`, `mediaType` — day and image or video.
- `imageUrl`, `thumbnailUrl` — full image (or video) and video thumbnail.
- `copyright` — credit; empty means public domain.
- `explanation` — the APOD text.
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/exoplanets.md — Duaer Exoplanets
- https://skills.duaer.com/solar-flares.md — Duaer NASA solar flares
常见问题
Duaer 的NASA 每日天文图检索扣多少额度?
查到结果时扣 1 额度;没有结果或出错不扣。
Duaer NASA 每日天文图的图片能直接用吗?
署名为空的是公有领域图片;有 copyright 的请按作者要求使用。Duaer 返回原图链接与署名。
同组