Spiral gives your agent every tool with one account. Browse the tools →

Devin · Public Records

How to Use JPL asteroid and comet search in Devin

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.

Prompts to try with JPL asteroid and comet search in Devin

Copy an example into Devin, or ask in your own words.

Use JPL asteroid and comet search to retrieve Atira asteroids and build a table comparing their semimajor axes, eccentricities, and inclinations.

JPL asteroid and comet searchDevin
Try asking
  • Use JPL asteroid and comet search to look this up and give me the result as a table. Save the result in ./assets.

  • 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 Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

  1. Send Devin 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.

    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.

    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: Devin finds JPL asteroid and comet search on Spiral, shows the price and runs it.

JPL asteroid and comet search providers and prices

Spiral runs JPL asteroid and comet search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
JPL Small-Body and CNEOS Data · Small body query
ssd-api-jpl-nasa-gov/small-bodies/small_body_query

Settings you can ask for

Ask Devin for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Kindasteroid or comet

Asteroids or comets only.

Groupneo or pha

NEOs or PHAs only.

Limit1 to 20020

Records per page.

Numberednumbered or unnumbered

Numbered or unnumbered only.

Match anyon or off

Combine constraints with OR instead of AND.

Has satelliteon or off

Only bodies with at least one known satellite.

Exclude fragmentson or off

Exclude comet fragments.

Every API field of JPL Small-Body and CNEOS Data · Small body query is on its tool page: open its card above.

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

Build an astronomy feature using JPL encounter records, asteroid and comet properties, or atmospheric event data. Keep encounter predictions, Sentry scenarios, and observed fireballs distinct in the project's data model.

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.

Questions about JPL asteroid and comet search in Devin

Can Devin use JPL asteroid and comet search?

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

How much does JPL asteroid and comet search cost in Devin?

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

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

No. Spiral runs JPL asteroid and comet 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 JPL asteroid and comet search in Devin?

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while JPL asteroid and comet search runs?

JPL asteroid and comet search runs in the background. Devin 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.

Get started

Start using JPL asteroid and comet search in Devin

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Devin:

Set up Devin

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options