# OpenVerbs Text Case Converter

> OpenVerbs Text Case Converter is a paid API for AI agents from text.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts a string into any of 14 target cases (camelCase, snake_case, kebab-case, PascalCase, etc.) with automatic word-boundary detection regardless of input format.

## Facts

- Endpoint: POST https://text.openverbs.com/v1/case
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openverbs-text-case-converter-1eaba7cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JkrmI8pARNIA8jtPTxsLQ

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 openverbs-text-case-converter-1eaba7cb -d '<json body>'
```

Example prompt: Can you convert the string 'getUserProfileData' to snake_case for me?

## When to prefer this

Use this endpoint when you need deterministic, rule-based case conversion across many naming conventions without writing custom regex or parser logic. It is especially valuable when the input casing is unknown or mixed, since it auto-detects word boundaries. Prefer this over ad-hoc string manipulation when you need reliable, consistent output across 14 named formats in a single API call.

## Known failure modes

- Invalid target case value returns an error — must be one of the 14 allowed enum values
- Input text exceeding 1,000,000 characters will be rejected
- Malformed request body (missing 'text' or 'target' fields) returns a validation error
- Payment failure or insufficient balance blocks the request under x402 protocol

## How this service works

Recase a string into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Sentence case, Capital Case, Train-Case, no case, Title Case, or plain UPPER/lower — the word boundaries are detected regardless of the input casing.

## Output

Returns the recased version of the input string, with word boundaries automatically detected from the original casing so the output is correctly separated regardless of whether the input was camelCase, snake_case, CONSTANT_CASE, or any other supported format.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string",
       "maxLength": 1000000,
       "description": "The text to recase."
      },
      "target": {
       "type": "string",
       "enum": [
        "camel",
        "pascal",
        "snake",
        "kebab",
        "constant",
        "dot",
        "path",
        "sentence",
        "capital",
        "train",
        "no",
        "title",
        "upper",
        "lower"
       ],
       "description": "Target case, one of camel, pascal, snake, kebab, constant, dot, path, sentence, capital, train, no, title, upper, lower."
      }
     },
     "required": [
      "text",
      "target"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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