# NASA Media Library – Mars Rover & Lander Media Search

> NASA Media Library – Mars Rover & Lander Media Search is a paid API for AI agents from nasa-media.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Search NASA's image, video, and audio library filtered to Mars rovers and landers, with optional topic keywords and year range filters.

## Facts

- Endpoint: GET https://nasa-media.x402tookit.com/mars-media?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nasa-media-library-mars-rover-lander-media-search-eb2cd369
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FIUdWsmpmV9R2K7ubVYVw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nasa-media-library-mars-rover-lander-media-search-eb2cd369
```

Example prompt: Can you find me up to 15 NASA images of the Perseverance rover taking a selfie, from 2021 to 2023?

## When to prefer this

Use this endpoint when the user specifically wants NASA media (images, video, or audio) related to Mars rovers or landers (Sojourner, Spirit, Opportunity, Curiosity, Perseverance, Ingenuity, InSight, Phoenix). Prefer this over the general NASA media search endpoint when the query is Mars-rover-specific, as this endpoint has built-in rover filtering that reduces noise. Choose the general search endpoint for non-Mars NASA content.

## Known failure modes

- Invalid rover name returns empty results or error
- Year range outside 1990–2100 is rejected
- Topic string exceeding 60 characters may be truncated or rejected
- Requesting more than 25 results returns an error
- No results found for highly specific keyword/rover/year combinations
- API rate limiting or upstream NASA library unavailability causing degraded response

## How this service works

Find Mars rover and lander images, video and audio in NASA's library by rover, with extra words and year filters.

## Output

Returns a list of up to 25 NASA media items, each including title, NASA ID, media type, thumbnail URL, collection URL, date created, keywords, description, NASA center, and year. Also includes a summary, source attribution, and degradation/availability flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "n": {
       "type": "integer",
       "description": "Results to return, 1 to 25, default 10"
      },
      "rover": {
       "type": "string",
       "description": "sojourner, spirit, opportunity, curiosity, perseverance, ingenuity, insight or phoenix; default any Mars rover"
      },
      "topic": {
       "type": "string",
       "description": "Extra words such as selfie, panorama, drill, up to 60 characters"
      },
      "year_end": {
       "type": "integer",
       "description": "Last year of date created, 1990 to 2100"
      },
      "media_type": {
       "type": "string",
       "description": "image, video or audio (comma-separate for several); default image"
      },
      "year_start": {
       "type": "integer",
       "description": "First year of date created, 1990 to 2100"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "items": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "year": {
          "type": [
           "null",
           "number"
          ]
         },
         "title": {
          "type": [
           "null",
           "string"
          ]
         },
         "center": {
          "type": [
           "null",
           "string"
          ]
         },
         "nasaId": {
          "type": [
           "null",
           "string"
          ]
         },
         "keywords": {
          "type": [
           "array",
           "null"
          ],
          "items": {
           "type": "string"
          }
         },
         "location": {},
         "copyright": {},
         "mediaType": {
          "type": [
           "null",
           "string"
          ]
         },
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nasa-media-library-mars-rover-lander-media-search-eb2cd369/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nasa-media.x402tookit.com](https://www.zero.xyz/host/nasa-media.x402tookit.com/llms.txt)
