# Delx Const Case

> Delx Const 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-09-14).

Converts free text or identifiers into CONST_CASE (UPPER_SNAKE_CASE) format for use in environment variable names, enum labels, and agent configuration.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/const-case
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-const-case-70dfccdd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n72VuzVVMGn6G_TTm4DX8

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-const-case-70dfccdd -d '<json body>'
```

Example prompt: Convert 'maximum retry count' to CONST_CASE so I can use it as an environment variable name in my agent config.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, local conversion of free text or identifiers to CONST_CASE without any external network calls or data retention. Ideal for agent pipelines that need to normalize env var names, enum labels, or config keys on the fly at very low cost ($0.001 USDC).

## Known failure modes

- Empty or missing 'text' field returns an error or empty result
- Extremely long strings may be truncated or rejected
- Non-ASCII or special characters may be stripped or handled inconsistently
- Payment failure via x402 protocol returns 402 status before processing

## How this service works

Convert free text or identifiers to CONST_CASE. Call when you normalize env var names or enum labels for agent config. Returns UPPER_SNAKE 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 the input text converted to UPPER_SNAKE_CASE (CONST_CASE), with all words uppercased and separated by underscores, suitable for use as environment variable names, enum labels, or configuration keys.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-const-case-70dfccdd/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)
