# RelayStation Data Slice

> RelayStation Data Slice 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).

Slices rows from a dataset by offset, limit, head, or tail for pagination or preview use cases

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/data/slice
- 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-data-slice-448d09ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z-D-2s3U7vNRcAIr9Tat-

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-data-slice-448d09ea -d '<json body>'
```

Example prompt: I have a large dataset — give me rows 50 through 100 (offset 50, limit 50) so I can page through it in chunks.

## When to prefer this

Choose this endpoint when you need efficient row-level pagination or preview of tabular data without processing the full dataset. It is ideal for building paged UIs, sampling large files, or inspecting recent entries. Prefer it over loading full datasets when only a window of rows is needed.

## Known failure modes

- Offset exceeds total row count — returns empty result or error
- Invalid or missing slice parameters (no offset/limit/head/tail specified)
- Input data malformed or not parseable as tabular rows
- Payload too large — pricing is per MB so very large datasets may hit limits
- x402 payment not fulfilled — request rejected before processing

## How this service works

$0.0002/MB. Slice rows — offset, limit, head, tail — for paging or previews. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the requested subset of rows from the input dataset — either a head slice (first N rows), tail slice (last N rows), or an offset+limit window — suitable for pagination, previews, or incremental processing.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {}
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-data-slice-448d09ea/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)
