# RelayStation ZIP Archive Builder

> RelayStation ZIP Archive Builder is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Zips one or more files (from URLs or raw payloads) into a single downloadable archive and returns a download link

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/archive/zip
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-zip-archive-builder-6da2dc54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FQ1Bd-f3lqgMA3CiJRQQo

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 relaystation-zip-archive-builder-6da2dc54 -d '<json body>'
```

Example prompt: Can you zip together these three files for me — https://example.com/report.pdf, https://example.com/data.csv, and https://example.com/notes.txt — and give me a single download link for the archive?

## When to prefer this

Choose this endpoint when an agent needs to package multiple files (accessed via URL or raw bytes) into a single zip archive and return a shareable download link — particularly in workflows that generate multiple output files, need to bundle assets for delivery, or must offer a single-click download experience. At $0.0002/MB with a 1¢ minimum, it is well-suited for small to medium file sets. Prefer this over generic file storage APIs when you need the ZIP format specifically and want a simple URL-in, URL-out interface with automatic payment via x402.

## Known failure modes

- One or more source URLs are unreachable or return non-200 responses — archive creation fails
- Payload too large — exceeds size or file count limits, returning an error
- Invalid or malformed URL in the file list causes a fetch error
- Network timeout fetching a remote file during archiving
- Insufficient USDC balance or x402 payment failure — request rejected before processing

## How this service works

$0.0002/MB. Zip any set of files into one downloadable archive — pass URLs or payloads, get a link back. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A download link (URL) pointing to the generated zip archive containing all submitted files, along with the total size in MB used to calculate the per-MB charge beyond the 1¢ minimum.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-zip-archive-builder-6da2dc54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
