[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [JPL Horizons object lookup](https://spiral.ai/integrations/perplexity/jpl-horizons-object-lookup)

# How to Use JPL Horizons object lookup in Perplexity

Returns matching solar system objects with names, identifiers, categories, and aliases. Use it to distinguish targets such as the Juno spacecraft and asteroid before requesting object details or calculated positions.

|  |  |
| --- | --- |
| Model | JPL Horizons object lookup |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with JPL Horizons object lookup in Perplexity

- Use JPL Horizons object lookup to explain which objects match Halley and identify the comet separately from the asteroid.
- Use JPL Horizons object lookup to look this up and give me the result as a table.
- Pull the latest numbers from JPL Horizons object lookup and tell me what changed since last week.
- Check JPL Horizons object lookup and summarize what you find in three bullet points.
- Pull the newest data from JPL Horizons object lookup and give me the result as a table.

## How to set up JPL Horizons object lookup in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

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

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 JPL Horizons object lookup**: 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": "ssd-jpl-nasa-gov/ephemerides/lookup_object",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Perplexity finds JPL Horizons object lookup on Spiral, shows the price and runs it.

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

## JPL Horizons object lookup tools and prices

- [JPL Horizons ephemerides · Lookup object](https://spiral.ai/tools/alexandria/ssd-jpl-nasa-gov/ephemerides/lookup_object) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| group | ast, com, pln, sat, sct, mb, sb | — | Limit to one group: ast asteroids, com comets, pln planets, sat natural satellites, sct spacecraft, mb major bodies, sb small bodies. |

## What can you do with JPL Horizons object lookup in Perplexity?

Get an observing plan or a dated explanation of a solar system object's motion. A chat app can explain Horizons identities, physical facts, sky positions, and orbital geometry in the same conversation.

### Prepare a planetarium presentation

Identify Mars, collect its physical summary, and calculate its sky position for the presentation date. Use orbital geometry and three-dimensional coordinates to connect the audience's view with Mars's position around the Sun.

### Build an asteroid briefing

Resolve Apophis and its historical designation, summarize available physical and orbit information, and calculate its sky position for a chosen date. Add orbit elements and Earth-relative vectors to explain its geometry and distance.

### Create a lesson on orbit geometry

Identify Earth and Mars, compare their physical summaries, and examine their orbit elements and positions on matching dates. Contrast the resulting spatial diagram with their apparent sky positions as seen from Earth.

### Check an orbital simulation

Confirm the simulated target's identity and inspect its source summary. Compare modeled orbital elements and Cartesian positions and velocities with Horizons results at the same epochs.

### Prepare an observing run

Resolve a comet's identity and read its available physical and solution notes. Calculate sky coordinates, brightness, distance, and elevation from the observatory throughout the planned session.

### Explain a spacecraft's journey

Identify Voyager 1 and read its trajectory notes before building a dated mission explainer. Use Earth-view coordinates, heliocentric orbit geometry, and position and velocity vectors to describe its direction, distance, and motion.

### Clean an astronomy target catalog

Match labels such as 2004 MN4 to their recognized object names and identifiers. Attach the corresponding object summaries so similarly named spacecraft, asteroids, and comets are easier to distinguish.

## Overview

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

## JPL Horizons object lookup in other agents

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

## More Perplexity guides

- [JPL Horizons object details](https://spiral.ai/integrations/perplexity/jpl-horizons-object-details)
- [JPL Horizons observer ephemeris](https://spiral.ai/integrations/perplexity/jpl-horizons-observer-ephemeris)
- [Free Use Bible translation catalog](https://spiral.ai/integrations/perplexity/free-use-bible-translation-catalog)
- [JPL Horizons orbital elements](https://spiral.ai/integrations/perplexity/jpl-horizons-orbital-elements)
- [Free Use Bible passage](https://spiral.ai/integrations/perplexity/free-use-bible-passage)
- [JPL Horizons state vectors](https://spiral.ai/integrations/perplexity/jpl-horizons-state-vectors)

## Questions about JPL Horizons object lookup in Perplexity

**Can Perplexity use JPL Horizons object lookup?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run JPL Horizons object lookup like any built-in tool.

**How much does JPL Horizons object lookup cost in Perplexity?**

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

**Do I need an Alexandria account to use JPL Horizons object lookup in Perplexity?**

No. Spiral runs JPL Horizons object lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up JPL Horizons object lookup in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while JPL Horizons object lookup runs?**

JPL Horizons object lookup runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

**Which objects does Horizons cover?**

Horizons covers planets, natural satellites, asteroids, comets, the Sun, selected spacecraft, dynamical points, and system barycenters. Its spacecraft catalog covers selected missions.

**How fresh are the data?**

The small-body database updates hourly with new objects and orbit solutions. Spacecraft trajectories may update weekly or monthly and represent tracking fits and predictions.

**Can one name identify several objects?**

Yes. Juno can match spacecraft and an asteroid, while Halley can match both a comet and an asteroid; confirm the object category and identifier before interpreting its data.

**How far into the past or future does coverage extend?**

Each target has its own available trajectory interval. JPL reports coverage boundaries in Barycentric Dynamical Time, so there is no single date range that applies to every object.

**Can I extrapolate an orbit indefinitely from one set of elements?**

No. JPL warns that two-body extrapolation from osculating elements can produce large errors, especially for planetary satellites and comets, with error generally increasing farther from the elements' epoch.

