# SpaceX API

> SpaceX API on Apizie: 3 endpoints (Latest launch, Upcoming launches, Rockets) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://apizie.tech/v1/open-data:spacex/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:spacex`
- Category: Open Data
- Status: live
- Source: https://github.com/r-spacex/SpaceX-API
- Page: https://apizie.tech/api/open-data/spacex
- OpenAPI: https://apizie.tech/api/open-data/spacex/openapi.json

Launches, rockets, capsules and Starlink data from the open-source SpaceX API.

## Endpoints

### Latest launch
`GET https://apizie.tech/v1/open-data:spacex/latest-launch`

### Upcoming launches
`GET https://apizie.tech/v1/open-data:spacex/upcoming-launches`

### Rockets
`GET https://apizie.tech/v1/open-data:spacex/rockets`

## Example
```
curl "https://apizie.tech/v1/open-data:spacex/latest-launch" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the SpaceX API?
Create a free Apizie key, then send GET https://apizie.tech/v1/open-data:spacex/latest-launch with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the SpaceX API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the SpaceX API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:spacex.

### What is the status of the SpaceX API?
Live: works with just an Apizie key
