Zum Inhalt springen
GET /v1/latest

Most recent launch

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/spacex-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/spacex-api/v1/latest" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spacex-api/v1/latest", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spacex-api/v1/latest");
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/latest",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "id": "62dd70d5202306255024d139",
        "name": "Crew-5",
        "patch": "https://images2.imgbox.com/eb/d8/D1Yywp0w_o.png",
        "rocket": "5e9d0d95eda69973a809d1ec",
        "article": null,
        "details": null,
        "success": true,
        "webcast": "https://youtu.be/5EwW8ZkArL4",
        "date_utc": "2022-10-05T16:00:00.000Z",
        "upcoming": false,
        "wikipedia": "https://en.wikipedia.org/wiki/SpaceX_Crew-5",
        "flight_number": 187
    },
    "meta": {
        "timestamp": "2026-05-30T04:32:24.951Z",
        "request_id": "5e52c88b-dfe3-4de8-b452-c788f0a99dcf"
    },
    "status": "ok",
    "message": "Latest launch retrieved",
    "success": true
}