# CoCo Text Case Converter

> CoCo Text Case Converter is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Converts an input text string into multiple case formats simultaneously (camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, UPPER, lower, sentence)

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/case?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coco-text-case-converter-bd93a145
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UTA2_MIO9guW-4m8dObNY

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 coco-text-case-converter-bd93a145
```

Example prompt: Convert 'the cat sat on the mat' into all the standard text cases — camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, title case, upper, lower, and sentence — all at once.

## When to prefer this

Choose this endpoint when you need to convert a text string into multiple case formats in a single API call, rather than calling separate conversion utilities for each format. Ideal for code generation workflows, API design, database schema naming, or any scenario requiring consistent identifier casing across conventions.

## Known failure modes

- Missing or empty 'text' query parameter may return an error or empty results
- Non-ASCII or special characters may produce unexpected output in certain case formats
- Very long strings may be truncated or cause latency issues
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

A JSON object containing the input text transformed into nine case formats simultaneously: camelCase, kebab-case, lower, snake_case, title, upper, pascal, constant, and sentence case strings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "camel"
     ],
     "properties": {
      "camel": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "camel": "theCatSatOnTheMatThisIsAnEnglishExample",
  "kebab": "the-cat-sat-on-the-mat-this-is-an-english-example",
  "lower": "the cat sat on the mat. this is an english example.",
  "snake": "the_cat_sat_on_the_mat_this_is_an_english_example",
  "title": "The Cat Sat On The Mat This Is An English Example",
  "upper": "THE CAT SAT ON THE MAT. THIS IS AN ENGLISH EXAMPLE.",
  "pascal": "TheCatSatOnTheMatThisIsAnEnglishExample",
  "constant": "THE_CAT_SAT_ON_THE_MAT_THIS_IS_AN_ENGLISH_EXAMPLE",
  "sentence": "The cat sat on the mat this is an english example"
 },
 "exampleNote": "Computed offline with demonstration inputs; time/random values are illustrative."
}
```

## More

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