NASA Image and Video Library API
by images.nasa.gov
Video
Added on November 5th, 2026
Checked and working on November 5th, 2026
Visit images.nasa.gov →
What it does
The NASA Image and Video Library API searches NASA's public collection of videos, images and audio, for example to show launch footage or mission videos on an educational site. Search by keyword, media type, NASA centre and year with GET /search, then fetch the files of an item from its collection.json. Responses are JSON. Free, no key needed. Most NASA media is not copyrighted, but the NASA logo and some third-party items have their own rules.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- images.nasa.gov
- Last checked
- Working on November 5th, 2026
More information: https://images.nasa.gov/docs/images.nasa.gov_api_docs.pdf
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://images-api.nasa.gov/search?q=apollo%2011&media_type=video'
JavaScript
const response = await fetch("https://images-api.nasa.gov/search?q=apollo%2011&media_type=video");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://images-api.nasa.gov/search?q=apollo%2011&media_type=video",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.