SpaceX API Roadster API

SpaceX Roadster tracking data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spacex-api-roadster-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spacex-api-roadster-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: SpaceX Capsules Roadster API
  description: The SpaceX API is an open-source REST API providing comprehensive data about SpaceX missions, rockets, capsules, cores, crew, launchpads, landing pads, payloads, ships, and the Starlink satellite constellation. It covers all past and upcoming launches with detailed mission data. No authentication is required.
  version: 5.0.0
  contact:
    name: SpaceX API Community
    url: https://github.com/r-spacex/SpaceX-API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api.spacexdata.com/v5
  description: SpaceX API v5 production server
tags:
- name: Roadster
  description: SpaceX Roadster tracking data
paths:
  /roadster:
    get:
      operationId: getRoadster
      summary: Get Roadster
      description: Returns real-time tracking data for Elon Musk's Tesla Roadster launched aboard Falcon Heavy
      tags:
      - Roadster
      responses:
        '200':
          description: Roadster tracking object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Roadster'
components:
  schemas:
    Roadster:
      type: object
      description: Tracking data for Elon Musk's Tesla Roadster launched on Falcon Heavy
      properties:
        id:
          type: string
          description: Roadster identifier
        name:
          type: string
          description: Object designation
        launch_date_utc:
          type: string
          format: date-time
          description: Launch date in UTC
        launch_date_unix:
          type: integer
          description: Launch date as Unix timestamp
        launch_mass_kg:
          type: number
          description: Launch mass in kilograms
        norad_id:
          type: integer
          description: NORAD catalog number
        epoch_jd:
          type: number
          description: Epoch as Julian date
        orbit_type:
          type: string
          description: Orbital type designation
        apoapsis_au:
          type: number
          description: Apoapsis in astronomical units
        periapsis_au:
          type: number
          description: Periapsis in astronomical units
        semi_major_axis_au:
          type: number
          description: Semi-major axis in astronomical units
        eccentricity:
          type: number
          description: Orbital eccentricity
        inclination:
          type: number
          description: Orbital inclination in degrees
        speed_kph:
          type: number
          description: Current speed in km/h
        speed_mph:
          type: number
          description: Current speed in mph
        earth_distance_km:
          type: number
          description: Current distance from Earth in km
        mars_distance_km:
          type: number
          description: Current distance from Mars in km
        wikipedia:
          type: string
          format: uri
          description: Wikipedia article link
        details:
          type: string
          description: Mission description
externalDocs:
  description: SpaceX API GitHub Repository
  url: https://github.com/r-spacex/SpaceX-API