# Launch Library Rocket Launches (`bigibyte/launch-library-rocket-launches`) Actor

Export upcoming and past rocket launches effortlessly. Set your preferred mode and item limit to gather flat dataset rows containing launch schedules, status details, and images, then export your results directly into JSON, CSV, or Excel.

- **URL**: https://apify.com/bigibyte/launch-library-rocket-launches.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## Launch Library Rocket Launches Scraper

Collect upcoming and previous rocket launch information from The Space Devs Launch Library. Choose a launch mode, set a result limit, and retrieve launch names, statuses, schedules, launch windows, and related information. Export structured results as JSON, CSV, Excel, or other supported dataset formats.

### What It Does

The Launch Library Rocket Launches Scraper collects launch records from The Space Devs Launch Library and organizes them into a structured dataset.

Each launch record preserves the source field names and includes information such as:

- **Launch ID:** Unique identifier for each launch.
- **Launch Name:** Name of the rocket mission.
- **Status:** Current launch status, including its name and abbreviation.
- **NET:** No Earlier Than launch time.
- **Launch Window:** Scheduled window start and end times.
- **Image:** Available launch image information.
- **Launch Designator:** Designator when available.
- **Scraped At:** Timestamp added when the record is collected.

The scraper supports pagination, duplicate prevention, request pacing, and retries for temporary request failures.

### Scraping Modes

Choose one of the following modes:

| Mode | Description |
|---|---|
| `upcoming` | Collects future rocket launches. |
| `previous` | Collects previously recorded rocket launches. |

Both modes return structured launch records from the selected collection.

### Input Example

```json
{
  "mode": "upcoming",
  "maxItems": 25,
  "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)",
  "requestDelayMs": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | String | `upcoming` | Launch collection mode. Supported values: `upcoming` and `previous`. |
| `maxItems` | Integer | `100` | Maximum number of launch records to collect. Hard maximum: 1,000. |
| `userAgent` | String | BigiByteActorResearch/1.0 | User-Agent used for requests. |
| `requestDelayMs` | Integer | `1000` | Delay between page requests in milliseconds. |
| `timeoutSecs` | Integer | `300` | Overall Actor run timeout in seconds. |
| `requestTimeoutSecs` | Integer | `30` | Maximum time allowed for an individual request. |
| `proxyConfiguration` | Object | No proxy | Optional proxy configuration. Disabled by default. |

### Output Example

```json
{
  "id": "97c6f5e1-299e-4652-b72d-9618ac047076",
  "url": "https://ll.thespacedevs.com/2.3.0/launches/97c6f5e1-299e-4652-b72d-9618ac047076/",
  "name": "Falcon 9 Block 5 | Starlink Group 15-25",
  "response_mode": "normal",
  "slug": "falcon-9-block-5-starlink-group-15-25",
  "launch_designator": null,
  "status": {
    "id": 1,
    "name": "Go for Launch",
    "abbrev": "Go",
    "description": "Current T-0 confirmed by official or reliable sources."
  },
  "last_updated": "2026-10-12T05:18:39Z",
  "net": "2026-10-13T00:11:47Z",
  "window_start": "2026-10-12T23:00:00Z",
  "window_end": "2026-10-13T03:00:00Z",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Type | Description |
|---|---|---|
| `id` | String | Unique launch identifier. Also used for duplicate prevention. |
| `url` | String | Launch detail URL from The Space Devs. |
| `name` | String | Name of the rocket launch or mission. |
| `response_mode` | String | Response mode provided in the source record. |
| `slug` | String | Launch URL slug. |
| `launch_designator` | String / Null | Launch designator, when available. |
| `status` | Object | Launch status information, including fields such as ID, name, abbreviation, and description. |
| `last_updated` | String | Last updated timestamp from the source. |
| `net` | String | No Earlier Than launch time. |
| `net_precision` | Object | Information about the precision of the NET launch time. |
| `window_start` | String | Launch window start time. |
| `window_end` | String | Launch window end time. |
| `image` | Object | Launch image information, potentially including image URLs, credit, and license details. |
| `infographic` | String / Null | Infographic URL when available. |
| `scrapedAt` | String | ISO timestamp added by the Actor. |

### Why Use This Scraper?

- **Upcoming Launch Tracking:** Build a structured feed of planned rocket launches.
- **Historical Research:** Collect previous launches for historical analysis.
- **Multi-Provider Coverage:** Explore missions from different launch providers in one dataset.
- **Automated Data Collection:** Schedule recurring runs to monitor launch schedule and status changes.
- **Ready-to-Use Exports:** Export results for spreadsheets, dashboards, and research pipelines.

### Use Cases

- **Rocket Launch Calendars:** Maintain an updated spreadsheet of upcoming missions.
- **SpaceX Launch Tracking:** Filter collected records for Falcon missions and other SpaceX launches.
- **Historical Space Research:** Gather previous launches for analysis and reporting.
- **Launch Monitoring:** Track changes to NET times, launch windows, and mission statuses across scheduled runs.
- **Data Integration:** Connect structured launch records to dashboards, spreadsheets, and other workflows.
- **API Prototyping:** Test rocket launch data workflows using publicly accessible launch information.

### Usage and Limits

- **Upcoming and Previous Data:** Select the appropriate mode to collect future or historical launches.
- **Automatic Pagination:** The scraper follows available pages until the item limit is reached or no additional records are available.
- **Duplicate Prevention:** Launch records are deduplicated using their unique `id`.
- **Request Pacing:** The default delay is approximately one second between page requests.
- **Error Handling:** Failed requests can produce error records containing details such as the input, URL, status, and message.

### Frequently Asked Questions

**Can I collect both upcoming and previous launches?**

Yes. Set `mode` to `upcoming` for future launches or `previous` for historical launch records.

**Does it include SpaceX launches?**

Yes. Launch records from different providers can appear in the selected collection. You can filter the exported results to focus on SpaceX missions.

**What launch information is collected?**

The dataset includes launch identifiers, mission names, statuses, scheduled times, launch windows, image information, and other available source fields.

**Does it automatically update launch schedules?**

Each run collects the information currently available from the source. To monitor schedule changes, configure recurring runs with Apify schedules.

**Can I export the dataset to Excel or CSV?**

Yes. Apify supports JSON, CSV, Excel, and other dataset export formats.

### Integrations

Connect Launch Library Rocket Launches with other applications through [Apify Integrations](https://apify.com/integrations). Use supported workflows with tools such as Zapier, Make, Google Sheets, and webhooks to organize and process collected launch data.

Looking for a custom space data scraper, automated data feed, or tailored extraction solution? BigiByte builds custom web scrapers and data collection tools to help businesses and developers collect, organize, and use web data efficiently.

Visit [BigiByte](https://bigibyte.com) to explore our solutions.

### Trademark Notice

The Space Devs, Launch Library, and all associated names, logos, and trademarks belong to their respective owners. They are mentioned only to identify the source of the collected information. This tool is independently developed and does not imply affiliation, sponsorship, endorsement, or partnership with The Space Devs.

### Disclaimer

This Actor is an independent data collection tool. Collected information is provided for research and informational purposes. Users are responsible for ensuring that their collection and use of the data comply with applicable laws, source usage terms, and image attribution or licensing requirements.

### Is Web Scraping Legal?

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Follow applicable privacy regulations, including GDPR and CCPA, when handling personal information.
- **Copyrighted Content:** Respect intellectual property rights when collecting or reusing protected material, including launch images and infographics.
- **Platform Terms and Rate Limits:** Review the source's terms and usage limits, and use reasonable request intervals.

This information is provided for general guidance only and does not constitute legal advice. For a more detailed explanation, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

upcoming: future launches. previous: past launches from The Space Devs Launch Library.

## `maxItems` (type: `integer`):

Stop after this many launch rows. Hard max is 1000.

## `userAgent` (type: `string`):

Identify your scraper to The Space Devs.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait before each page request. Free tier is about 15 requests/hour; raise this if you see 429.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional. The Space Devs public API usually works without a proxy. Turn this on only if you hit blocks.

## Actor input object example

```json
{
  "mode": "upcoming",
  "maxItems": 100,
  "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)",
  "requestDelayMs": 1000,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "mode": "upcoming",
    "maxItems": 100,
    "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/launch-library-rocket-launches").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 = {
    "mode": "upcoming",
    "maxItems": 100,
    "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)",
}

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/launch-library-rocket-launches").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 '{
  "mode": "upcoming",
  "maxItems": 100,
  "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)"
}' |
apify call bigibyte/launch-library-rocket-launches --silent --output-dataset

```

## MCP server setup

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

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/XIoRWO3kuUZ7gkIbb/builds/umWqCAjZflP3PsRTc/openapi.json
