# Rocket Launch Schedule & Where to Watch: SpaceX, NASA, ULA (`starport/rocket-launch-schedule`) Actor

Every upcoming rocket launch worldwide (SpaceX, Rocket Lab, ULA, Blue Origin, China and more): mission, rocket, pad, window, status and probability, plus the local time and public viewing spots for launches you can watch in person. Pay per launch.

- **URL**: https://apify.com/starport/rocket-launch-schedule.md
- **Developed by:** [Starport](https://apify.com/starport) (community)
- **Categories:** Developer tools, Travel, News
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 launches

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/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Rocket Launch Schedule & Where to Watch

Every upcoming rocket launch worldwide (SpaceX, Rocket Lab, ULA, Blue Origin, Arianespace, the Chinese launch providers and more) as clean rows: mission, rocket, provider, pad, the launch time and window in UTC, how precisely the date is known, status and probability, orbit and webcast.

For launches from the sites the public can watch (Cape Canaveral and Kennedy Space Center, Vandenberg, Wallops, Starbase, Rocket Lab's Mahia peninsula and Kourou), each row also carries the launch's **local time** at the site and **where to watch it**: the viewing spots with their rules (free or paid, closed on some launches, what can be seen from there), each with its source, and the official viewing tickets the site itself sells.

Use it for launch calendars and countdown apps, travel and events planning, newsletters, Discord and Slack bots, or an AI agent that answers "when is the next launch from Florida, and where can I watch it?".

### Input

| Field | What it is |
|---|---|
| `days` | Launches in the next this many days, up to 90 (or the last this many with `past`). |
| `provider` | Only providers or rockets whose name contains this (SpaceX, Rocket Lab, Falcon 9...). |
| `country` | Launch site country code as the schedule gives it (USA, CHN, NZL, FRA...). |
| `site` | One of the sites with a public viewing guide. |
| `watchableOnly` | Only launches from a site with a viewing guide. |
| `past` | Recent launches instead, newest first, with their outcome. |
| `maxResults` | At most this many launches. |

```json
{
    "days": 30,
    "provider": "SpaceX",
    "watchableOnly": true
}
```

### Output

One row per launch, soonest first. The values below are placeholders that show the shape.

```json
{
    "launch": "Falcon 9 Block 5 | Example Mission",
    "mission": "Example Mission",
    "missionType": "Communications",
    "provider": "SpaceX",
    "rocket": "Falcon 9 Block 5",
    "launchTimeUtc": "2026-01-01T15:47:00Z",
    "timePrecision": "time",
    "windowStartUtc": "2026-01-01T15:47:00Z",
    "windowEndUtc": "2026-01-01T16:17:00Z",
    "status": "Go for launch",
    "probabilityPct": 90,
    "orbit": "Low Earth Orbit",
    "pad": "Space Launch Complex 40",
    "location": "Cape Canaveral SFS, FL, USA",
    "country": "USA",
    "viewingSite": "Cape Canaveral and Kennedy Space Center",
    "localTime": "2026-01-01, 10:47 EST",
    "timeZone": "America/New_York",
    "whereToWatch": [{ "name": "Titusville riverfront", "where": "Along the Indian River", "note": "Free, open views across the river.", "source": "https://example.org/viewing" }],
    "officialViewing": [{ "name": "Launch viewing tickets", "note": "Sold by the visitor complex for some launches only." }],
    "attribution": "Launch schedule: The Space Devs, Launch Library 2 (thespacedevs.com). Viewing guide and local times: Starport."
}
```

`timePrecision` is `time` when the minute or hour is known, `day` when only the day is, `month` when only the month is; `localTime` is given only when the time is known.

### Data

The schedule is The Space Devs' Launch Library 2, a community-maintained launch database, read every hour. The viewing guide, local times and filters are added on top. Launch dates move often: read the schedule close to the day.

### Pricing

You pay per launch delivered (see the Pricing tab), plus Apify's small start fee.

**Apify's free plan** gets up to 10 launches per run; paid plans up to 500.

# Actor input Schema

## `days` (type: `integer`):

Launches in the next this many days (or, with Recent launches, the last this many days).

## `provider` (type: `string`):

Only launches whose provider or rocket name contains this, for example SpaceX, Rocket Lab, Falcon 9, Electron. Empty for all.

## `country` (type: `string`):

Two- or three-letter country code of the launch site as the schedule gives it (USA, CHN, NZL, FRA...). Empty for all.

## `site` (type: `string`):

Only launches from one of the sites with a public viewing guide.

## `watchableOnly` (type: `boolean`):

Only launches from a site with a public viewing guide (local time and spots).

## `past` (type: `boolean`):

Deliver launches that have flown in the last Days, newest first, with their outcome.

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

At most this many launches. Apify's free plan gets up to 10 per run.

## Actor input object example

```json
{
  "days": 30,
  "site": "any",
  "watchableOnly": false,
  "past": false,
  "maxResults": 100
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per launch: mission, provider, rocket, pad, window, status, probability, orbit and, where the public can watch, local time and viewing spots.

## `summary` (type: `string`):

How many launches matched and were delivered, when the schedule was read, and its attribution.

# 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("starport/rocket-launch-schedule").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("starport/rocket-launch-schedule").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 starport/rocket-launch-schedule --silent --output-dataset

```

## MCP server setup

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

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/mTP29NNTlxX41ek9T/builds/nJ7TdpNOQDkfcnIf1/openapi.json
