SpaceX API

SpaceX API provides developers with comprehensive data about SpaceX’s launches, rockets, missions, and launchpads. This Public API is widely used by space enthusiasts and developers to build apps or websites featuring real-time space exploration data. It requires no authentication and supports unlimited requests.

1

Endpoints

0

Views

Jul 20, 2025

Last Checked

Unlimited

Rate Limit

API Endpoints

Retrieves details about the latest SpaceX launch.

Full URL

https://api.spacexdata.com/v4/launches/latest

Code Examples

curl -X GET 'https://api.spacexdata.com/v4/launches/latest'

Example Response

{
  "id": "62dd70d5202306255024d139",
  "net": false,
  "tbd": false,
  "crew": [],
  "name": "Crew-5",
  "cores": [
    {
      "core": "633d9da635a71d1d9c66797b",
      "legs": true,
      "flight": 1,
      "reused": false,
      "landpad": "5e9e3033383ecbb9e534e7cc",
      "gridfins": true,
      "landing_type": "ASDS",
      "landing_attempt": true,
      "landing_success": true
    }
  ],
  "links": {
    "patch": {
      "large": "https://images2.imgbox.com/33/2e/k6VE4iYl_o.png",
      "small": "https://images2.imgbox.com/eb/d8/D1Yywp0w_o.png"
    },
    "flickr": {
      "small": [],
      "original": []
    },
    "reddit": {
      "media": null,
      "launch": "https://www.reddit.com/r/spacex/comments/xvm76j/rspacex_crew5_launchcoast_docking_discussion_and/",
      "campaign": null,
      "recovery": null
    },
    "article": null,
    "webcast": "https://youtu.be/5EwW8ZkArL4",
    "presskit": null,
    "wikipedia": "https://en.wikipedia.org/wiki/SpaceX_Crew-5",
    "youtube_id": "5EwW8ZkArL4"
  },
  "ships": [],
  "rocket": "5e9d0d95eda69973a809d1ec",
  "window": null,
  "details": null,
  "success": true,
  "capsules": [],
  "date_utc": "2022-10-05T16:00:00.000Z",
  "failures": [],
  "fairings": null,
  "payloads": [
    "62dd73ed202306255024d145"
  ],
  "upcoming": false,
  "date_unix": 1664985600,
  "launchpad": "5e9e4502f509094188566f88",
  "date_local": "2022-10-05T12:00:00-04:00",
  "auto_update": true,
  "flight_number": 187,
  "date_precision": "hour",
  "launch_library_id": "f33d5ece-e825-4cd8-809f-1d4c72a2e0d3",
  "static_fire_date_utc": null,
  "static_fire_date_unix": null
}

Version

v4

Rate Limit

unlimited
Tags
rocketssciencespace
Technical Details
Authentication
None
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

unlimited

Supported Languages
JavaScriptPython
Use Cases
space apps
education
https://docs.spacexdata.com/

Related APIs

Discover similar APIs that might interest you

APIopen source

Zoo Animals API

Zoo Animals API provides developers with...

Category
Science & Nature
Endpoints
2
educationzoo
APIfree

Trefle Plant API

Trefle Plant API offers rich, up-to-date...

Category
Science & Nature
Endpoints
2
botanyplants
APIopen source

RandomFox

The RandomFox API offers a simple way to...

Category
Science & Nature
Endpoints
1
foxesimages
SpaceX API – Space Launch Data & Missions Public API | Free API Hub