Vai al contenuto
GET /v1/next

Next upcoming launch

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/spacex-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "id": "6243aec2af52800c6e91925d",
        "name": "USSF-44",
        "patch": null,
        "rocket": "5e9d0d95eda69974db09d1ed",
        "article": null,
        "details": null,
        "success": null,
        "webcast": "https://youtu.be/pY628jRd6gM",
        "date_utc": "2022-11-01T13:41:00.000Z",
        "upcoming": true,
        "wikipedia": null,
        "flight_number": 188
    },
    "meta": {
        "timestamp": "2026-05-30T04:32:26.413Z",
        "request_id": "777ec8ba-ef1e-4860-8f3f-6db297591781"
    },
    "status": "ok",
    "message": "Next launch retrieved",
    "success": true
}