OTD.LOL
Back to Hub

NASA Image of the Day

Science
API

Fetches NASA's Astronomy Picture of the Day (APOD). Each day a different image or photograph of our fascinating universe is featured, along with a brief explanation written by a professional astronomer.

Integration Details

Documentation

View Docs

Example Usage

fetch('https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY')
  .then(response => response.json())
  .then(data => console.log(data.url));