# Case Converter

> Case Converter is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-19).

Converts text between upper, lower, title, sentence, camelCase, snake_case, and kebab-case formats instantly.

## Facts

- Endpoint: GET https://api.gadgethumans.com/case-convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/case-converter-2c402f64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IZffGZFy7KFI2ilH7fDr5

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 case-converter-2c402f64
```

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

## When to prefer this

Use this endpoint when you need a simple, fast, pure-CPU text case conversion without spinning up a local function or library. Ideal for agents that need to normalize identifiers, slugs, variable names, or display strings on the fly. At $0.002 per call it's cost-effective for occasional conversions in automated pipelines.

## Known failure modes

- Missing 'text' query parameter — returns error
- Missing 'to' query parameter specifying target case — returns error
- Invalid or unsupported target case value passed to 'to' parameter — may return error or unexpected result
- Empty string input — may return empty string or error
- Payment not provided or insufficient — HTTP 402 response

## How this service works

Convert text between upper, lower, title, sentence, camel, snake and kebab case. Pure CPU, instant.

## Output

A JSON response containing the input text reformatted in the requested case style (upper, lower, title, sentence, camelCase, snake_case, or kebab-case), returned instantly with no external dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "text",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target case"
      },
      "text": {
       "type": "string",
       "description": "Text to convert"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

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