# Delx Commerce — Swap Case Text Transformer

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

Converts all uppercase letters in a text string to lowercase and all lowercase letters to uppercase (swap case transformation).

## Facts

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

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-commerce-swap-case-text-transformer-be220b12 -d '<json body>'
```

Example prompt: Swap the case of this text for me: 'Hello World' — so uppercase letters become lowercase and lowercase become uppercase.

## When to prefer this

Choose this endpoint when you need a fast, pay-per-result, no-signup swap-case transformation with verifiable delivery and USDC micropayment settlement. Ideal for agents that need deterministic character-level case inversion without setting up API keys or subscriptions.

## Known failure modes

- Missing or empty 'text' field in request body — likely returns a 400 error
- Non-string value passed as 'text' — may return a validation error
- Payment failure or insufficient USDC balance — returns HTTP 402 requiring payment
- Network timeout — returns connection error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing a 'text' field with the case-swapped version of the input string (all uppercase characters converted to lowercase and vice versa), along with a 'schema' field identifying the response format as 'delx/util-swap-case/v1'.

## 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-commerce-swap-case-text-transformer-be220b12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
