A building block for your next idea.
Create an astronomy-of-the-day viewer that retains the media credit.
Know before you build
DEMO_KEY is for limited exploration; register for your own key for regular use. APOD can include third-party copyrighted media.
Check current provider documentation ↗Your first request
Start with this documented example. Replace credential placeholders with your own test credentials. Browser execution depends on the provider’s CORS policy.
curl --request GET 'https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY'Practical questions
What can I build with NASA Open APIs?+
Create an astronomy-of-the-day viewer that retains the media credit.
Does NASA Open APIs need authentication?+
The reviewed example is listed as “API key”. DEMO_KEY is for limited exploration; register for your own key for regular use. APOD can include third-party copyrighted media.
Can I call NASA Open APIs from a browser?+
Browser access depends on the provider’s CORS policy for your origin, method, and headers. The playground makes a direct request and cannot bypass those restrictions.
Sources & confidence
Provider documentation was reviewed on 16 September 2026. This is not a live availability test or an endorsement.
Source catalogs can become outdated. Read our review and attribution policy. Plain-text guide ↗