# AgentShelf Flat Case Text Transform

> AgentShelf Flat Case Text Transform is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Converts input text to flat case (all lowercase, no spaces or separators) without using a network or LLM

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/case-flat?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-flat-case-text-transform-f8adcc40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k1R4F8ScSgGyCsC1nHh-_

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 agentshelf-flat-case-text-transform-f8adcc40 -d '<json body>'
```

Example prompt: Can you rewrite the text 'Hello World Example String' using the flat case transform so it comes out as all lowercase with no spaces or separators?

## When to prefer this

Choose this endpoint when you need a deterministic, offline flat case conversion at a fixed cost of $0.006 USDC. It performs no LLM inference and no network calls, making it fast and consistent. If an unpaid sandbox version at POST /v1/sandbox/case-flat is available, prefer that first to avoid costs during development.

## Known failure modes

- Empty string input returns a validation error (minLength:1 not met)
- Text exceeding 100,000 characters returns an error (maxLength exceeded)
- Malformed JSON body returns a 400 Bad Request
- Insufficient USDC balance or missing x402 payment header returns a 402 Payment Required

## How this service works

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

## Output

Returns the input text transformed to flat case: all characters lowercased and spaces/separators removed, producing a single continuous lowercase string. No LLM or external network call is made; transformation is deterministic and purely local.

## 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/agentshelf-flat-case-text-transform-f8adcc40/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)
