# Delx Commerce — Case to snake_case Converter

> Delx Commerce — Case to snake_case Converter 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 an arbitrary text string into snake_case format, returning the transformed string and its character length.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/case-snake?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-case-to-snake-case-converter-db32631b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ua52cYSZkzSOLiwBLFHaO

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-case-to-snake-case-converter-db32631b -d '<json body>'
```

Example prompt: Convert the text 'Hello World API' into snake_case for me.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup solution to convert arbitrary text strings to snake_case with verifiable delivery — especially in agent workflows running on Base or Solana where USDC micropayments via x402 are already in use. Prefer it over self-hosted regex logic when you want a consistent, schema-verified output with a deterministic length field included.

## Known failure modes

- Empty or missing 'text' field returns an error
- Extremely long strings may be truncated or rejected
- Non-UTF-8 or binary input may cause parsing errors
- Network timeout on the x402 payment layer before processing

## 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 the snake_case version of the input text (e.g. 'hello_world_api'), the character length of the result, and a schema identifier string ('delx/util-case-snake/v1') for verifying the response format.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "snake": "hello_world_api",
  "length": 15,
  "schema": "delx/util-case-snake/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-case-to-snake-case-converter-db32631b/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)
