Fetch Last 5 SpaceX Launches via GraphQL API

This n8n workflow queries the spacex.land GraphQL API to retrieve details of the last five SpaceX launches, including missions, rockets, payloads, and ships.

n8n
Fetch Last 5 SpaceX Launches via GraphQL API

This simple yet powerful n8n workflow uses a Manual Trigger node followed by a GraphQL node to fetch the most recent five SpaceX launches from the spacex.land API. The query retrieves rich data such as mission names, local launch dates, launch site details, article and video links, rocket configurations (including first and second stage info like core reuse counts, statuses, payload types, and masses), and associated ships with their names, home ports, and images. It's designed as a companion for n8n's GraphQL node documentation, making it an ideal starting point for API integrations.

The benefits are clear: it showcases GraphQL querying without custom code, enabling quick data extraction in seconds. This saves developers and space enthusiasts hours of manual API work or scripting, while demonstrating n8n's no-code power for handling complex nested queries. It's lightweight (just 2 nodes), reliable, and extensible for production use.

Use cases include building dashboards for launch tracking, sending notifications on new missions, feeding data into analytics tools, or educational demos for GraphQL and n8n. Integrate it with email, Slack, or database nodes to automate alerts, reports, or enrich aerospace projects with real-time SpaceX intel.

$4.99
Last updated August 29, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Miscellaneous workflows

More from Jordi Faber

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.