# Delx Camel To Kebab

> Delx Camel To Kebab 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 camelCase identifiers to kebab-case strings, useful for mapping JavaScript property names to CSS custom properties or URL tokens.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/camel-to-kebab
- 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-camel-to-kebab-b0d67132
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VDyZ7MUyj_4bg0e6xhjA3

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-camel-to-kebab-b0d67132 -d '<json body>'
```

Example prompt: Convert the camelCase identifier 'backgroundColor' to kebab-case so I can use it as a CSS custom property name.

## When to prefer this

Use this endpoint when an agent needs a quick, local, stateless camelCase-to-kebab conversion without setting up custom string-processing logic — especially useful in pipelines that generate CSS variables, URL tokens, or HTML attributes from JavaScript property names. Prefer it over general-purpose code execution when you want a lightweight, predictable micro-utility with no side effects.

## Known failure modes

- Empty or missing 'text' field returns an error
- Non-string input types may be rejected
- Payment failure via x402 results in 402 response before conversion occurs
- Already-kebab-case input is returned unchanged (idempotent but may not signal no-op)

## How this service works

Convert camelCase identifiers to kebab-case. Call when you map JS props to CSS/URL tokens. Returns kebab-case 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 string reformatted as kebab-case — all uppercase letters lowercased and separated from adjacent characters by hyphens (e.g. 'myVariableName' → 'my-variable-name').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello-world-api",
  "schema": "delx/util-camel-to-kebab/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-camel-to-kebab-b0d67132/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)
