Exoplanets Catalog

A searchable catalog of confirmed exoplanets and their host stars built on NASA Exoplanet Archive data. Filter, sort, and run read-only SQL queries across thousands of worlds.

Data Source

Raw data comes from NASA Exoplanet Archive VOTable exports (stellar hosts and planetary systems). We convert to Parquet and load into in-memory Polars DataFrames for fast columnar queries.

Example: pl_bmasse (planet mass in Earth masses), pl_orbper (orbital period in days), st_teff (stellar effective temperature in Kelvin), sy_dist (distance in parsecs)

How It Works

  • Backend: Rust + Axum serving a REST API with raw SQL query support
  • Frontend: Leptos (Rust → WASM) with server-side rendering
  • Storage: Parquet files loaded into Polars DataFrames in-process
  • API: /rest/stellarhosts, /rest/exoplanets, /rest/query (SELECT only)

Explore

Table links keep any current query string so filters and column choices can persist.

REST API

The catalog exposes a SQL query endpoint. Queries are read-only and accept SELECT statements.

Find hot Jupiters

SELECT pl_name, pl_bmasse, pl_eqt FROM exoplanets WHERE pl_bmasse > 100 AND pl_eqt > 1000 LIMIT 10Run in API

Count by discovery method

SELECT discoverymethod, COUNT(*) as cnt FROM exoplanets GROUP BY discoverymethod ORDER BY cnt DESCRun in API

Nearest stars with planets

SELECT pl_name, sy_dist FROM exoplanets WHERE sy_dist IS NOT NULL ORDER BY sy_dist LIMIT 20Run in API

Data: NASA Exoplanet Archive. Code: Rust, Leptos, Axum, Polars.