SpaceX API

App · 20 actions

Browse the community-maintained archive of SpaceX launches, rockets, crew and spacecraft.

Actions

ActionWhat it does
Get booster coreGet booster core.
Get capsuleGet capsule.
Get latest launch in the archiveRead the most recent launch recorded by the community API.
Get launchGet launch.
Get next scheduled launch in the archiveRead the next scheduled launch recorded by the community API.
Get Roadster positionGet Roadster position.
Get rocketGet rocket.
Get SpaceX company informationGet SpaceX company information.
List booster coresList booster cores.
List capsulesList capsules.
List crew membersList crew members.
List Dragon spacecraftList Dragon spacecraft.
List historical eventsList historical events.
List landing padsList landing pads.
List launch padsList launch pads.
List past launchesList past launches.
List payloadsList payloads.
List rocketsList rockets.
List shipsList ships.
List upcoming launches in the archiveList upcoming launches in the archive.

Get booster core

Get booster core.

Inputs

Recordrecord_idtextRequired
Booster core to look up.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "id": "example",
    "reuse_count": 1,
    "serial": "example",
    "status": "example"
  }
}

Get capsule

Get capsule.

Inputs

Recordrecord_idtextRequired
Capsule to look up.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "id": "example",
    "serial": "example",
    "status": "example",
    "type": "example"
  }
}

Get latest launch in the archive

Read the most recent launch recorded by the community API.

Inputs

None.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "date_precision": "example",
    "date_utc": "example",
    "flight_number": 1,
    "id": "example",
    "name": "example",
    "rocket": "example",
    "success": true,
    "upcoming": true
  }
}

Get launch

Get launch.

Inputs

Launch IDlaunch_idtextRequired
Launch id from an earlier step.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "date_precision": "example",
    "date_utc": "example",
    "flight_number": 1,
    "id": "example",
    "name": "example",
    "rocket": "example",
    "success": true,
    "upcoming": true
  }
}

Get next scheduled launch in the archive

Read the next scheduled launch recorded by the community API.

Inputs

None.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "date_precision": "example",
    "date_utc": "example",
    "flight_number": 1,
    "id": "example",
    "name": "example",
    "rocket": "example",
    "success": true,
    "upcoming": true
  }
}

Get Roadster position

Get Roadster position.

Inputs

None.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "details": "example",
    "id": "example",
    "launch_date_utc": "example",
    "name": "example"
  }
}

Get rocket

Get rocket.

Inputs

Recordrecord_idtextRequired
Rocket to look up.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "active": true,
    "description": "example",
    "id": "example",
    "name": "example"
  }
}

Get SpaceX company information

Get SpaceX company information.

Inputs

None.

Outputs

dataobject
The response from SpaceX API.
Example output
{
  "data": {
    "founded": 1,
    "founder": "example",
    "name": "example",
    "summary": "example"
  }
}

List booster cores

List booster cores.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "id": "example",
      "reuse_count": 1,
      "serial": "example",
      "status": "example"
    }
  ]
}

List capsules

List capsules.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "id": "example",
      "serial": "example",
      "status": "example",
      "type": "example"
    }
  ]
}

List crew members

List crew members.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "agency": "example",
      "id": "example",
      "name": "example",
      "status": "example"
    }
  ]
}

List Dragon spacecraft

List Dragon spacecraft.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "active": true,
      "id": "example",
      "name": "example",
      "type": "example"
    }
  ]
}

List historical events

List historical events.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "details": "example",
      "event_date_utc": "example",
      "id": "example",
      "title": "example"
    }
  ]
}

List landing pads

List landing pads.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "full_name": "example",
      "id": "example",
      "name": "example",
      "status": "example"
    }
  ]
}

List launch pads

List launch pads.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "full_name": "example",
      "id": "example",
      "name": "example",
      "status": "example"
    }
  ]
}

List past launches

List past launches.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "date_precision": "example",
      "date_utc": "example",
      "flight_number": 1,
      "id": "example",
      "name": "example",
      "rocket": "example",
      "success": true,
      "upcoming": true
    }
  ]
}

List payloads

List payloads.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "id": "example",
      "name": "example",
      "type": "example"
    }
  ]
}

List rockets

List rockets.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "active": true,
      "description": "example",
      "id": "example",
      "name": "example"
    }
  ]
}

List ships

List ships.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "active": true,
      "id": "example",
      "name": "example",
      "type": "example"
    }
  ]
}

List upcoming launches in the archive

List upcoming launches in the archive.

Inputs

None.

Outputs

datalist
The response from SpaceX API.
Example output
{
  "data": [
    {
      "date_precision": "example",
      "date_utc": "example",
      "flight_number": 1,
      "id": "example",
      "name": "example",
      "rocket": "example",
      "success": true,
      "upcoming": true
    }
  ]
}

On this page