Назад към всички

spacex

// CLI for AI agents to lookup SpaceX launches and rockets for their humans. No auth required.

$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namespacex
version1.0.0
descriptionCLI for AI agents to lookup SpaceX launches and rockets for their humans. No auth required.
homepagehttps://github.com/r-spacex/SpaceX-API
metadata[object Object]

SpaceX Lookup

CLI for AI agents to lookup SpaceX launches, rockets, and crew for their humans. "When's the next SpaceX launch?" — now your agent can answer.

Uses the community SpaceX API. No account or API key needed.

Usage

"What are the upcoming SpaceX launches?"
"Show me the last 5 SpaceX launches"
"Tell me about the Falcon 9"
"Who are the SpaceX crew members?"

Commands

ActionCommand
Upcoming launchesspacex launches upcoming [limit]
Past launchesspacex launches past [limit]
Launch detailsspacex launch <id>
List rocketsspacex rockets
Rocket detailsspacex rocket <id>
Crew membersspacex crew [limit]

Examples

spacex launches                    # Next 10 upcoming launches
spacex launches upcoming 5         # Next 5 upcoming launches
spacex launches past 5             # Last 5 launches
spacex launch 5eb87d47ffd86e000604b38a  # Full launch details
spacex rockets                     # All rockets
spacex rocket 5e9d0d95eda69973a809d1ec  # Falcon 9 details
spacex crew 5                      # First 5 crew members

Output

Launch list output:

🚀 Starlink 4-36 (v1.5) — Falcon 9, 2022-10-20, Cape Canaveral

Launch detail output:

🚀 SAOCOM 1B, GNOMES-1, Tyvak-0172
   ID: 5eb87d47ffd86e000604b38a
   Flight #: 101
   Date: 2020-08-30 (hour)
   Rocket: Falcon 9
   Launchpad: Cape Canaveral
   Status: ✅ Success

📋 Details:
[Full mission description]

🎥 Webcast: https://youtu.be/P-gLOsDjE3E
📚 Wikipedia: https://en.wikipedia.org/wiki/SAOCOM

Rocket list output:

🛸 Falcon 9 — rocket, 2010-06-04, Active, 98% success

Crew output:

👨‍🚀 Robert Behnken — NASA, active

Notes

  • Uses SpaceX API v4 (api.spacexdata.com)
  • No authentication required
  • Data may lag behind real-time (community maintained)
  • Rockets: Falcon 1, Falcon 9, Falcon Heavy, Starship
  • Launchpads: Cape Canaveral, Vandenberg, Boca Chica, Kwajalein

Agent Implementation Notes

Script location: {skill_folder}/spacex (wrapper to scripts/spacex)

When user asks about SpaceX:

  1. Run ./spacex launches for upcoming launches
  2. Run ./spacex launches past for recent launches
  3. Run ./spacex launch <id> for full mission details
  4. Run ./spacex rockets for rocket info

Common queries:

  • "Next SpaceX launch" → spacex launches upcoming 1
  • "Recent launches" → spacex launches past 5
  • "Falcon 9 specs" → spacex rockets then spacex rocket <id>
  • "SpaceX crew" → spacex crew

Don't use for: Non-SpaceX launches (NASA, Blue Origin, etc.)