# OpenVerbs Inflect Case Converter

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

Converts any identifier or phrase into all common code and text casing formats (camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, etc.) with smart acronym handling.

## Facts

- Endpoint: POST https://inflect.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-inflect-case-converter-815585c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X3dTSdFwSQuHzVIj_4Oa9

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-inflect-case-converter-815585c0 -d '<json body>'
```

Example prompt: Convert 'HTMLParser' into all the common code casing styles — camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, and the rest — making sure the acronym is handled correctly.

## When to prefer this

Choose this endpoint when you need all common casing formats from a single call, especially when acronyms are involved (e.g. XMLHttpRequest, HTMLParser) that naive splitters mishandle. Prefer it over custom regex or ad-hoc string manipulation when correctness across edge cases matters, or when building code generators, documentation tools, or cross-language porting workflows that need multiple conventions at once.

## Known failure modes

- Empty or missing 'text' field returns a 400 validation error
- Input exceeding 4096 characters is rejected
- Payment not provided or insufficient USDC results in a 402 Payment Required response
- Non-string input types are rejected by schema validation

## How this service works

Split an identifier or phrase into words and render it in every common case — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case and Sentence case. Handles acronyms (HTMLParser → html parser).

## Output

Returns the input string rendered in every standard casing format: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, and Sentence case. Acronyms are intelligently split (e.g. HTMLParser → html_parser in snake_case), ensuring correct output for mixed identifier inputs.

## 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",
       "minLength": 1,
       "maxLength": 4096,
       "description": "Identifier or phrase to convert."
      }
     },
     "required": [
      "text"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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