# 2s.io Space Launches

> 2s.io Space Launches is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-09-13).

Returns upcoming or recent orbital rocket launches with status, timing, provider, rocket, pad, mission, and webcast info from The Space Devs' Launch Library 2

## Facts

- Endpoint: GET https://2s.io/api/space/launches
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-space-launches-611a65fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tAIikrvsNgF9nHU6b4q14

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-space-launches-611a65fe
```

Example prompt: What are the next 5 upcoming rocket launches — show me the launch times, status, provider, and whether there's a webcast? Also filter to just SpaceX missions.

## When to prefer this

Use this endpoint when you need real-time or near-real-time orbital rocket launch data that cannot be sourced from model training — especially for upcoming launch schedules, go/no-go status, live webcast links, or recent launch outcomes. Prefer this over generic web search when structured launch manifest data is needed.

## Known failure modes

- Invalid 'when' value returns validation error
- Search string with no matches returns empty results list
- Limit exceeding 50 returns schema validation error
- Offset beyond available results returns empty list
- Network timeout or upstream Launch Library 2 API downtime returns 5xx error

## How this service works

Upcoming or recent orbital rocket launches from The Space Devs' Launch Library 2 — the live manifest behind most launch-tracking apps. `when`=upcoming (default) or previous. Optional `search` filters by rocket, provider, or mission text (e.g. "Starship", "SpaceX", "Artemis"). Each launch: name, status (Go/TBD/Success/Failure), NET launch time + window (UTC), launch provider, rocket configuration, pad + location, mission name/type/orbit/description, and whether a webcast is live. Real-time data agents can't get from training. Public CC-BY data (attribute The Space Devs).

## Output

A list of rocket launches (up to 50), each with name, go/TBD/success/failure status, NET launch time and window in UTC, launch provider, rocket configuration, pad name and location, mission name/type/orbit/description, and a flag indicating whether a live webcast is available.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "when": "upcoming",
   "limit": 5,
   "offset": 0,
   "search": "SpaceX"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "when": {
       "enum": [
        "upcoming",
        "previous"
       ],
       "type": "string",
       "default": "upcoming"
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "search": {
       "type": "string",
       "description": "Filter by rocket / provider / mission text."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-space-launches-611a65fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
