Ir al contenido
GET /v1/next

Next upcoming launch

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/spacex-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}