canonical: https://jentic.com/apis/spacexdata.com/spacexdata

# Spacexdata SpaceX API

Open source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data. The API exposes 18 endpoints.

## For AI agents

Programmatically list all launches, get latest launch. Covers 18 operations.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- List all launches
- Get latest launch
- Integrate SpaceX API into automated workflows
- Query and filter SpaceX API records by parameters
- Monitor SpaceX API operational status and events

## Use cases

### Developer Tools Operations

Use the SpaceX API to perform developer tools operations programmatically. The API provides 18 endpoints covering core functionality including list all launches, get latest launch, get next launch.

Example prompt: Call GET /launches to list all launches

### Automated Capsules Management

Automate capsules operations by combining multiple SpaceX API endpoints. Agents can get latest launch and then get next launch in a single workflow.

Example prompt: Call GET /launches/latest to get latest launch, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call SpaceX API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.

Example prompt: Search Jentic for 'list all launches', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | /launches | List all launches |
| GET | /launches/latest | Get latest launch |
| GET | /launches/next | Get next launch |
| GET | /launches/past | List past launches |
| GET | /launches/upcoming | List upcoming launches |
| GET | /launches/{id} | Get a launch by ID |
| GET | /rockets | List all rockets |
| GET | /rockets/{id} | Get a rocket by ID |

## Key resources

- **Capsules** — Operations related to Capsules
- **Cores** — Operations related to Cores
- **Landpads** — Operations related to Landpads
- **Launches** — Operations related to Launches
- **Launchpads** — Operations related to Launchpads

## Why Jentic

- **Setup:** Wiring the SpaceX API by hand means reading its unauthenticated v5 endpoints and stitching together launches, rockets, and related resources by id yourself. Through Jentic you install once, import the SpaceX API from the API Directory, and your agent calls it.
- **Permission scoping:** The SpaceX API is public read-only data, so limit the agent to the operations it needs, such as listing launches or fetching a rocket by id. You choose the operations it may call, so it only reads the resources you allow and nothing more.
- **Credential handling:** The SpaceX API requires no credential, so there is no secret to store. Any configuration your Jentic One instance holds stays out of the agent's prompt, logs, and context.
- **Discovery method:** Agents search Jentic by intent such as 'get the latest launch' or 'list all rockets', and Jentic returns the matching SpaceX operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the SpaceX API use?

The SpaceX API uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I list all launches with the SpaceX API?

Yes. Use the GET /launches endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the SpaceX API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I list all launches through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'list all launches'. Jentic returns the matching SpaceX API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the SpaceX API have?

The SpaceX API exposes 18 endpoints covering capsules, cores, landpads operations.

### Can I limit what my agent is allowed to do with the SpaceX API?

Yes. Because you run Jentic One yourself, your own rules decide which SpaceX API operations the agent may call. Since the SpaceX API is public, read-only data, you can restrict the agent to only the endpoints it needs, such as GET /launches to list launches or GET /rockets/{id} to fetch a single rocket, and withhold every other operation. The agent reads only the resources you allow and can do nothing more.
