api.nasa.gov API: get_apod
api.nasa.gov via Parse · government_public
Get the Astronomy Picture of the Day (APOD) metadata. Returns a single APOD object when date is specified, or a wrapped array ({items: [...]}) when start_date/end_date or count is used. The primary use case is fetching by a single date. Parameters date, count, and start_date/end_date are mutually exclusive; date takes priority. Access NASA's open data APIs including APOD, NEO asteroids, EPIC Earth imagery, InSight Mars weather, NASA Image Library, Exoplanet Archive, and EONET natural events. Fulfilled by Parse from api.nasa.gov.
- api-nasa-gov
- government-public
- maps-geo
- parse
- platform-key
- weather
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- government_public
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/6db36254-5228-41a6-82a1-a7102cd098e8/get_apod
- Interface artifact
- sha256:8b83d19189d2f86ff21259d5a83bae82e8e959068589c104ca4bd794faea91f2
- Manifest digest
- sha256:d07c78c98af4557438e7eb89fe777570adebf7fbc81836c58722c5f66371d874
Request fields
- date (string): Date of the APOD image in YYYY-MM-DD format. Cannot be used with start_date/end_date or count. Takes priority if multiple are provided.
- count (integer): Return a specified number of random APOD images wrapped in {items: [...]}. Cannot be used with date or start_date/end_date.
- thumbs (boolean): Return URL of video thumbnail if media_type is video.
- end_date (string): End date for a range of APODs in YYYY-MM-DD format. Used with start_date. Cannot be used with date or count.
- start_date (string): Start date for a range of APODs in YYYY-MM-DD format. Used with end_date. Cannot be used with date or count.
Example queries
- {"date":"2026-05-24","end_date":"2026-05-26","start_date":"2026-05-24"}