[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [NASA Exoplanet Archive planetary system](https://spiral.ai/integrations/n8n/nasa-exoplanet-archive-planetary-system)

# How to Use NASA Exoplanet Archive planetary system in n8n

Returns a planetary system's planets and host-star data from the NASA Exoplanet Archive. Use it to compare planets around one star, such as TRAPPIST-1, or put a planet's properties in context.

|  |  |
| --- | --- |
| Model | NASA Exoplanet Archive planetary system |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with NASA Exoplanet Archive planetary system in n8n

- Every Friday, use NASA Exoplanet Archive planetary system for TRAPPIST-1 and report changes in the returned planet list or orbital periods.
- Once a month, use NASA Exoplanet Archive planetary system for Kepler-90 and summarize changes in the returned planet radii and host-star properties.
- Every Monday at 9am: use NASA Exoplanet Archive planetary system to look this up and give me the result as a table.
- Pull the latest numbers from NASA Exoplanet Archive planetary system and tell me what changed since last week.
- Check NASA Exoplanet Archive planetary system and summarize what you find in three bullet points.

## How to set up NASA Exoplanet Archive planetary system in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run NASA Exoplanet Archive planetary system in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds NASA Exoplanet Archive planetary system, prices it and runs it each time the step fires.

### 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 planetary system**: 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/get_system",
    "input": {
      "host_name": "<host_name>"
    }
  }'
```

Then paste one of the prompts above: n8n finds NASA Exoplanet Archive planetary system on Spiral, shows the price and runs it.

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

## NASA Exoplanet Archive planetary system tools and prices

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

## What can you do with NASA Exoplanet Archive planetary system in n8n?

Keep an astronomy reference current by checking for changes in archive planet and stellar data. A scheduled agent can compare successive results for a planet, a system, or a defined sample while accounting for the archive's usual weekly updates.

### 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.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## NASA Exoplanet Archive planetary system in other agents

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

## More n8n guides

- [NASA Exoplanet Archive planet search](https://spiral.ai/integrations/n8n/nasa-exoplanet-archive-planet-search)
- [NASA FIRMS fire file status](https://spiral.ai/integrations/n8n/nasa-firms-fire-file-status)
- [NASA Exoplanet Archive planet details](https://spiral.ai/integrations/n8n/nasa-exoplanet-archive-planet-details)
- [NASA FIRMS local fire detections](https://spiral.ai/integrations/n8n/nasa-firms-local-fire-detections)
- [Montana tax report status](https://spiral.ai/integrations/n8n/montana-tax-report-status)
- [NASA FIRMS regional fire detections](https://spiral.ai/integrations/n8n/nasa-firms-regional-fire-detections)

## Questions about NASA Exoplanet Archive planetary system in n8n

**Can n8n use NASA Exoplanet Archive planetary system?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run NASA Exoplanet Archive planetary system like any built-in tool.

**How much does NASA Exoplanet Archive planetary system cost in n8n?**

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

**Do I need an Alexandria account to use NASA Exoplanet Archive planetary system in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs NASA Exoplanet Archive planetary system on its own Alexandria account.

**How long does it take to set up NASA Exoplanet Archive planetary system in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while NASA Exoplanet Archive planetary system runs?**

NASA Exoplanet Archive planetary system runs in the background. n8n 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.

