juliensimon/jpl-small-body-database
JPL Small-Body Database Credit: NASA/ESA Part of a dataset collection on Hugging Face. Dataset description Complete catalog of all known asteroids and comets with orbital elements, physical parameters, and discovery metadata. Updated daily from NASA JPL. The JPL Small-Body Database (SBDB) is the authoritative source for orbital and physical data on all known asteroids, comets, and other small bodies. It is maintained by the Solar System Dynamics group at… See the full description on the dataset page: https://huggingface.co/datasets/juliensimon/jpl-small-body-database.
JPL Small-Body Database
<div align="center"> <img src="banner.jpg" alt="Rosetta spacecraft approaching Comet 67P/Churyumov-Gerasimenko" width="400"> <p><em>Credit: NASA/ESA</em></p> </div>
Part of a [dataset collection](https://huggingface.co/collections/juliensimon/orbital-mechanics-datasets-69c24caca4ab3934c9856994) on Hugging Face.
Dataset description
Complete catalog of all known asteroids and comets with orbital elements, physical parameters, and discovery metadata. Updated daily from NASA JPL.
The JPL Small-Body Database (SBDB) is the authoritative source for orbital and physical data on all known asteroids, comets, and other small bodies. It is maintained by the Solar System Dynamics group at NASA's Jet Propulsion Laboratory and continuously updated as new observations refine orbit solutions and new objects are discovered.
This dataset includes orbital elements (osculating Keplerian elements at a reference epoch), physical properties (absolute magnitude, diameter, albedo, spectral type where measured), and metadata (observation arc, number of observations, orbit uncertainty). It covers numbered and unnumbered asteroids, periodic and non-periodic comets.
The six Keplerian orbital elements -- semimajor axis, eccentricity, inclination, longitude of ascending node, argument of perihelion, and mean anomaly -- define each object's instantaneous orbit at the reference epoch. The physical parameters -- absolute magnitude H, diameter, albedo, and spectral type -- are far sparser than the orbital data: fewer than 2% of known asteroids have directly measured diameters. The Minimum Orbit Intersection Distance (MOID) columns are critical for hazard assessment, measuring the closest possible geometric approach between orbits.
This dataset is suitable for tabular classification, tabular regression tasks.
Schema
Quick stats
- 1,570,154 small bodies (1,566,077 asteroids, 4,077 comets)
- 42,715 near-Earth objects (NEOs)
- 2,549 potentially hazardous asteroids (PHAs)
- 139,687 with measured diameters
- 138,480 with measured albedos
Usage
from datasets import load_dataset
ds = load_dataset("juliensimon/jpl-small-body-database", split="train")
df = ds.to_pandas()from datasets import load_dataset
ds = load_dataset("juliensimon/jpl-small-body-database", split="train")
df = ds.to_pandas()
# Near-Earth Objects
neos = df[df["neo"] == True]
print(f"{len(neos):,} NEOs")
# Potentially Hazardous Asteroids close to Earth
phas = df[(df["pha"] == True) & (df["moid_au"] < 0.01)]
# Main Belt asteroids by orbit class
mba = df[df["orbit_class"] == "MBA"]
print(f"{len(mba):,} Main Belt asteroids")
# Orbital element distribution
import matplotlib.pyplot as plt
fig, axes = plt.subplots(1, 3, figsize=(15, 4))
axes[0].hist(df["semi_major_axis_au"].dropna().clip(0, 6), bins=200)
axes[0].set_xlabel("Semi-major axis (AU)")
axes[1].hist(df["eccentricity"].dropna(), bins=100)
axes[1].set_xlabel("Eccentricity")
axes[2].hist(df["inclination_deg"].dropna().clip(0, 60), bins=100)
axes[2].set_xlabel("Inclination (deg)")
plt.tight_layout()
plt.show()Data source
https://ssd-api.jpl.nasa.gov/doc/sbdb_query.html
Related datasets
If you find this dataset useful, please consider giving it a like on Hugging Face. It helps others discover it.
About the author
Created by Julien Simon — AI Operating Partner at Fortino Capital. Part of the Space Datasets collection.
Citation
@dataset{jpl_small_body_database,
title = {JPL Small-Body Database},
author = {Simon, Julien},
year = {2026},
url = {https://huggingface.co/datasets/juliensimon/jpl-small-body-database},
note = {Derived from NASA JPL Solar System Dynamics, https://ssd-api.jpl.nasa.gov/doc/sbdb_query.html},
publisher = {Hugging Face}
}