Catalog/data-spacex-launch

Science

SpaceX latest/next launch joined with rocket spec API

A SpaceX launch (latest or next, via the which param) from the SpaceX REST v4 API, merged with its full rocket specification (success rate, stages, height, mass, first flight) plus reuse/landing flags, patch and webcast — the join an agent would otherwise make across two endpoints. Answers 'SpaceX's latest launch and what rocket flew it', 'Falcon 9 vs Falcon Heavy spec for this mission'.

Price$0.01per request
MethodPOST
Route/v1/science/spacex-launch
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
sciencespacespacexlaunchrocketfalconstarshipspaceflight
API URLhttps://x402.hexl.dev/v1/science/spacex-launch
Integration docs
Example request
{
  "which": "latest"
}
Example response
{
  "kind": "latest",
  "flightNumber": 187,
  "name": "Crew-5",
  "dateUtc": "2022-10-05T16:00:00.000Z",
  "countdown": null,
  "secondsToLaunch": null,
  "success": true,
  "upcoming": false,
  "coresReused": false,
  "landingSuccess": true,
  "details": null,
  "webcast": "https://youtu.be/5EwW8ZkArL4",
  "patch": "https://images2.imgbox.com/eb/d8/D1Yywp0w_o.png",
  "rocket": {
    "name": "Falcon 9",
    "type": "rocket",
    "active": true,
    "stages": 2,
    "successRatePct": 98,
    "firstFlight": "2010-06-04",
    "heightMeters": 70,
    "massKg": 549054
  }
}
Input schema
{
  "type": "object",
  "properties": {
    "which": {
      "type": "string",
      "enum": [
        "latest",
        "next"
      ],
      "default": "latest"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}