# NASA Exoplanet Archive Search

> NASA Exoplanet Archive Search is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-09-14).

Search and filter confirmed exoplanets from the NASA Exoplanet Archive (~6,000 planets, updated weekly) with detailed orbital, physical, and stellar parameters

## Facts

- Endpoint: GET https://2s.io/api/space/exoplanet
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nasa-exoplanet-archive-search-c8f640d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lOa85GKi8XiUlQ6vno4ma

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-exoplanet-archive-search-c8f640d2
```

Example prompt: Can you pull up all confirmed exoplanets discovered via the Transit method around TRAPPIST-1, with their orbital periods, radii, equilibrium temperatures, and distance from Earth?

## When to prefer this

Use this endpoint when you need up-to-date confirmed exoplanet data beyond any LLM training cutoff, especially for filtering by discovery method, host star, or year; when you need detailed physical parameters (radius, mass, temperature, insolation) for habitability analysis; or when RA/dec coordinates and stellar properties are required for astronomy or science education tasks.

## Known failure modes

- No matching planets found for the given filters — returns empty result set
- Invalid discoveryYear outside range 1989–2030 — schema validation error
- Limit parameter outside 1–100 — schema validation error
- Partial name or hostStar string with no matches — empty results
- Network or upstream NASA Archive unavailability — service error

## How this service works

Search confirmed exoplanets in the NASA Exoplanet Archive (~6,000, updated weekly — past any LLM training cutoff). Filter by name (planet, partial), hostStar (partial), discoveryYear, or method (e.g. "Transit", "Radial Velocity", "Microlensing"). Each planet: name, host star + how many stars/planets in the system, discovery method/year/facility, orbital period, semi-major axis, radius (Earth radii), mass (Earth masses), equilibrium temperature, insolation; host-star spectral type/temperature/radius/mass; distance in parsecs + light-years; and RA/dec. Astronomy, habitability research, science education. Public-domain NASA data.

## Output

A list of confirmed exoplanet records (up to 100 per call) each containing: planet name, host star name, number of stars and planets in the system, discovery method, discovery year and facility, orbital period, semi-major axis, planet radius in Earth radii, planet mass in Earth masses, equilibrium temperature, insolation flux, host star spectral type/temperature/radius/mass, and the system's distance in both parsecs and light-years plus RA/dec coordinates.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "name": "Kepler-22",
   "limit": 10,
   "method": "Transit"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "name": {
       "type": "string",
       "description": "Planet name, partial match (e.g. \"Kepler-22 b\", \"TRAPPIST-1\")."
      },
      "limit": {
       "type": "integer",
       "default": 20,
       "maximum": 100,
       "minimum": 1
      },
      "method": {
       "type": "string",
       "description": "Discovery method, e.g. \"Transit\", \"Radial Velocity\"."
      },
      "hostStar": {
       "type": "string",
       "description": "Host star name, partial match."
      },
      "discoveryYear": {
       "type": "integer",
       "maximum": 2030,
       "minimum": 1989
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nasa-exoplanet-archive-search-c8f640d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
