SpaceX API · Example Payload

Spacex Api List Launches Example

Example response from GET /launches/latest on the SpaceX API

SpaceAerospaceLaunchesSpaceX

Spacex Api List Launches Example is an example object payload from SpaceX API, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponse

Example Payload

Raw ↑
{
  "summary": "Get Latest Launch Example",
  "description": "Example response from GET /launches/latest on the SpaceX API",
  "request": {
    "method": "GET",
    "url": "https://api.spacexdata.com/v5/launches/latest",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "fairings": null,
      "links": {
        "patch": {
          "small": "https://images2.imgbox.com/eb/d8/D1Yywp0w_o.png",
          "large": "https://images2.imgbox.com/33/2e/k6VE4iYl_o.png"
        },
        "reddit": {
          "campaign": null,
          "launch": "https://www.reddit.com/r/spacex/comments/xvm76j/rspacex_crew5_launchcoast_docking_discussion_and/",
          "media": null,
          "recovery": null
        },
        "flickr": {
          "small": [],
          "original": []
        },
        "presskit": null,
        "webcast": "https://youtu.be/5EwW8ZkArL4",
        "youtube_id": "5EwW8ZkArL4",
        "article": null,
        "wikipedia": "https://en.wikipedia.org/wiki/SpaceX_Crew-5"
      },
      "static_fire_date_utc": null,
      "static_fire_date_unix": null,
      "net": false,
      "window": null,
      "rocket": "5e9d0d95eda69973a809d1ec",
      "success": true,
      "failures": [],
      "details": null,
      "crew": [
        {"crew": "62dd7196202306255024d13c", "role": "Commander"},
        {"crew": "62dd71c9202306255024d13d", "role": "Pilot"},
        {"crew": "62dd7210202306255024d13e", "role": "Mission Specialist 1"},
        {"crew": "62dd7253202306255024d13f", "role": "Mission Specialist 2"}
      ],
      "ships": [],
      "capsules": ["617c05591bad2c661a6e2909"],
      "payloads": ["62dd73ed202306255024d145"],
      "launchpad": "5e9e4502f509094188566f88",
      "flight_number": 187,
      "name": "Crew-5",
      "date_utc": "2022-10-05T16:00:00.000Z",
      "date_unix": 1664985600,
      "date_local": "2022-10-05T12:00:00-04:00",
      "date_precision": "hour",
      "upcoming": false,
      "cores": [
        {
          "core": "633d9da635a71d1d9c66797b",
          "flight": 1,
          "gridfins": true,
          "legs": true,
          "reused": false,
          "landing_attempt": true,
          "landing_success": true,
          "landing_type": "ASDS",
          "landpad": "5e9e3033383ecbb9e534e7cc"
        }
      ],
      "auto_update": true,
      "tbd": false,
      "launch_library_id": "f33d5ece-e825-4cd8-809f-1d4c72a2e0d3",
      "id": "62dd70d5202306255024d139"
    }
  }
}