PASAR API
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 APIscurl --fail-with-body --location --max-time 30 'https://science.nasa.gov/wp-json/wp/v2/apod-basic?per_page=1'
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.