# Relaystation Text Case Converter

> Relaystation Text Case Converter 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).

Converts text to a specified case format — uppercase, lowercase, title case, camelCase, snake_case, or kebab-case — billed per MB of input.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/text/case
- 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-text-case-converter-f16d677a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2tjYa84qQJQYnC6SZMtTR

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-text-case-converter-f16d677a -d '<json body>'
```

Example prompt: Convert this text to snake_case: 'My Product Launch Title 2024'

## When to prefer this

Choose this endpoint when you need a simple, fast, pay-per-use text recasing utility without spinning up your own string-processing logic — especially useful inside agentic pipelines that need to normalize identifiers, headers, or labels on the fly. The per-MB pricing makes it cost-effective for both tiny one-off conversions and moderate-volume batch calls within a single request.

## Known failure modes

- Unsupported case format value returns an error
- Empty or missing text input returns a validation error
- Overly large payloads may exceed per-request limits
- Network or payment authorization failures via x402 protocol

## How this service works

$0.0002/MB. Recase text — upper, lower, title, camel, snake, kebab. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the input text recased into the requested format (uppercase, lowercase, title, camelCase, snake_case, or kebab-case). Billed at $0.0002/MB with a 1¢ minimum per x402 call; any unused credit auto-carries forward.

## 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": {
     "type": "object",
     "properties": {
      "to": {
       "enum": [
        "upper",
        "lower",
        "title",
        "camel",
        "snake",
        "kebab"
       ],
       "type": "string"
      },
      "file": {
       "type": "object",
       "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."
      },
      "text": {
       "type": "string",
       "minLength": 1
      }
     }
    },
    "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-text-case-converter-f16d677a/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)
