Lightweight Python wrapper for the SpaceX API. Get launch data, rocket specs, crew info, and Starlink satellites — no authentication needed.
from spacex_client import SpaceXClient
sx = SpaceXClient()
# Latest launch
launch = sx.latest_launch()
print(f"{launch['name']} — {launch['date_utc'][:10]} — {'Success' if launch['success'] else 'Failed'}")
# All rockets
for rocket in sx.rockets():
print(f"{rocket['name']}: {rocket['description'][:80]}...")
# Upcoming launches
for launch in sx.upcoming(limit=3):
print(f" {launch['name']} — {launch['date_utc'][:10]}")- Latest, past, and upcoming launches
- Rocket specifications (Falcon 9, Starship, etc.)
- Crew member data
- Starlink satellite tracking
- No API key, no rate limits
MIT — Spinov001