[Integrations](https://spiral.ai/integrations) › [Instinct](https://spiral.ai/integrations/instinct) › [JPL asteroid and comet search](https://spiral.ai/integrations/instinct/jpl-asteroid-and-comet-search)

# How to Use JPL asteroid and comet search in Instinct

Returns selected identification, orbital, and physical data for asteroids or comets matching your criteria. Use it to compare populations such as Atira asteroids or Jupiter Trojans instead of looking up objects individually.

|  |  |
| --- | --- |
| Model | JPL asteroid and comet search |
| 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 JPL asteroid and comet search in Instinct

- Each month, use JPL asteroid and comet search to compare the returned Atira asteroid list and orbital elements with the previous month's results.
- Every Monday at 9am: use JPL asteroid and comet search to look this up and give me the result as a table.
- Pull the latest numbers from JPL asteroid and comet search and tell me what changed since last week.
- Check JPL asteroid and comet search and summarize what you find in three bullet points.
- Pull the newest data from JPL asteroid and comet search and give me the result as a table.

## How to set up JPL asteroid and comet search in Instinct

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

### Use the Spiral skill

1. **Send Instinct 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 an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

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

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### 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 asteroid and comet 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": "ssd-api-jpl-nasa-gov/small-bodies/small_body_query",
    "input": {
      "kind": "asteroid"
    }
  }'
```

Then paste one of the prompts above: Instinct finds JPL asteroid and comet search on Spiral, shows the price and runs it.

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

## JPL asteroid and comet search tools and prices

- [JPL Small-Body and CNEOS Data · Small body query](https://spiral.ai/tools/alexandria/ssd-api-jpl-nasa-gov/small-bodies/small_body_query) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| kind | asteroid, comet | — | Asteroids or comets only. |
| sort |  | — | Up to three SBDB fields; prefix - for descending, such as -diameter. |
| group | neo, pha | — | NEOs or PHAs only. |
| limit | 1 to 200 | 20 | Records per page. |
| fields |  | — | SBDB output fields (case-sensitive), such as full_name, H, diameter, albedo, rot_per, e, a, q, i, om, w, ma, epoch_cal, per_y, moid_ld, spec_B. pdes is always added. |
| numbered | numbered, unnumbered | — | Numbered or unnumbered only. |

## What can you do with JPL asteroid and comet search in Instinct?

Produce recurring JPL briefs that highlight changes in returned astronomy records. Compare successive results for encounter predictions, Sentry assessments, object properties, or reported fireballs.

### Prepare a planetarium news brief

Combine upcoming encounters, reported fireballs, Sentry summaries, individual risk scenarios, and asteroid or comet background tables into a weekly astronomy briefing.

### Check an astronomy article

Check flyby predictions, atmospheric event records, impact probabilities, and object properties against the corresponding JPL records before publication.

### Build a classroom evidence workbook

Give students separate exercises on predicted encounters, observed atmospheric events, possible impact scenarios, and differences among asteroid or comet populations.

### Compare asteroid populations

Retrieve orbital and available physical data for a selected population, then inspect individual objects that stand out.

### Study orbital uncertainty

Compare orbital records across selected asteroids and inspect the uncertainty information attached to their predicted encounters.

## Overview

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

## JPL asteroid and comet search in other agents

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

## More Instinct guides

- [JPL asteroid and comet details](https://spiral.ai/integrations/instinct/jpl-asteroid-and-comet-details)
- [JPL asteroid close approaches](https://spiral.ai/integrations/instinct/jpl-asteroid-close-approaches)
- [India eCourts states and union territories](https://spiral.ai/integrations/instinct/india-ecourts-states-and-union-territories)
- [Justice Laws legislation details](https://spiral.ai/integrations/instinct/justice-laws-legislation-details)
- [India eCourts districts](https://spiral.ai/integrations/instinct/india-ecourts-districts)
- [Justice Laws legislation directory](https://spiral.ai/integrations/instinct/justice-laws-legislation-directory)

## Questions about JPL asteroid and comet search in Instinct

**Can Instinct use JPL asteroid and comet search?**

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run JPL asteroid and comet search like any built-in tool.

**How much does JPL asteroid and comet search cost in Instinct?**

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

**Do I need an Alexandria account to use JPL asteroid and comet search in Instinct?**

You need no Alexandria account. Instinct uses one Spiral API key for every tool, and Spiral runs JPL asteroid and comet search on its own Alexandria account.

**How long does it take to set up JPL asteroid and comet search in Instinct?**

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while JPL asteroid and comet search runs?**

JPL asteroid and comet search runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.

**Which objects does JPL's Small-Body Database cover?**

It covers all known asteroids and comets within the solar system. Identification and orbital data are included, while physical properties are selected data rather than a complete set of measurements for every object.

**How quickly do JPL orbital records change?**

JPL typically computes new small-body orbits within an hour or two after new discoveries or astrometric observations become available. That timing applies to orbital processing, not to publication of fireball detections.

**How far back and forward do the Earth close-approach tables extend?**

The published tables exclude dates before 1900 and after 2200. They also exclude encounters whose uncertainty is too large, so that date range does not guarantee a complete encounter history for every asteroid.

**What does Sentry's cumulative impact probability mean?**

It adds the probabilities of all detected potential impacts for an asteroid. An individual scenario's probability and the object's cumulative probability describe different quantities.

**Can a search change while I retrieve multiple pages?**

Yes. JPL explicitly warns that the SBDB database can change between calls used to page through search results.

