ParseForge Scrapers

SpaceX Launches and Rockets Scraper

parseforge/spacex-launches-scraper

AutomationOther

Scrapes SpaceX API data for launches, rockets, capsules, cores, launchpads, landpads, payloads, and ships. Returns each record as a flat row.

Run this scraper See the API call
Total users
2
Monthly active
1
Total runs
127
Bookmarked
0
Rating
Not rated yet
Last modified
12 days ago

Overview

ParseForge

SpaceX Launches and Rockets Scraper

Scrape SpaceX launches, rockets, capsules, cores, launchpads, landpads, payloads, and ships from the public SpaceX API. Every record comes as a flat row with all fields from the endpoint. No API key. Export to CSV, JSON, Excel, or XML.

SpaceX's official API is public but returns nested JSON that is hard to flatten and filter. This Actor reads the SpaceX API directly, lets you pick any of eight endpoints, and returns each record as one flat row. Filter launches by success, upcoming status, or year, and cap the number of records per run.

Who uses it What they scrape SpaceX for
Space enthusiasts Track upcoming launches and mission details
Data analysts Build historical datasets of SpaceX hardware and missions
Researchers Study launch success rates and booster reuse
Developers Prototype apps that need SpaceX data without writing API code

What it does

This Actor collects data from the SpaceX API for launches, rockets, capsules, cores, launchpads, landpads, payloads, or ships, and returns each record as a flat row.

  • ๐Ÿš€ Eight endpoints: launches, rockets, capsules, cores, launchpads, landpads, payloads, and ships.
  • ๐Ÿ“… Launch filters: successful only, upcoming only, or a specific year.
  • ๐Ÿ”ข Row cap: set a maximum number of records per run, from 1 to 1,000,000.
  • ๐Ÿ“ฆ Flat output: every record is one row, ready for CSV, JSON, Excel, or XML.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with SpaceX data

๐Ÿ“… Track upcoming launches.

A space enthusiast runs the Actor with the launches endpoint and upcomingOnly=true to get a list of future missions and their dates.

๐Ÿ“Š Analyze booster reuse.

A data analyst scrapes the cores endpoint to see how many times each booster has flown and landed.

๐Ÿ›ฐ๏ธ Build a rocket database.

A developer pulls the rockets endpoint to get specifications like height, mass, and thrust for each SpaceX rocket.

๐Ÿ“ˆ Study launch success rates.

A researcher filters launches by year and successOnly=true to compute success rates over time.

Why choose this scraper

What you get
No API key The SpaceX API is public and needs no authentication
Flat rows Nested JSON is flattened into one row per record
All endpoints Launches, rockets, capsules, cores, launchpads, landpads, payloads, ships
Filtered Success, upcoming, and year filters for launches

How it compares

This Actor covers all eight SpaceX API endpoints, while the competitor focuses on launch and mission data.

Feature ParseForge ๐Ÿš€ SpaceX Launch Intelligence - Rockets & Missions
Launches endpoint Yes Yes
Rockets endpoint Yes Not listed
Capsules endpoint Yes Not listed
Cores endpoint Yes Not listed
Launchpads endpoint Yes Not listed
Landpads endpoint Yes Not listed
Payloads endpoint Yes Not listed
Ships endpoint Yes Not listed

Configure the run

Pick an endpoint, then optionally filter launches by success, upcoming status, or year, and set a maximum number of records. The Input tab lists every parameter.

A first run with the defaults:

{
  "maxItems": 10,
  "endpoint": "launches"
}

A larger pull:

{
  "maxItems": 200,
  "endpoint": "launches"
}

Pricing

Pay-per-result: $0.01867 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $1.87
1,000 results $18.67
10,000 results $186.70

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the SpaceX Launches and Rockets Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to SpaceX through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/spacex-launches-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your filters. If you set successOnly=true and upcomingOnly=true, no launch can be both. Also check the year filter format, it should be a four-digit year like 2024.

Why is the output empty for a specific endpoint?

Some endpoints may have fewer records. For example, ships has only a few entries. Try removing filters or increasing maxItems.

Why did the run fail?

The SpaceX API may be temporarily unavailable. Retry after a few minutes. If the problem persists, check the Actor log for details.

Can I get more than 1,000,000 records?

No. The maximum is 1,000,000 records per run. If you need more, split your request by year or endpoint.

FAQ

Question Answer
Do I need an API key? No. The SpaceX API is public and does not require authentication.
What endpoints can I scrape? Launches, rockets, capsules, cores, launchpads, landpads, payloads, and ships.
Can I filter launches? Yes. You can filter by successful only, upcoming only, or a specific year.
How many records can I get? You can set a maximum from 1 to 1,000,000 records per run.
What format is the output? Each record is a flat row. You can export to CSV, JSON, Excel, or XML.
Is the data live? Yes. The Actor reads the SpaceX API at the time of the run.
Can I get historical launches? Yes. The launches endpoint includes all past launches, and you can filter by year.
Does it include crew data? The launches endpoint includes crew information when available.
Can I scrape landing data? Yes. The landpads endpoint provides landing pad details, and launches include landing attempts.
Is there a limit on the number of runs? No. You can run the Actor as many times as you need.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Space Exploration Technologies Corp. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
maxItems integer How many launches to collect per run. 10
endpoint string (8 options) Pick a SpaceX resource. launches
successOnly boolean Restrict to successful launches. false
upcomingOnly boolean Restrict to upcoming/future launches. false
yearFilter string Restrict to a specific launch year (e.g. `2024`). Empty = all. not set

Pricing

from $14.00 per 1,000 results

Charged forWhat it isPrice each
Result item Charged per record successfully returned in the dataset. $0.014 to $0.01867

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~spacex-launches-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run SpaceX Launches and Rockets Scraper on Apify All scrapers