PASAR API

🌐 NASA APOD ~ astronomy picture of the day

← directory
NASAFun & playgroundtier: openauth: no authpricing: freeverified 2026-07-03

NASA migrated APOD to its WordPress APOD Basic feeds in September 2026; the legacy planetary/apod API is scheduled to close on 1 December 2026. The new list route returns an array, supports page/per_page (maximum 25), and uses YYMMDD for date routes and date_from/date_to. The url field is the post permalink; hdurl is the image when present. Preserve image credits and check each image’s reuse rights.

View docs ↗ More Fun & playground APIs

Call it

curl --fail-with-body --location --max-time 30 'https://science.nasa.gov/wp-json/wp/v2/apod-basic?per_page=1'

AI prompt

I'm building an app using a public Southeast Asian API (no private credentials needed).

API: NASA APOD ~ astronomy picture of the day
Provider: NASA
Endpoint: GET https://science.nasa.gov/wp-json/wp/v2/apod-basic?per_page=1
Response format: JSON

Source: NASA (https://api.nasa.gov/)
Source type: Curated source
Endpoint type: Provider API base URL
Integration difficulty: Copy-paste ready
Last checked: 2026-10-19
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.

Related Fun & playground APIs

Radio Browser ~ keyless directory of world radio streamsadsb.lol ~ live aircraft over any point (keyless ADS-B)Open-Meteo Marine ~ keyless wave, swell & sea forecastsWhere The ISS At? ~ live space station positionLaunch Library 2 ~ upcoming rocket launches worldwidewttr.in ~ weather you can curlOpen Notify ~ who is in space right nowJikan ~ keyless MyAnimeList anime & manga dataiTunes Search ~ keyless music, app & podcast lookupDeezer ~ keyless music search, charts & previews