# Relaystation Data Rename

> Relaystation Data Rename 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-15).

Renames columns in tabular data by mapping old column names to new ones, tidying schemas between pipeline steps.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/data/rename
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-data-rename-2f3616cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xZuKvqRNjy1mHWPYmvb1e

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-rename-2f3616cf -d '<json body>'
```

Example prompt: Take this JSON dataset and rename the columns using this mapping: 'first_name' → 'firstName', 'last_name' → 'lastName', and 'email_address' → 'email'.

## When to prefer this

Choose this endpoint when you need a lightweight, paid-per-MB column renaming step within a data pipeline and don't want to spin up a full ETL framework. Ideal for agents automating schema normalization between microservices, API integrations, or database migrations where column name mismatches are the only transformation needed. Well-suited for x402 micropayment workflows where you pay only for the data volume processed.

## Known failure modes

- Column name in mapping not found in dataset — returns error indicating missing source column
- Invalid or malformed input data format — returns parsing error
- Empty or null mapping provided — returns unchanged data or validation error
- Data exceeds size limits — billing or truncation error
- Conflicting target column names (two sources mapped to same target) — returns schema conflict error

## How this service works

$0.0002/MB. Rename columns by mapping — tidy schemas between pipeline steps. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the input dataset with all specified columns renamed according to the provided mapping, preserving all data values and row structure while applying the new field names throughout.

## 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-data-rename-2f3616cf/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)
