[Integrations](https://spiral.ai/integrations) › [ChatGPT](https://spiral.ai/integrations/chatgpt) › [NASA Exoplanet Archive planet search](https://spiral.ai/integrations/chatgpt/nasa-exoplanet-archive-planet-search)

# How to Use NASA Exoplanet Archive planet search in ChatGPT

Returns exoplanets matching physical, distance, host-star, or discovery-method criteria. Use it to build a comparison sample or find nearby worlds when you have properties in mind instead of a planet name.

|  |  |
| --- | --- |
| Model | NASA Exoplanet Archive planet search |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NASA Exoplanet Archive planet search in ChatGPT

- Use NASA Exoplanet Archive planet search to show the 10 nearest planets within 10 parsecs, ordered from nearest to farthest, with their returned distances and masses.
- Use NASA Exoplanet Archive planet search to find 15 planets discovered by microlensing, newest discoveries first, and summarize their returned masses and distances.
- Use NASA Exoplanet Archive planet search to look this up and give me the result as a table.
- Pull the latest numbers from NASA Exoplanet Archive planet search and tell me what changed since last week.
- Check NASA Exoplanet Archive planet search and summarize what you find in three bullet points.

## How to set up NASA Exoplanet Archive planet search in ChatGPT

Pick the way that suits you. Each takes about two minutes.

### Use the ChatGPT connector

1. **Add a custom MCP server**: In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

```text
https://api.spiral.ai/mcp
```

2. **Click Connect**: ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

3. **Sign in to Spiral and approve**: Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

### Use the Spiral skill

1. **Send ChatGPT this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run NASA Exoplanet Archive planet search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "exoplanetarchive-ipac-caltech-edu/exoplanets/search_planets",
    "input": {
      "sort": "newest"
    }
  }'
```

Then paste one of the prompts above: ChatGPT finds NASA Exoplanet Archive planet search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/chatgpt

## NASA Exoplanet Archive planet search tools and prices

- [NASA Exoplanet Archive · Search planets](https://spiral.ai/tools/alexandria/exoplanetarchive-ipac-caltech-edu/exoplanets/search_planets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | newest, oldest, nearest, smallest_radius, largest_radius, shortest_period, longest_period, name | newest | Order: newest or oldest discovery publication, nearest system, radius or orbital period ascending/descending, or name. Numeric sorts leave out planets without that value. |
| limit | 1 to 100 | 25 | Planets to return (1 to 100). |
| host_name |  | — | Only planets of this host star (case and spaces ignored). |
| mass_earth_max | 0 to … | — | Highest mass in Earth masses (planets with no mass value are excluded when set) (inclusive). |
| mass_earth_min | 0 to … | — | Lowest mass in Earth masses (planets with no mass value are excluded when set) (inclusive). |
| distance_pc_max | 0 to … | — | Highest system distance in parsecs (1 pc = 3.26 light years) (inclusive). |

## What can you do with NASA Exoplanet Archive planet search in ChatGPT?

Prepare an astronomy comparison grounded in the archive's published planet and host-star data. A chat assistant can explain a named world, compare planets around one star, or turn a filtered sample into a readable table.

### Check an astronomy article

Check a named planet's reported properties, compare it with the other planets around its host star, and find a comparison sample before describing it as unusually small or massive.

### Build a classroom comparison

Prepare a lesson around Kepler-186 f, the Kepler-186 system, or a sample of similarly sized planets. Compare returned radii and orbital periods in a table students can read.

### Refresh a planetarium script

Replace old planet measurements in a script with current archive values. Check a featured world, review its host system, or choose examples from a nearby-planet search.

### Maintain an exoplanet reference app

Populate planet detail views, system comparison tables, and filtered browsing results. Keep Earth-radius units visible and distinguish minimum masses wherever the returned data identifies them.

### Find comparisons for a featured planet

Start with a world such as Kepler-186 f, then search for planets in a similar radius range. Use the returned measurements to explain what the examples share.

### Compare planetary system layouts

Build orbital-period and radius tables for TRAPPIST-1 and Kepler-90, or search each host separately for a narrower comparison. Use the results to choose examples for a system architecture lesson.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All ChatGPT guides](https://spiral.ai/integrations/chatgpt)

## NASA Exoplanet Archive planet search in other agents

- [Amp](https://spiral.ai/integrations/amp/nasa-exoplanet-archive-planet-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/nasa-exoplanet-archive-planet-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/nasa-exoplanet-archive-planet-search)
- [Cline](https://spiral.ai/integrations/cline/nasa-exoplanet-archive-planet-search)
- [Codex](https://spiral.ai/integrations/codex/nasa-exoplanet-archive-planet-search)
- [Cursor](https://spiral.ai/integrations/cursor/nasa-exoplanet-archive-planet-search)
- [Devin](https://spiral.ai/integrations/devin/nasa-exoplanet-archive-planet-search)
- [dots](https://spiral.ai/integrations/dots/nasa-exoplanet-archive-planet-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nasa-exoplanet-archive-planet-search)
- [Gemini](https://spiral.ai/integrations/gemini/nasa-exoplanet-archive-planet-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nasa-exoplanet-archive-planet-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nasa-exoplanet-archive-planet-search)
- [goose](https://spiral.ai/integrations/goose/nasa-exoplanet-archive-planet-search)
- [Grok](https://spiral.ai/integrations/grok/nasa-exoplanet-archive-planet-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/nasa-exoplanet-archive-planet-search)
- [Hermes](https://spiral.ai/integrations/hermes/nasa-exoplanet-archive-planet-search)
- [Instinct](https://spiral.ai/integrations/instinct/nasa-exoplanet-archive-planet-search)
- [Manus](https://spiral.ai/integrations/manus/nasa-exoplanet-archive-planet-search)
- [Muse](https://spiral.ai/integrations/muse/nasa-exoplanet-archive-planet-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/nasa-exoplanet-archive-planet-search)
- [n8n](https://spiral.ai/integrations/n8n/nasa-exoplanet-archive-planet-search)
- [Notion](https://spiral.ai/integrations/notion/nasa-exoplanet-archive-planet-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nasa-exoplanet-archive-planet-search)
- [opencode](https://spiral.ai/integrations/opencode/nasa-exoplanet-archive-planet-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/nasa-exoplanet-archive-planet-search)
- [Raycast](https://spiral.ai/integrations/raycast/nasa-exoplanet-archive-planet-search)
- [VS Code](https://spiral.ai/integrations/vscode/nasa-exoplanet-archive-planet-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/nasa-exoplanet-archive-planet-search)
- [Zapier](https://spiral.ai/integrations/zapier/nasa-exoplanet-archive-planet-search)

## More ChatGPT guides

- [NASA Exoplanet Archive planet details](https://spiral.ai/integrations/chatgpt/nasa-exoplanet-archive-planet-details)
- [NASA Exoplanet Archive planetary system](https://spiral.ai/integrations/chatgpt/nasa-exoplanet-archive-planetary-system)
- [Montana tax report status](https://spiral.ai/integrations/chatgpt/montana-tax-report-status)
- [NASA FIRMS fire file status](https://spiral.ai/integrations/chatgpt/nasa-firms-fire-file-status)
- [Montana county tax tables](https://spiral.ai/integrations/chatgpt/montana-county-tax-tables)
- [NASA FIRMS local fire detections](https://spiral.ai/integrations/chatgpt/nasa-firms-local-fire-detections)

## Questions about NASA Exoplanet Archive planet search in ChatGPT

**Can ChatGPT use NASA Exoplanet Archive planet search?**

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run NASA Exoplanet Archive planet search like any built-in tool.

**How much does NASA Exoplanet Archive planet search cost in ChatGPT?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.

**Do I need an Alexandria account to use NASA Exoplanet Archive planet search in ChatGPT?**

No. Spiral runs NASA Exoplanet Archive planet search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NASA Exoplanet Archive planet search in ChatGPT?**

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

**Does ChatGPT wait while NASA Exoplanet Archive planet search runs?**

NASA Exoplanet Archive planet search runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.

**How fresh are the planet and star measurements?**

The archive generally adds new planets and updated planetary and stellar data weekly. It sometimes skips a week, so updates do not follow a guaranteed seven-day schedule.

**What mass range does the archive classify as planetary?**

Its inclusion criteria require a mass, or minimum mass, of no more than 30 Jupiter masses. That boundary helps explain why an object described as a planet elsewhere might be absent.

**Where do the measurements come from?**

The archive collects parameter sets for planets, their orbits, and their host systems from refereed literature. These are published scientific results rather than a continuous stream of telescope measurements.

**Can all values in a planet record be used together in a physical model?**

Use caution with composite data: the archive combines values from different references to fill gaps, and the resulting parameter set may not be internally consistent. Its documentation recommends the Planetary Systems table when a self-consistent published solution is needed.

**Does a reported planet mass always mean its true mass?**

No. The archive distinguishes true mass from the minimum mass measured through radial velocity, expressed as mass times the sine of orbital inclination. Keep that distinction when comparing planets by mass.

