GETFree API Key·CORS Ready·Verified 2026-12-02
NASA Open APIs (APOD & Mars)
Astronomy Picture of the Day, Near-Earth asteroid orbits, Mars Rover photos, and Earth satellite imagery.
Live JSON Playground & Client Code
GETNASA Open APIs (APOD & Mars)
https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY// Click "Send Live Request" to call this endpoint live from your browser:
// GET https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY
// Auth: Free API Key | CORS: CORS Ready
// Rate limit: DEMO_KEY 30/hr · Free key 1,000/hrLimit: DEMO_KEY 30/hr · Free key 1,000/hrCommercial: Yes (Public Domain)
Production Integration Checklist
- Store your free API key in server-side environment variables or an edge Worker instead of client bundles.
- Browser CORS is enabled. Avoid unnecessary custom headers to skip extra OPTIONS preflight latency.
- Documented rate limit: "DEMO_KEY 30/hr · Free key 1,000/hr". Always pair requests with an 8s timeout and shared HTTP caching to avoid 429 errors.
- Commercial license note: Yes (Public Domain). Verify attribution wording in official docs before production launch.