---
title: "NASA Image and Video Library"
description: "How nasa-mcp searches images.nasa.gov and resolves asset file URLs: paging window, https rewriting, media credit and citation."
type: Reference
tags:
  - images
  - video
  - media
  - service
generated:
  by: "claude/opus-5.5"
  at: "2026-11-27T00:00:00Z"
sources:
  - id: design
    resource: "DESIGN.md"
    title: "nasa-mcp design"
    author: "team:nasa-mcp"
  - id: research
    resource: "RESEARCH.md"
    title: "nasa-mcp research notes (upstream services, 2026-11-27)"
    author: "team:nasa-mcp"
  - id: catalog
    resource: "src/nasa_mcp/providers/catalog.py"
    title: "nasa-mcp service catalogue"
    author: "team:nasa-mcp"
  - id: images-docs
    resource: "https://images.nasa.gov/docs/images.nasa.gov_api_docs.pdf"
    title: "NASA Image and Video Library API"
    author: "team:nasa"
status: stable
stale_after: "2027-05-27T00:00:00Z"
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# 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](../tools/reference.md).

## Quirks handled

* The search window is **10,000 results**: `page * page_size` above that is a 400 upstream, so the
  server bounds `page` and `page_size` (each at most 100).
* A search needs `q` or another keyword field.
* Asset hrefs arrive as `http://`; they are rewritten to `https://`. 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/.
