NASA APOD
Astronomy Picture of the Day, straight from NASA.
NASA’s Astronomy Picture of the Day API returns the daily image with its explanation and metadata. A DEMO_KEY works instantly for prototyping; a free personal key raises the limits. Public-domain data, explicit yes to commercial use — one of the friendliest licenses in the catalog.
GET https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY
{
"date": "2026-07-03",
"title": "The Heart Nebula in Hydrogen and Oxygen",
"media_type": "image",
"url": "https://apod.nasa.gov/apod/image/2607/HeartNebula.jpg"
}curl "https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY"const res = await fetch("https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY")
print(res.json())/planetary/apod?api_key=DEMO_KEYPROBEDAstronomy Picture of the Day.
/neo/rest/v1/feed?start_date=2026-01-01&end_date=2026-01-07&api_key=DEMO_KEYNear-Earth object close approaches.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
NASA APOD: common questions
Is NASA APOD free to use?
Yes — NASA APOD is a free science & space API. Free tier: 1,000 req/hour with free key. Commercial use is allowed on the free tier.
Does NASA APOD need an API key?
Yes — NASA APOD needs a free API key, which you pass on each request. Rate limits: DEMO_KEY: 30/hour, 50/day.
Can I call NASA APOD from the browser?
Yes — NASA APOD returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is NASA APOD up right now?
As of our last scheduled check, NASA APOD is healthy. We re-probe it every sweep — the status badge and uptime chart above always show the latest.