Skip to content

api-evangelist/spacex

Repository files navigation

SpaceX (Community API) (spacex)

Community-maintained, open-source REST and GraphQL API for SpaceX data — launches, rockets, capsules, cores, crew, dragons, payloads, ships, landpads, launchpads, Starlink satellites, the Tesla Roadster ephemeris, company info, and historical events. Operated by the r-spacex community (the same group behind the r/SpaceX subreddit) and licensed Apache 2.0. The canonical hosted base URL is https://api.spacexdata.com and the canonical source repository is https://github.com/r-spacex/SpaceX-API. The API is currently in MAINTENANCE-ONLY MODE as of 2024. New launches and missions are NOT being added to the dataset; the project remains online for historical lookups and as a teaching/sample API. This makes it an excellent fixture for SDK tutorials, MCP server demos, and API design exercises, but it is no longer a live source of upcoming SpaceX flight data. The data is organized as a MongoDB document store with cross-resource UUID references; the /query endpoints expose mongoose-paginate-v2 with full MongoDB find()/options semantics. Authentication is only required for destructive (create/update/delete) admin routes; all read operations are public. This community project is not affiliated with, endorsed by, or officially connected to Space Exploration Technologies Corp.

APIs.json: https://raw.githubusercontent.com/api-evangelist/spacex/refs/heads/main/apis.yml

Scope

  • Type: Index
  • Position: Provider
  • Access: 3rd-Party

Tags

  • Space
  • Launch
  • Satellites
  • Starlink
  • Falcon 9
  • Falcon Heavy
  • Dragon
  • Rockets
  • Open Source
  • Community
  • REST
  • GraphQL
  • Open Data

Timestamps

  • Created: 2026-05-23
  • Modified: 2026-05-29

APIs

SpaceX REST API (v4 + v5)

Open-source REST API exposing all SpaceX launch, rocket, capsule, core, crew, dragon, ship, landpad, launchpad, payload, Starlink, Roadster, company, and history data. v4 is the canonical resource surface; the Launches resource also has a v5 surface that omits the v4 response/query transforms. Read operations are unauthenticated; destructive operations require an x-spacex-key header.

Tags

  • Launches
  • Rockets
  • Capsules
  • Cores
  • Crew
  • Dragons
  • Payloads
  • Ships
  • Landpads
  • Launchpads
  • Starlink
  • Roadster
  • Company
  • History

Properties

SpaceX GraphQL API (community)

Community-maintained GraphQL gateways over the SpaceX REST data, providing typed schema access and nested-field selection across launches, rockets, missions, payloads, ships, and crew. Multiple community gateways exist; the SpaceXLand/api project is the most widely cited reference implementation. Like the REST surface, the underlying dataset is in maintenance-only mode as of 2024.

Tags

  • GraphQL
  • Launches
  • Rockets
  • Missions

Properties

Common Properties

Maintainers

FN: Kin Lane Email: kin@apievangelist.com

About

SpaceX — launch services + Starlink global satellite internet

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors