Astronomy Picture of the Day (apod)¶
A daily image or video of the cosmos with an astronomer's explanation, since 1995-06-16. The archive has gaps in its early years.
Endpoint¶
https://science.nasa.gov/wp-json/wp/v2/apod-basic (a list, newest first) and
.../apod-basic/{YYMMDD} (one day). The legacy api.nasa.gov/planetary/apod goes offline on
2026-12-01 and on 2026-11-27 already returned wrong content (title "NASA Science", the NASA logo
as image, another day's explanation), so nasa-mcp does not use it (RESEARCH.md ยง2).
Key use¶
None. This service is called on its own host; it does not spend api.nasa.gov quota.
Tools¶
| Tool | What it returns |
|---|---|
nasa_apod_get |
the latest picture, one date, or a start_date/end_date range (25 per page): title, date, imageUrl, videoUrl, article link, credit, copyright and the explanation |
Inputs and result fields: Tool reference.
Quirks handled¶
- The live parameters are
page,per_page(1-25; larger values silently return 25) anddate_from/date_toin YYMMDD (two-digit years 95-99 mean 1995-1999). The documenteddate,start_date,end_dateandcountare silently ignored. The server converts yourYYYY-MM-DDdates. - A missing day answers 404
apod_basic_not_found, reported asnot_found("no APOD for this date"). - The upstream
urlis the article page, not the image:imageUrlcomes fromhdurl. For videoshdurlis a still; the MP4 is read from the embeddedbasic_html, which is then dropped (about 90 % of the payload). - HTML is stripped from
explanation,creditandcopyright. - Past days are cached 7 days (
archive), today's for 1 hour. - Not offered: the legacy
count(random pictures),thumbsandconcept_tags.
Every result also notes that APOD images may be copyrighted by their authors (see copyright).
Citation¶
source.citation:
Astronomy Picture of the Day, NASA / Michigan Technological University (https://apod.nasa.gov/). Credit the image author named in the copyright field.