SpaceX (Community API)
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.
SpaceX (Community API) publishes 14 APIs on the APIs.io network, including Capsules API, Company API, Cores API, and 11 more. Tagged areas include Space, Launch, Satellites, Starlink, and Falcon 9.
The SpaceX (Community API) catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.
SpaceX (Community API)’s developer surface includes authentication, documentation, getting-started guide, changelog, status page, tooling, and 19 more developer resources.
Kin Score
APIs 15
Individual APIs this provider publishes, each with its own machine-readable definition.
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, an...
SpaceX (Community API) Capsules API
Detailed info for serialized Dragon capsules.
SpaceX (Community API) Company API
Detailed info about SpaceX as a company (single document).
SpaceX (Community API) Cores API
Detailed info for serialized first-stage cores.
SpaceX (Community API) Crew API
Detailed info on Dragon crew members.
SpaceX (Community API) Dragons API
Detailed info about Dragon capsule versions.
SpaceX (Community API) History API
Detailed info on SpaceX historical events.
SpaceX (Community API) Landpads API
Detailed info about landing pads and droneships.
SpaceX (Community API) Launches API
Detailed info about SpaceX launches (v4 and v5).
SpaceX (Community API) Launchpads API
Detailed info about launchpads.
SpaceX (Community API) Payloads API
Detailed info about launch payloads.
SpaceX (Community API) Roadster API
Detailed info about Elon Musk's Tesla Roadster ephemeris.
SpaceX (Community API) Rockets API
Detailed info about rocket versions.
SpaceX (Community API) Ships API
Detailed info about ships in the SpaceX fleet.
SpaceX (Community API) Starlink API
Detailed info about Starlink satellites and orbits.
Scroll for all 15
Open Collections 1
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
SpaceX REST API
OPEN COLLECTIONGraphQL 1
GraphQL schemas published by this provider.
SpaceX (Community API) GraphQL API
Community-maintained GraphQL gateways over the SpaceX REST data, providing typed schema access and nested-field selection across launches, rockets, missions, payloads, ships, an...
GRAPHQLPricing Plans 1
Published pricing tiers and plan structures.
Spacex Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Spacex Rate Limits
RATE LIMITSSemantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Spacex Context
JSON-LDSpectral Rules 2
Spectral governance rulesets for linting and validating these APIs.
SpaceX (Community API) API Rules
SPECTRALSpaceX (Community API) API Rules
SPECTRALJSON Schema 14
Standalone JSON Schema definitions for this provider's data models.
SpaceX Capsule
JSON SCHEMASpaceX Company
JSON SCHEMASpaceX Core
JSON SCHEMASpaceX CrewMember
JSON SCHEMASpaceX Dragon
JSON SCHEMASpaceX HistoryEvent
JSON SCHEMASpaceX Landpad
JSON SCHEMASpaceX Launch
JSON SCHEMASpaceX Launchpad
JSON SCHEMASpaceX Payload
JSON SCHEMASpaceX Roadster
JSON SCHEMASpaceX Rocket
JSON SCHEMASpaceX Ship
JSON SCHEMASpaceX StarlinkSat
JSON SCHEMAScroll for all 14
JSON Structure 14
JSON Structure definitions describing this provider's data shapes.
Spacex Capsule Structure
JSON STRUCTURESpacex Company Structure
JSON STRUCTURESpacex Core Structure
JSON STRUCTURESpacex Crew Structure
JSON STRUCTURESpacex Dragon Structure
JSON STRUCTURESpacex History Structure
JSON STRUCTURESpacex Landpad Structure
JSON STRUCTURESpacex Launch Structure
JSON STRUCTURESpacex Launchpad Structure
JSON STRUCTURESpacex Payload Structure
JSON STRUCTURESpacex Roadster Structure
JSON STRUCTURESpacex Rocket Structure
JSON STRUCTURESpacex Ship Structure
JSON STRUCTURESpacex Starlink Structure
JSON STRUCTUREScroll for all 14
Examples 15
Example request and response payloads for these APIs.
Spacex Getcapsule Example
EXAMPLESpacex Getcompany Example
EXAMPLESpacex Getcore Example
EXAMPLESpacex Getcrewmember Example
EXAMPLESpacex Getdragon Example
EXAMPLESpacex Getlandpad Example
EXAMPLESpacex Getlaunchpad Example
EXAMPLESpacex Getnextlaunch Example
EXAMPLESpacex Getpayload Example
EXAMPLESpacex Getroadster Example
EXAMPLESpacex Getrocket Example
EXAMPLESpacex Getship Example
EXAMPLEScroll for all 15
Security Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 1
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 3
Pagination, idempotency, versioning, errors, and events
Build 4
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Operate 4
Status, limits, changes, and where to get help
Commercial 2
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 5
Properties that don't map to a standard resource type