# centralcity.ai Text Case Converter

> centralcity.ai Text Case Converter is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Converts input text into one of eight named cases: upper, lower, title, sentence, snake, kebab, camel, or pascal.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_z6bpqwovccbinzhd?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-text-case-converter-12100fc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wWI5wPrUvQ-doMnx3Axr7

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 centralcity-ai-text-case-converter-12100fc3 -d '<json body>'
```

Example prompt: Can you convert the text 'hello world example string' to camelCase for me?

## When to prefer this

Use this endpoint when you need deterministic, rule-based case transformation of text strings without setting up a local library. Ideal for agents that need to format identifiers, slugs, headings, or display text on the fly without code execution. Prefer over regex-based approaches when reliability and simplicity matter.

## Known failure modes

- Invalid or missing 'to' enum value returns an error
- Text exceeding 64 KiB limit may be rejected
- Empty text input may return an empty string or error
- Ambiguous word boundaries in already-cased strings (e.g. 'XMLParser') may produce unexpected camelCase or PascalCase splits

## How this service works

Writes a text in another case: upper, lower, title, sentence, snake, kebab, camel or pascal.

## Output

Returns the input text rewritten in the specified case format (upper, lower, title, sentence, snake, kebab, camel, or pascal). The response contains the transformed string ready for use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "enum": [
    "upper",
    "lower",
    "title",
    "sentence",
    "snake",
    "kebab",
    "camel",
    "pascal"
   ],
   "type": "string",
   "description": "The case to write: upper, lower, title, sentence, snake, kebab, camel, pascal."
  },
  "text": {
   "type": "string",
   "description": "The text, at most 64 KiB."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-text-case-converter-12100fc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
