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

VS Code · Public Records

How to Use NASA fireball events in VS Code

Returns observed fireball times and energies, plus reported locations, altitudes, and entry velocity components. Use it to investigate atmospheric events or map reported bolides; the catalog covers selected detections and is not real time.

Prompts to try with NASA fireball events in VS Code

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

Use NASA fireball events to retrieve February 2013 records and build a chart of their reported impact energies in this project.

NASA fireball eventsVS Code
Try asking
  • Use NASA fireball events to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from NASA fireball events and tell me what changed since last week.

  • Check NASA fireball events and summarize what you find in three bullet points.

  • Pull the newest data from NASA fireball events and give me the result as a table.

How to set up NASA fireball events in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 NASA fireball events

    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/fireballs",
        "input": {
          "sort": "-date"
        }
      }'

Then paste one of the prompts above: VS Code finds NASA fireball events on Spiral, shows the price and runs it.

NASA fireball events providers and prices

Spiral runs NASA fireball events through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
JPL Small-Body and CNEOS Data · Fireballs
ssd-api-jpl-nasa-gov/small-bodies/fireballs

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortdate, -date, energy, -energy, impact-e, -impact-e, vel, -vel and 2 more-date

Sort key; prefix - for descending.

Limit1 to 20020

Events to return.

Require altitudeon or off

Only events with a reported altitude.

Require locationon or off

Only events with a reported location.

Radiated energy mina number

Minimum total radiated energy in 10^10 J.

Impact energy min kta number

Minimum estimated impact energy, kilotons.

Include velocity componentson or off

Add Earth-centered entry velocity components.

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

What can you do with NASA fireball events in VS Code?

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.

Map reported atmospheric events

Plot fireballs with reported coordinates and compare their estimated impact energies and altitudes.

Questions about NASA fireball events in VS Code

Can VS Code use NASA fireball events?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run NASA fireball events like any built-in tool.

How much does NASA fireball events cost in VS Code?

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

Do I need an Alexandria account to use NASA fireball events in VS Code?

No. Spiral runs NASA fireball events 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 fireball events in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while NASA fireball events runs?

NASA fireball events runs in the background. VS Code 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 NASA fireball events in VS Code

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

Paste this into VS Code:

Set up VS Code

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