NASA Image and Video Library (images)¶
NASA's image, video and audio archive at images.nasa.gov.
Endpoint¶
https://images-api.nasa.gov/search, /asset/{nasa_id}, /metadata/{nasa_id}, and metadata files on images-assets.nasa.gov (RESEARCH.md ยง11).
Key use¶
None. This service is called on its own host; it does not spend api.nasa.gov quota.
Tools¶
| Tool | What it returns |
|---|---|
nasa_images_search |
items matching text, keywords, center, photographer, media type and year range: nasa_id, title, date, center, short description, keywords, preview URL |
nasa_images_asset |
every file of one item (original, large, medium, small, thumbnail, video encodings, captions) as URLs, optionally with its AVAIL:* metadata |
Inputs and result fields: Tool reference.
Quirks handled¶
- The search window is 10,000 results:
page * page_sizeabove that is a 400 upstream, so the server boundspageandpage_size(each at most 100). - A search needs
qor another keyword field. - Asset hrefs arrive as
http://; they are rewritten tohttps://. Some ids and hrefs contain spaces. - Unknown ids answer 404 and are reported as
not_found. - Assets and metadata are cached 7 days (
archive).
Items can include third-party material; check the description and photographer before reuse.
Citation¶
source.citation:
NASA Image and Video Library (https://images.nasa.gov/). NASA content is generally not copyrighted; credit NASA (and the named mission or photographer) and do not imply NASA endorsement. See https://www.nasa.gov/nasa-brand-center/images-and-media/.