Skip to content

🚀 Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.

License

Notifications You must be signed in to change notification settings

lyminh1994/SpaceX-API

Repository files navigation

SpaceX REST API

Open Source REST API for rocket, core, capsule, pad, and launch data

Usage

Example Response

GET https://api.spacexdata.com/v4/launches/latest
{
  "fairings":{
    "reused":true,
    "recovery_attempt":false,
    "recovered":null,
    "ships":[
      "5ea6ed2e080df4000697c908"
    ]
  },
  "links":{
    "patch":{
      "small":"https://images2.imgbox.com/9a/96/nLppz9HW_o.png",
      "large":"https://images2.imgbox.com/d2/3b/bQaWiil0_o.png"
    },
    "reddit":{
      "campaign":"https://www.reddit.com/r/spacex/comments/fxkc7k/starlink6_launch_campaign_thread/",
      "launch":"https://www.reddit.com/r/spacex/comments/g5jmx0/rspacex_starlink_6_official_launch_discussion/",
      "media":"https://www.reddit.com/r/spacex/comments/g5fqka/rspacex_starlink6_media_thread_photographer/",
      "recovery":"https://www.reddit.com/r/spacex/comments/g6kztd/rspacex_starlink_v1_l6_recovery_discussion/"
    },
    "flickr":{
      "small":[

      ],
      "original":[
        "https://live.staticflickr.com/65535/49673373182_93a517e140_o.jpg",
        "https://live.staticflickr.com/65535/49672551378_fabc17ef6f_o.jpg",
        "https://live.staticflickr.com/65535/49672551303_564ce21658_o.jpg",
        "https://live.staticflickr.com/65535/49806771628_fef13c852d_o.jpg",
        "https://live.staticflickr.com/65535/49807633862_e5abcb41a6_o.jpg"
      ]
    },
    "presskit":"https://www.spacex.com/sites/spacex/files/seventh_starlink_mission_overview.pdf",
    "webcast":"https://youtu.be/wSge0I7pwFI",
    "youtube_id":"wSge0I7pwFI",
    "article":"https://spaceflightnow.com/2020/04/22/spacexs-starlink-network-surpasses-400-satellite-mark-after-successful-launch/",
    "wikipedia":"https://en.wikipedia.org/wiki/Starlink"
  },
  "static_fire_date_utc":"2020-04-17T11:48:00.000Z",
  "static_fire_date_unix":"1587687810",
  "tdb":false,
  "net":false,
  "window":null,
  "rocket":"5e9d0d95eda69973a809d1ec",
  "success":true,
  "failures":[

  ],
  "details":"This mission will launch the sixth batch of operational Starlink satellites, which are expected to be version 1.0, from SLC-40, Cape Canaveral AFS. It is the seventh Starlink launch overall. The satellites will be delivered to low Earth orbit and will spend a few weeks maneuvering to their operational altitude of 550 km. The booster for this mission is expected to land on OCISLY.",
  "crew":[

  ],
  "ships":[
    "5ea6ed30080df4000697c913",
    "5ea6ed2e080df4000697c908",
    "5ea6ed2e080df4000697c907"
  ],
  "capsules":[

  ],
  "payloads":[
    "5eb0e4d1b6c3bb0006eeb255"
  ],
  "launchpad":"5e9e4502f509094188566f88",
  "auto_update":true,
  "flight_number":93,
  "name":"Starlink 6",
  "date_utc":"2020-04-22T19:30:00.000Z",
  "date_unix":"1587583800",
  "date_local":"2020-04-22T15:30:00-04:00",
  "date_precision":"hour",
  "upcoming":false,
  "cores":[
    {
      "core":"5e9e28a6f35918c0803b265c",
      "flight":4,
      "gridfins":true,
      "legs":true,
      "reused":true,
      "landing_attempt":true,
      "landing_success":true,
      "landing_type":"ASDS",
      "landpad":"5e9e3032383ecb6bb234e7ca"
    }
  ],
  "id":"5eb87d44ffd86e000604b386"
}

Sponsors

Studio 3T

FAQ's

  • If you have any questions or corrections, please open an issue and we'll get it merged ASAP
  • All data and photos are property of Space Exploration Technologies Corporation (SpaceX)
  • I am not affiliated with SpaceX in any way, shape, form, or fashion. Just a fun side project for me
  • For any other questions or concerns, just shoot me an email

About

🚀 Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%