# 🚀 SpaceX Launch Intelligence - Rockets & Missions (`benthepythondev/spacex-launch-intelligence`) Actor

Track SpaceX rocket launches, missions, and space exploration data. Get launch schedules, mission details, rocket specifications, landing success rates, payload information, and crew data. Historical launches from Falcon 9, Falcon Heavy, and Starship

- **URL**: https://apify.com/benthepythondev/spacex-launch-intelligence.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** News, Other, Business
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🚀 SpaceX Launch Intelligence — Track Every Rocket Launch, Mission & Landing

Get **structured data on SpaceX rocket launches** — past missions, upcoming flights, rockets, launch pads and live webcasts — pulled from an actively maintained spaceflight database. Track Falcon 9, Falcon Heavy and Starship missions with launch dates, orbits, payloads, landing outcomes, mission patches and pad coordinates, all as clean rows. No scraping, no broken selectors, no API key. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

### 🛰️ What is the SpaceX Launch Intelligence?

It turns the SpaceX launch manifest into a structured dataset you can actually build on. Pick a data type (launches, rockets or launch pads) and a filter (all, past, upcoming or latest), and it returns every matching record with full mission details — so news sites, dashboards, educational apps and aerospace researchers get accurate launch data without wiring up an API or maintaining a scraper. Each run fetches the current state of the source, so upcoming launches and outcomes stay fresh.

#### What data does it extract?

- **Mission name, status and status description** (e.g. Launch Successful, Go for Launch)
- **Launch date/time** (`net`, with `window_start` and `window_end`)
- **Rocket** name and **rocket family** (Falcon 9, Falcon Heavy, Starship)
- **Mission details** — description, type and target **orbit**
- **Launch pad** name, location and **latitude/longitude** coordinates
- **Provider** (launch service provider) and **webcast availability**
- **Mission patch/image** URL and **failure reason** when a launch fails
- **Rocket specs** (rockets mode) — dimensions, thrust, reusability, total/successful/failed launch counts
- A direct **launch URL** and an `extracted_at` timestamp

Because the source is an actively maintained spaceflight API rather than a scraped web page, there are no selectors to break, no captchas and no login walls — re-running the actor simply refreshes the same fields with the latest manifest and outcomes.

### ⬇️ Input

Choose a data type and filter, then run — no key or login required:

| Field | Description |
|-------|-------------|
| `dataType` | `launches` (default), `rockets`, `capsules`, `launchpads`, `crew`, or `starlink` |
| `launchFilter` | `all` (default), `past`, `upcoming`, or `latest` — applies to launches |
| `successOnly` | Only return successful launches (`true` / `false`) |
| `year` | Filter launches by year, e.g. `2025` |
| `maxResults` | Cap the run (1–500, default 50) |

#### Example input

```json
{
  "dataType": "launches",
  "launchFilter": "past",
  "successOnly": true,
  "year": 2025,
  "maxResults": 50
}
```

### ⬆️ Output

Every record is one clean row (view as a **table**, or export **JSON / CSV / Excel**):

```json
{
  "id": "abc123",
  "name": "Falcon 9 Block 5 | Starlink Group 12-5",
  "status": "Launch Successful",
  "status_description": "The launch vehicle successfully inserted its payload(s) into the target orbit.",
  "net": "2025-11-14T09:32:00Z",
  "window_start": "2025-11-14T09:32:00Z",
  "window_end": "2025-11-14T13:32:00Z",
  "provider": "SpaceX",
  "rocket": "Falcon 9",
  "rocket_family": "Falcon",
  "mission": "Starlink Group 12-5",
  "mission_description": "A batch of satellites for the Starlink mega-constellation.",
  "mission_type": "Communications",
  "orbit": "Low Earth Orbit",
  "pad": "Space Launch Complex 40",
  "pad_location": "Cape Canaveral SFS, FL, USA",
  "pad_latitude": "28.56194122",
  "pad_longitude": "-80.57735736",
  "webcast_live": false,
  "image": "https://thespacedevs.com/media/launch_images/...",
  "failreason": "",
  "url": "https://thespacedevs.com/launch/abc123",
  "extracted_at": "2026-06-26T15:30:00+00:00"
}
```

### 💡 Use cases

- 📰 **News & media:** auto-update launch schedules, results and countdowns without manual research.
- 📊 **Dashboards & analytics:** chart launch cadence, landing success rates and payloads over time.
- 🎓 **Educational & enthusiast apps:** power "next launch" widgets and teach space concepts with real mission data.
- 🔭 **Aerospace research:** analyse rocket reuse, orbit targets and reliability across years.

### ❓ FAQ

**Where does the data come from?** From an actively maintained public spaceflight launch database (Launch Library 2 by The Space Devs). Each run fetches the current state, so upcoming launches and outcomes stay current.

**Do I need an API key?** No. There is no key, login or token to configure — just choose a data type and run.

**Can I get upcoming launches?** Yes. Set `launchFilter: "upcoming"` for the manifest of scheduled flights, or `latest` for the most recent launch.

**Can I filter to successful launches only?** Yes. Set `successOnly: true`, and optionally add a `year` to analyse a single season's reliability.

**What rockets are covered?** SpaceX vehicles including Falcon 9, Falcon Heavy and Starship, with names and families on every launch and full specs available via `dataType: "rockets"`.

**Can I get launch pad locations?** Yes. Use `dataType: "launchpads"` for pad names, locations and coordinates; launch records also include `pad_latitude` and `pad_longitude`.

**How fresh is the data?** Real-time per run — the actor queries the live source each time, so re-running keeps your dataset up to date.

**Can I run it on a schedule or via API?** Yes. Schedule recurring runs in Apify, call it via the API/SDK, or connect it to Make, Zapier or n8n to keep a launch feed live.

**How many records can it return?** Up to your `maxResults` cap (1–500); the actor paginates automatically.

**Is it legal?** It reads publicly available spaceflight data from an open API. Use it responsibly for research, news and apps, and follow the source's terms and applicable laws.

### 🔗 You might also like

- **[NASA Space Intelligence](https://apify.com/benthepythondev/nasa-space-intelligence)** — NASA imagery, asteroids and space data
- **[NOAA Weather Alerts](https://apify.com/benthepythondev/noaa-weather-alerts)** — live severe-weather alerts
- **[Hacker News Intelligence](https://apify.com/benthepythondev/hacker-news-intelligence)** — tech news and trends
- **[Federal Register Intelligence](https://apify.com/benthepythondev/federal-register-intelligence)** — US government rules and notices

***

**Keywords:** SpaceX scraper, SpaceX launch data, rocket launch API, Falcon 9 data, Falcon Heavy, Starship launches, upcoming rocket launches, launch schedule API, spaceflight data, launch pad coordinates, mission patch, landing success, SpaceX API alternative, aerospace data, space launch tracker.

# Actor input Schema

## `dataType` (type: `string`):

Type of SpaceX data to retrieve

## `launchFilter` (type: `string`):

Filter launches by type

## `successOnly` (type: `boolean`):

Only return successful launches

## `year` (type: `integer`):

Filter launches by year (e.g., 2023)

## `maxResults` (type: `integer`):

Maximum number of results to return

## Actor input object example

```json
{
  "dataType": "launches",
  "launchFilter": "all",
  "successOnly": false,
  "maxResults": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/spacex-launch-intelligence").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/spacex-launch-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call benthepythondev/spacex-launch-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/spacex-launch-intelligence"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zx1WijXxfmbsX1q0L/builds/VuZcAyYJLUL66OQuq/openapi.json
