Skip to content
GET /v1/launches

Recent launches

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/spacex-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/spacex-api/v1/launches" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spacex-api/v1/launches", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spacex-api/v1/launches");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/spacex-api/v1/launches",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 10,
        "total": 205,
        "results": [
            {
                "id": "6243ae7daf52800c6e91925b",
                "name": "O3b mPower 3.4",
                "patch": null,
                "rocket": "5e9d0d95eda69973a809d1ec",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-12-01T00:00:00.000Z",
                "upcoming": true,
                "wikipedia": null,
                "flight_number": 203
            },
            {
                "id": "633f72130531f07b4fdf59c3",
                "name": "Viasat-3 & Arcturus",
                "patch": null,
                "rocket": "5e9d0d95eda69974db09d1ed",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-12-01T00:00:00.000Z",
                "upcoming": true,
                "wikipedia": null,
                "flight_number": 202
            },
            {
                "id": "6243ae58af52800c6e91925a",
                "name": "WorldView Legion 1 & 2",
                "patch": null,
                "rocket": "5e9d0d95eda69973a809d1ec",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-12-01T00:00:00.000Z",
                "upcoming": true,
                "wikipedia": null,
                "flight_number": 200
            },
            {
                "id": "63161384ffc78f3b8567070e",
                "name": "TTL-1",
                "patch": null,
                "rocket": "5e9d0d95eda69973a809d1ec",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-12-01T00:00:00.000Z",
                "upcoming": true,
                "wikipedia": null,
                "flight_number": 199
            },
            {
                "id": "633f72580531f07b4fdf59c6",
                "name": "Transporter-6",
                "patch": null,
                "rocket": "5e9d0d95eda69973a809d1ec",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-12-01T00:00:00.000Z",
                "upcoming": true,
                "wikipedia": null,
                "flight_number": 198
            },
            {
                "id": "633f72000531f07b4fdf59c2",
                "name": "SES-18 & SES-19",
                "patch": null,
                "rocket": "5e9d0d95eda69973a809d1ec",
                "article": null,
                "details": null,
                "success": null,
                "webcast": null,
                "date_utc": "2022-11-01T00:00:00.000Z",
                "upcoming": true,
   
…