NASA APOD

Astronomy Picture of the Day, straight from NASA.

🔭 Science & SpaceHEALTHYchecked 2h ago
AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL

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.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · healthy
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
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"
}
Call itcurl · fetch · python
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())
Endpoints · 2HealthyFULL DOCS ↗
Monitored path responding — GET /planetary/apod?api_key=DEMO_KEYchecked 2h ago
GET/planetary/apod?api_key=DEMO_KEYPROBED

Astronomy Picture of the Day.

GET/neo/rest/v1/feed?start_date=2026-01-01&end_date=2026-01-07&api_key=DEMO_KEY

Near-Earth object close approaches.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

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.