Skills
在 Duaer 里查NASA 每日天文图
在 Duaer 里:NASA 每日天文图(APOD):某一天或连续多天的天文图片或视频及其讲解。一次成功查询用 1 额度。
能拿到什么
每条结果含 date、mediaType、imageUrl、thumbnailUrl、copyright、explanation 等字段,并附来源链接。
密钥
调用前先获取 Duaer 密钥.
调用技能
下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。
---
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