# Train Case Text Transformer

> Train Case Text Transformer is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-29).

Converts input text to Train-Case format (capitalized words joined by hyphens) without network calls or LLM usage

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/case-train?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/train-case-text-transformer-7ed23fb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xtptYFU9a9AjDH73_eB6m

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 train-case-text-transformer-7ed23fb0 -d '<json body>'
```

Example prompt: Can you convert the text 'hello world from the api' to Train-Case format?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, purely local train-case string transformation without any LLM or network overhead, and when the free sandbox endpoint (/v1/sandbox/case-train) is unavailable or unsuitable. Ideal for formatting CSS identifiers, API route segments, filenames, or headers where Train-Case convention is required.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Input exceeding 100,000 characters is rejected
- Malformed JSON body returns a 400 error
- Payment of exactly $0.01 USDC required; incorrect payment amount causes rejection via x402 protocol

## How this service works

Call when an agent needs text rewritten with the train case transform. No network and no LLM. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/case-train first.

## Output

Returns the input text transformed into Train-Case — each word capitalized and joined by hyphens (e.g. 'hello world' becomes 'Hello-World'). The response is a deterministic, purely computational string transformation with no external dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/train-case-text-transformer-7ed23fb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
