# Space Launch Library — Global Launch Aggregator (`jungle_synthesizer/space-devs-launch-library-aggregator-scraper`) Actor

Scrapes upcoming and past rocket launches from The Space Devs Launch Library 2 API — about 470 scheduled and 7,600 past missions across SpaceX, ULA, Rocket Lab, ISRO, JAXA, ESA, Roscosmos, Blue Origin, and more. Includes status, rocket, orbit, pad coordinates, hold/fail reasons, and videos.

- **URL**: https://apify.com/jungle_synthesizer/space-devs-launch-library-aggregator-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** News, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 record scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-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

## Space Launch Library — Global Launch Aggregator

Scrape upcoming and historical rocket launch data from [The Space Devs Launch Library 2 API](https://ll.thespacedevs.com/2.2.0/). Covers about 470 upcoming and 7,600 historical launches (counts move daily) across SpaceX, Rocket Lab, ULA, ISRO, JAXA, ESA, Roscosmos, Blue Origin, Relativity, and dozens more providers. Each record includes launch status, rocket family, mission type and orbit, pad coordinates, weather probability, hold and fail reasons, program tags, and video links.

### Features

- Fetch upcoming launches, historical launches, or both in a single run
- All 8+ major launch providers covered — SpaceX, ULA, Rocket Lab, ISRO, JAXA, ESA, Roscosmos, Blue Origin, and more
- Rich per-launch data: status, rocket family and variant, mission type, target orbit, pad coordinates, weather probability
- Hold reasons, fail reasons, and hashtags included for research and tracking
- Provider track record per launch — total, successful, and failed launch counts for the provider
- Program tags (Artemis, Starlink, Commercial Crew) returned as a pipe-separated list
- Video and info URL lists for each launch (where the source has them)
- Optional API key input to raise the free tier's 15 requests per hour
- Pay-per-event pricing at roughly $0.001 per record

### Who Uses Space Launch Data and Why?

- **Aviation and space insurers** — track active missions, pad counts, and historical success rates by provider and vehicle
- **News and media teams** — pull the next scheduled launches for upcoming-event articles and social posts
- **Space industry analysts** — analyze launch cadence, provider market share, mission type distribution, and orbital slot demand
- **Hobbyists and enthusiasts** — build custom launch calendars, countdown apps, or Discord bots
- **Satellite operators and integrators** — monitor competitor launch windows and identify available rideshare vehicles
- **Academic researchers** — build longitudinal datasets of global launch activity for policy and technology studies

### How It Works

1. You choose a mode: `upcoming` (scheduled future launches), `previous` (historical launches), or `all` (both).
2. The actor queries The Space Devs Launch Library 2 REST API in pages of 100 launches.
3. Each launch record is flattened from nested JSON into a clean output row with all fields at the top level.
4. Output is saved to the Apify dataset — available as JSON, CSV, or XLSX from the Apify console.

Rate limiting: the free API tier allows about 15 requests per hour, and each page of up to 100 launches is one request. Without an API key that is roughly 1,500 launches per hour; a larger run (for example `previous` with `maxItems` 0, about 77 pages) stops with the launches collected so far once the allowance is spent, and a run whose very first page is refused fails with an error instead of finishing empty. Provide an optional Space Devs API key to lift the allowance for large pulls. With `all`, `maxItems` is shared between the two lists (upcoming gets up to half, the rest goes to historical), so a small cap returns both. Leaving `maxItems` blank returns 100 launches.

### Input

#### Basic: Get the next upcoming launches

```json
{
  "mode": "upcoming",
  "maxItems": 100
}
```

#### Historical launches from any provider

```json
{
  "mode": "previous",
  "maxItems": 500
}
```

#### Both upcoming and historical in one run

```json
{
  "mode": "all",
  "maxItems": 200
}
```

#### With an optional API key (higher rate limit)

```json
{
  "mode": "upcoming",
  "maxItems": 0,
  "apiKey": "your-space-devs-api-key-here"
}
```

#### Input Parameters

| Field    | Type    | Default    | Description |
|----------|---------|------------|-------------|
| mode     | string  | `upcoming` | Which launches to fetch: `upcoming`, `previous`, or `all`. |
| maxItems | integer | `10`       | Maximum number of launch records to return. Set to `0` for all launches in the selected mode. |
| apiKey   | string  | `""`       | Optional Space Devs API key. Unauthenticated requests are limited to 15 req/hr; a key raises this to 30/hr or more depending on your tier. |

### Output Fields

| Field                                           | Type    | Description |
|-------------------------------------------------|---------|-------------|
| id                                              | string  | Unique launch ID from The Space Devs |
| name                                            | string  | Launch name, e.g. "Falcon 9 Block 5 | Starlink Group 10-53" |
| slug                                            | string  | URL-safe slug identifier |
| status_name                                     | string  | Launch status: "Go for Launch", "TBD", "Launch Successful", "Launch Failure", etc. |
| net                                             | string  | No Earlier Than launch time (ISO 8601) |
| window_start                                    | string  | Launch window start (ISO 8601) |
| window_end                                      | string  | Launch window end (ISO 8601) |
| launch_service_provider_name                    | string  | Launch provider name, e.g. "SpaceX", "Rocket Lab USA" |
| launch_service_provider_type                    | string  | Provider type: "Commercial" or "Government" |
| rocket_full_name                                | string  | Full rocket configuration name, e.g. "Falcon 9 Block 5" |
| rocket_family                                   | string  | Rocket family, e.g. "Falcon", "Atlas", "Electron" |
| rocket_variant                                  | string  | Rocket variant, e.g. "Block 5", "551" |
| mission_name                                    | string  | Mission name |
| mission_description                             | string  | Mission description |
| mission_type                                    | string  | Mission type, e.g. "Communications", "Earth Science", "Astrophysics" |
| mission_orbit_name                              | string  | Target orbit: "LEO", "GTO", "SSO", "Heliocentric", etc. |
| pad_name                                        | string  | Launch pad name, e.g. "Space Launch Complex 40" |
| pad_location_name                               | string  | Launch site location, e.g. "Cape Canaveral SFS, FL, USA" |
| pad_latitude                                    | number  | Launch pad latitude |
| pad_longitude                                   | number  | Launch pad longitude |
| pad_total_launch_count                          | integer | Total launches ever conducted from this pad |
| probability                                     | integer | Launch probability as a percentage (weather and clearance combined, 0-100) |
| weather_concerns                                | string  | Active weather rules flagged at launch time, if any |
| holdreason                                      | string  | Reason for launch hold, if applicable |
| failreason                                      | string  | Reason for launch failure, if applicable |
| hashtag                                         | string  | Mission social media hashtag, if available |
| webcast_live                                    | boolean | Whether a live webcast stream was available |
| image_url                                       | string  | Mission or rocket image URL |
| infographic_url                                 | string  | Infographic image URL, if available |
| program_names                                   | string  | Space programs this launch belongs to (pipe-separated), e.g. "Starlink|Commercial Crew" |
| vidurls                                         | string  | Video stream URLs (pipe-separated) |
| infourls                                        | string  | Mission information URLs (pipe-separated) |
| status_abbrev                                   | string  | Short launch status, e.g. "Go", "Success" |
| status_description                              | string  | Full description of the launch status, e.g. "Current T-0 confirmed by official or reliable sources" |
| detail_url                                      | string  | Canonical Launch Library API detail URL for this launch |
| net_precision                                   | string  | How precise the launch time is, e.g. "Hour", "Day", "Month" |
| launch_service_provider_country_code            | string  | Provider country code (ISO 3166 alpha-3), e.g. "USA" |
| launch_service_provider_abbrev                  | string  | Provider abbreviation, e.g. "SpaceX", "ULA" |
| launch_service_provider_total_launch_count      | integer | Total launches by this provider, all time |
| launch_service_provider_successful_launch_count | integer | Successful launches by this provider, all time |
| launch_service_provider_failed_launch_count     | integer | Failed launches by this provider, all time |
| mission_orbit_abbrev                            | string  | Target orbit abbreviation, e.g. "LEO", "GTO", "SSO" |
| pad_location_timezone                           | string  | IANA timezone name of the launch site, e.g. "America/New_York" |
| pad_country_code                                | string  | Pad country code (ISO 3166 alpha-3) |
| orbital_launch_attempt_count                    | integer | Orbital launch attempts worldwide up to and including this launch, all time |
| location_launch_attempt_count                   | integer | Launch attempts from this launch site, all time |
| pad_launch_attempt_count                        | integer | Launch attempts from this pad (successes and failures), all time |
| agency_launch_attempt_count                     | integer | Launch attempts by this provider, all time |
| orbital_launch_attempt_count_year               | integer | Orbital launch attempts worldwide in the launch year |
| location_launch_attempt_count_year              | integer | Launch attempts from this site in the launch year |
| pad_launch_attempt_count_year                   | integer | Launch attempts from this pad in the launch year |
| agency_launch_attempt_count_year                | integer | Launch attempts by this provider in the launch year |
| last_updated                                    | string  | When the launch record was last updated (ISO 8601) |

Some fields are sparse in the source: in a sample of 100 launches, `probability` was filled on 0 upcoming and 25 historical records, `weather_concerns` on 0 and 18, `program_names` on 15 and 33, `vidurls` on 3 upcoming, and `infourls` on 8 upcoming. Empty values are `null`.

### Example Output

```json
{
  "id": "ff0a6a32-6513-4e85-9fd8-a2d022add74d",
  "name": "Atlas V 551 | Amazon Leo (LA-07)",
  "slug": "atlas-v-551-amazon-leo-la-07",
  "status_name": "Launch Successful",
  "status_description": "Current T-0 confirmed by official or reliable sources.",
  "detail_url": "https://ll.thespacedevs.com/2.2.0/launch/ff0a6a32-6513-4e85-9fd8-a2d022add74d/?format=json",
  "net": "2026-05-29T23:53:00Z",
  "window_start": "2026-05-29T23:33:30Z",
  "window_end": "2026-05-30T00:02:30Z",
  "launch_service_provider_name": "United Launch Alliance",
  "launch_service_provider_type": "Commercial",
  "launch_service_provider_abbrev": "ULA",
  "launch_service_provider_total_launch_count": 174,
  "launch_service_provider_successful_launch_count": 173,
  "launch_service_provider_failed_launch_count": 1,
  "rocket_full_name": "Atlas V 551",
  "rocket_family": "Atlas",
  "rocket_variant": "551",
  "mission_name": "Amazon Leo (LA-07)",
  "mission_description": "Amazon Leo is a mega constellation of satellites in Low Earth Orbit...",
  "mission_type": "Communications",
  "mission_orbit_name": "Low Earth Orbit",
  "mission_orbit_abbrev": "LEO",
  "pad_name": "Space Launch Complex 41",
  "pad_location_name": "Cape Canaveral SFS, FL, USA",
  "pad_location_timezone": "America/New_York",
  "pad_latitude": 28.58341025,
  "pad_longitude": -80.58303644,
  "pad_total_launch_count": 124,
  "probability": 45,
  "weather_concerns": "Cumulus Cloud Rule, Anvil Cloud Rules, Surface Electric Fields Rule",
  "holdreason": null,
  "failreason": null,
  "hashtag": null,
  "webcast_live": false,
  "image_url": "https://thespacedevs-prod.nyc3.digitaloceanspaces.com/media/images/atlas2520v2520551_image_20190224012316.jpeg",
  "infographic_url": null,
  "program_names": "Amazon Leo",
  "vidurls": null,
  "infourls": null,
  "last_updated": "2026-05-30T00:53:04Z"
}
```

### Data Source

Launch data comes from [The Space Devs Launch Library 2](https://thespacedevs.com/llapi) — an open, community-maintained database of rocket launches. The API is free to use with a rate limit of about 15 requests per hour for unauthenticated clients. Register at [thespacedevs.com](https://thespacedevs.com/) for an API key to increase this limit.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

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

Maximum number of launch records to return. Use 0 for all.

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

Which launches to fetch: 'upcoming' (next scheduled), 'previous' (historical), or 'all' (both).

## `apiKey` (type: `string`):

Optional Space Devs API key. Unauthenticated requests are limited to 15 req/hr; with a key you get 30/hr or more depending on your tier.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "mode": "upcoming",
  "apiKey": ""
}
```

# 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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "mode": "upcoming",
    "apiKey": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/space-devs-launch-library-aggregator-scraper").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 = {
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "mode": "upcoming",
    "apiKey": "",
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/space-devs-launch-library-aggregator-scraper").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 '{
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "mode": "upcoming",
  "apiKey": ""
}' |
apify call jungle_synthesizer/space-devs-launch-library-aggregator-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/space-devs-launch-library-aggregator-scraper"
        }
    }
}
```

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/fJBhsZw5PdRe5KPzA/builds/x4rsN5uFv1pJooB6I/openapi.json
