DEV Community

Cover image for How I Built an Interactive Asteroid Dashboard with NASA's Data

How I Built an Interactive Asteroid Dashboard with NASA's Data

Arjun Vijay Prakash on August 26, 2025

I was scrolling through Instagram the other day and stumbled on a reel. The creator was listing "APIs you shouldn't miss," and the very first one?...
Collapse
 
gamelord2011 profile image
Reid Burton

You know, jpl (NASA's Jet Prupoltion Labrotory) has an OLD e-mail api for querying spaceship positions.

Collapse
 
dbugshe2 profile image
maroof shittu

That sounds fascinating, now that I'm aware this was ever a thing, it's time to dive into another rabbit hole

Collapse
 
gamelord2011 profile image
Reid Burton

Like, you have to manually put in the email to send the response to as part of the query.

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Whoa, that's wild. 😅
Email as an api input sounds super old.

Got a link or doc for that?
Would love to see it.

Thread Thread
 
gamelord2011 profile image
Reid Burton

Check ssd.jpl.nasa.gov/horizons, under email interface.

Thread Thread
 
gamelord2011 profile image
Reid Burton

This is one of the things from the page that I didn't read until just now:

However, e-mail requests may now be most practical for those working in a UNIX/Linux/MacOS programmatic command-line and text editor environment.

Thread Thread
 
arjuncodess profile image
Arjun Vijay Prakash

Makes sense. Back then, Unix heads probably lived inside terminals anyway, so email queries weren't even weird, different era.

Collapse
 
bradtaniguchi profile image
Brad

I used this API years back for a college project (its bad, but out there still lol)

NASA has a number of other free APIs you can use as well, but the NEO one is the most interesting when it comes to understanding data, and the general idea there's giant rocks flying overhead lol.

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash • Edited

Hey, that's nice. Would love to see your project too.

Lol, but yup, that's true.

I'm currently exploring these in deep to see if I can make something more out of them. I really do love the space and cosmos.

Collapse
 
imjyotiraditya profile image
Jyotiraditya Panda

Pretty cool project. I messed around with NASA’s API a while back just to pull some asteroid data into a simple script, but I never took it further than printing out numbers in the terminal. Seeing how you built a full dashboard around it makes me realize how much more useful (and fun) it is when you can actually see the info plotted out. Might try something similar myself with charts or live graphs next time I dive into it.

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Yeah exactly! Raw data feels dead until you see it. Definitely try it. 👀

Collapse
 
rohan_sharma profile image
Rohan Sharma

THIS IS COOL!

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Thanks a lot, RS!

Collapse
 
salman_ansari_8fc02f34420 profile image
Salman Ansari

COOL MAN!! I would love to see you like make a asteroid mineral Content or something like that

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

More stuff coming soon! I'm not yet done with this. They did a really great thing by making these APIs public & free.

Collapse
 
salman_ansari_8fc02f34420 profile image
Salman Ansari

So you are saying even I can build stuff using their API

Thread Thread
 
arjuncodess profile image
Arjun Vijay Prakash

Yeah, exactly! Anyone can. Would love to see what you build.

Collapse
 
voidbass profile image
voidbass

Streamlit + Plotly is perfect for this.

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Exactly! It makes it so simple.

Collapse
 
k0msenapati profile image
K Om Senapati

Good job

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Really appreciate it, thank you!

Collapse
 
claryjia profile image
Clary

Super Impressive!

Collapse
 
arjuncodess profile image
Arjun Vijay Prakash

Thanks so much! Means a lot.