# Delx Swap Case

> Delx Swap Case is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-21).

Flips the case of every letter in a string — uppercase becomes lowercase and vice versa — as a stateless, deterministic text transform.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/swap-case?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-swap-case-bc455b06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2VHYWcnzm6-XmmeK7JsaN

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 delx-swap-case-bc455b06 -d '<json body>'
```

Example prompt: Swap the case of this string for me: 'Hello World, This Is A TEST' — flip every uppercase letter to lowercase and every lowercase to uppercase.

## When to prefer this

Choose this endpoint when you need a guaranteed, locale-neutral, deterministic case flip on a string — particularly in testing or pipeline-validation scenarios where you need a known reversible transform. It is not a locale-aware title-case or sentence-case converter; it simply mirrors each letter's case bit. Prefer it over building your own logic when you want a cheap, stateless, no-side-effect utility call.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Excessively long strings may be rejected or time out
- Payment failure (insufficient USDC balance or x402 protocol error) results in a 402 response and no transform
- Non-UTF-8 or malformed input may produce unexpected output or an error

## How this service works

Swap letter case for deterministic transform tests. Call when you need a pure case flip without locale rules. Returns case-swapped text for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns a plain text response containing the input string with every letter's case inverted — uppercase letters become lowercase and lowercase letters become uppercase; non-letter characters are passed through unchanged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hELLOwORLD",
  "schema": "delx/util-swap-case/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-swap-case-bc455b06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
