Custom Connector
SpaceX Connector
Global
The SpaceX Connector provides seamless integration with the SpaceX API v4 — real-time and historical data on launches, rockets, cores, capsules, crew, Starlink satellites, launchpads, landing pads, ships, company information, historical events, payloads, and the Tesla Roadster. It acts as a proxy supporting fetching all resources, specific resources by ID, and advanced querying with pagination and filtering.
Overview
Integration Overview
This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the SpaceX Connector. The SpaceX API is publicly accessible and requires no authentication.
- getAllLaunches. Retrieves a list of all SpaceX launches.
- getLaunchById. Retrieves details of a specific launch by ID.
- queryLaunches. Queries launches with custom filters and pagination.
- getPastLaunches. Retrieves a list of past launches.
- getUpcomingLaunches. Retrieves a list of upcoming launches.
- getLatestLaunch. Retrieves the most recent launch.
- getNextLaunch. Retrieves the next scheduled launch.
- getAllRockets. Retrieves a list of all rockets.
- getRocketById. Retrieves a specific rocket by ID.
- queryRockets. Queries rockets with filters and pagination.
- getAllCores. Retrieves all booster cores.
- getCoreById. Retrieves a specific core by ID.
- queryCores. Queries cores with filters and pagination.
- getAllCapsules. Retrieves all capsules.
- getCapsuleById. Retrieves a specific capsule by ID.
- queryCapsules. Queries capsules with filters and pagination.
- getAllCrew. Retrieves all crew members.
- getCrewById. Retrieves a specific crew member by ID.
- queryCrew. Queries crew with filters and pagination.
- getAllStarlink. Retrieves all Starlink satellites.
- queryStarlink. Queries Starlink with filters and pagination.
- getAllLaunchpads. Retrieves all launchpads.
- getLaunchpadById. Retrieves a specific launchpad by ID.
- queryLaunchpads. Queries launchpads with filters and pagination.
- getAllLandpads. Retrieves all landing pads.
- getLandpadById. Retrieves a specific landing pad by ID.
- queryLandpads. Queries landing pads with filters and pagination.
- getAllShips. Retrieves all ships.
- getShipById. Retrieves a specific ship by ID.
- queryShips. Queries ships with filters and pagination.
- getCompanyInfo. Retrieves information about SpaceX as a company.
- getAllHistory. Retrieves historical SpaceX events.
- getHistoryById. Retrieves a specific historical event by ID.
- queryHistory. Queries historical events with filters and pagination.
- getAllPayloads. Retrieves all payloads.
- getPayloadById. Retrieves a specific payload by ID.
- queryPayloads. Queries payloads with filters and pagination.
- getRoadster. Retrieves data about the Tesla Roadster in space.
Documentation
Detailed Integration Documentation
All Launches Retrieval
| Action | getAllLaunches |
|---|---|
| Purpose | Retrieves a comprehensive list of all SpaceX launches, past and upcoming. The primary entry point for launch data. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, date_utc, success, details, rocket, launchpad, links). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllLaunches, then process the response for a dashboard or store it in a GCP BigQuery table. |
Launch by ID Retrieval
| Action | getLaunchById |
|---|---|
| Purpose | Retrieves details of a specific launch by ID. |
| Parameters | Required: id – Launch ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getLaunchById with a specific id, then use the data for detailed analysis or display. |
Query Launches
| Action | queryLaunches |
|---|---|
| Purpose | Queries SpaceX launches with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {success: true}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryLaunches with a query and options, process the paginated response, and store results in GCP. |
Past Launches Retrieval
| Action | getPastLaunches |
|---|---|
| Purpose | Retrieves a list of past SpaceX launches, useful for historical analysis. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects. Failure: error details (error-type: server-error). |
| Workflow example | Execute getPastLaunches, then process the response for a dashboard or store it in a GCP BigQuery table. |
Upcoming Launches Retrieval
| Action | getUpcomingLaunches |
|---|---|
| Purpose | Retrieves a list of upcoming SpaceX launches, useful for planning or notifications. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects. Failure: error details (error-type: server-error). |
| Workflow example | Execute getUpcomingLaunches, then process the response for a dashboard or store it in a GCP BigQuery table. |
Latest Launch Retrieval
| Action | getLatestLaunch |
|---|---|
| Purpose | Retrieves the most recent SpaceX launch, useful for displaying current mission status. |
| Parameters | Required: id – (no id required). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getLatestLaunch with a specific id, then use the data for detailed analysis or display. |
Next Launch Retrieval
| Action | getNextLaunch |
|---|---|
| Purpose | Retrieves the next scheduled SpaceX launch, useful for upcoming mission tracking. |
| Parameters | Required: id – (no id required). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getNextLaunch with a specific id, then use the data for detailed analysis or display. |
All Rockets Retrieval
| Action | getAllRockets |
|---|---|
| Purpose | Retrieves a list of all SpaceX rockets, useful for cataloging vehicle data. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, description, wikipedia, flickr_images). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllRockets, then process the response for a dashboard or store it in a GCP BigQuery table. |
Rocket by ID Retrieval
| Action | getRocketById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX rocket by its ID. |
| Parameters | Required: id – Rocket ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getRocketById with a specific id, then use the data for detailed analysis or display. |
Query Rockets
| Action | queryRockets |
|---|---|
| Purpose | Queries SpaceX rockets with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {name: “Falcon 9”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryRockets with a query and options, process the paginated response, and store results in GCP. |
All Cores Retrieval
| Action | getAllCores |
|---|---|
| Purpose | Retrieves a list of all SpaceX booster cores. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, serial, status, last_update, launches). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllCores, then process the response for a dashboard or store it in a GCP BigQuery table. |
Core by ID Retrieval
| Action | getCoreById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX booster core by its ID. |
| Parameters | Required: id – Core ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getCoreById with a specific id, then use the data for detailed analysis or display. |
Query Cores
| Action | queryCores |
|---|---|
| Purpose | Queries SpaceX booster cores with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {status: “active”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryCores with a query and options, process the paginated response, and store results in GCP. |
All Capsules Retrieval
| Action | getAllCapsules |
|---|---|
| Purpose | Retrieves a list of all SpaceX capsules. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, serial, status, type, last_update). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllCapsules, then process the response for a dashboard or store it in a GCP BigQuery table. |
Capsule by ID Retrieval
| Action | getCapsuleById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX capsule by its ID. |
| Parameters | Required: id – Capsule ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getCapsuleById with a specific id, then use the data for detailed analysis or display. |
Query Capsules
| Action | queryCapsules |
|---|---|
| Purpose | Queries SpaceX capsules with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {type: “Dragon 2”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryCapsules with a query and options, process the paginated response, and store results in GCP. |
All Crew Retrieval
| Action | getAllCrew |
|---|---|
| Purpose | Retrieves a list of all SpaceX crew members. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, status, image, launches). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllCrew, then process the response for a dashboard or store it in a GCP BigQuery table. |
Crew by ID Retrieval
| Action | getCrewById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX crew member by their ID. |
| Parameters | Required: id – Crew member ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getCrewById with a specific id, then use the data for detailed analysis or display. |
Query Crew
| Action | queryCrew |
|---|---|
| Purpose | Queries SpaceX crew members with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {status: “active”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryCrew with a query and options, process the paginated response, and store results in GCP. |
All Starlink Retrieval
| Action | getAllStarlink |
|---|---|
| Purpose | Retrieves a list of all Starlink satellites. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, version, height_km, longitude, launch). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllStarlink, then process the response for a dashboard or store it in a GCP BigQuery table. |
Query Starlink
| Action | queryStarlink |
|---|---|
| Purpose | Queries Starlink satellites with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {version: “v1.0”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryStarlink with a query and options, process the paginated response, and store results in GCP. |
All Launchpads Retrieval
| Action | getAllLaunchpads |
|---|---|
| Purpose | Retrieves a list of all SpaceX launchpads. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, full_name, status, launches). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllLaunchpads, then process the response for a dashboard or store it in a GCP BigQuery table. |
Launchpad by ID Retrieval
| Action | getLaunchpadById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX launchpad by its ID. |
| Parameters | Required: id – Launchpad ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getLaunchpadById with a specific id, then use the data for detailed analysis or display. |
Query Launchpads
| Action | queryLaunchpads |
|---|---|
| Purpose | Queries SpaceX launchpads with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {status: “active”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryLaunchpads with a query and options, process the paginated response, and store results in GCP. |
All Landing Pads Retrieval
| Action | getAllLandpads |
|---|---|
| Purpose | Retrieves a list of all SpaceX landing pads. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, full_name, status, type, launches). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllLandpads, then process the response for a dashboard or store it in a GCP BigQuery table. |
Landing Pad by ID Retrieval
| Action | getLandpadById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX landing pad by its ID. |
| Parameters | Required: id – Landing pad ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getLandpadById with a specific id, then use the data for detailed analysis or display. |
Query Landing Pads
| Action | queryLandpads |
|---|---|
| Purpose | Queries SpaceX landing pads with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {type: “RTLS”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryLandpads with a query and options, process the paginated response, and store results in GCP. |
All Ships Retrieval
| Action | getAllShips |
|---|---|
| Purpose | Retrieves a list of all SpaceX ships. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, type, status, launches). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllShips, then process the response for a dashboard or store it in a GCP BigQuery table. |
Ship by ID Retrieval
| Action | getShipById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX ship by its ID. |
| Parameters | Required: id – Ship ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getShipById with a specific id, then use the data for detailed analysis or display. |
Query Ships
| Action | queryShips |
|---|---|
| Purpose | Queries SpaceX ships with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {type: “Recovery Ship”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryShips with a query and options, process the paginated response, and store results in GCP. |
Company Information Retrieval
| Action | getCompanyInfo |
|---|---|
| Purpose | Retrieves information about SpaceX as a company, useful for organizational data. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with id, name, founder, founded, headquarters (address, city, state). Failure: error details (error-type: server-error). |
| Workflow example | Execute getCompanyInfo and display company data in an about page or report. |
All Historical Events Retrieval
| Action | getAllHistory |
|---|---|
| Purpose | Retrieves a list of historical SpaceX events, useful for historical analysis. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, title, event_date_utc, details). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllHistory, then process the response for a dashboard or store it in a GCP BigQuery table. |
Historical Event by ID Retrieval
| Action | getHistoryById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX historical event by its ID. |
| Parameters | Required: id – Event ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getHistoryById with a specific id, then use the data for detailed analysis or display. |
Query Historical Events
| Action | queryHistory |
|---|---|
| Purpose | Queries SpaceX historical events with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {title: “Falcon”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryHistory with a query and options, process the paginated response, and store results in GCP. |
All Payloads Retrieval
| Action | getAllPayloads |
|---|---|
| Purpose | Retrieves a list of all SpaceX payloads. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON array of objects (id, name, type, orbit, launch). Failure: error details (error-type: server-error). |
| Workflow example | Execute getAllPayloads, then process the response for a dashboard or store it in a GCP BigQuery table. |
Payload by ID Retrieval
| Action | getPayloadById |
|---|---|
| Purpose | Retrieves details of a specific SpaceX payload by its ID. |
| Parameters | Required: id – Payload ID (string). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object for the single resource. Failure: error details (error-type: invalid-id). |
| Workflow example | Execute getPayloadById with a specific id, then use the data for detailed analysis or display. |
Query Payloads
| Action | queryPayloads |
|---|---|
| Purpose | Queries SpaceX payloads with custom filters and pagination. |
| Parameters | Required: query – filter object (e.g. {type: “Satellite”}). options – pagination and sorting (e.g. {limit: 10, page: 1}). Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with docs, totalDocs, limit, totalPages, page, hasPrevPage, hasNextPage, prevPage, nextPage. Failure: error details (error-type: invalid-query). |
| Workflow example | Execute queryPayloads with a query and options, process the paginated response, and store results in GCP. |
Roadster Retrieval
| Action | getRoadster |
|---|---|
| Purpose | Retrieves data about Elon Musk’s Tesla Roadster in space, useful for unique data points. |
| Parameters | Required: None. Optional: None. |
| Configuration | Configure the connector with the base URL via CONNECTOR_ENV_SPACEX_BASE_URL (e.g. https://api.spacexdata.com/v4). The SpaceX API is public and requires no authentication. |
| Output | Successful: JSON object with id, name, norad_id, orbit_type, apoapsis_au, periapsis_au. Failure: error details (error-type: server-error). |
| Workflow example | Execute getRoadster and display Roadster data in an educational application. |
Example Workflow: Launch Tracking and Analysis
| Retrieve all launches | Use getAllLaunches to fetch all SpaceX launches and identify key launches for further analysis. |
|---|---|
| Query specific launches | Execute queryLaunches with query={success: true} and options={limit: 10, page: 1, sort: {date_utc: desc}} to fetch recent successful launches. |
| Fetch latest and next | Use getLatestLaunch and getNextLaunch to power a real-time mission tracking system. |
| Analyze rockets and cores | Use getAllRockets / getAllCores and the query variants for detailed analysis, storing results in BigQuery. |
| Track Starlink | Use getAllStarlink and queryStarlink for orbital tracking via a Dataflow pipeline. |
| Enhance UI | Use getCompanyInfo and getAllHistory to enrich a GCP-hosted web application. |
Support
For technical support, contact custom-connectors-support@isolutions.sa.