# DataVault Case Convert

> DataVault Case Convert is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts text between different case formats (e.g. camelCase, snake_case, kebab-case, PascalCase, UPPER_CASE)

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/case-convert
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-case-convert-0b2d294b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mk3nnStwLe0aAp_BEQvSY

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 datavault-case-convert-0b2d294b -d '<json body>'
```

Example prompt: Convert the text 'myVariableName' to snake_case format for me.

## When to prefer this

Use this endpoint when you need quick, pay-per-call text case conversion without setting up a local library, especially in automated pipelines or when the agent environment lacks string-manipulation utilities. Ideal for converting identifiers, variable names, or labels between programming and display conventions.

## Known failure modes

- Missing required 'text' field returns error
- Unsupported format value returns error or default behavior
- Empty string input may return empty or error
- Malformed JSON body returns 400 error
- Payment failure via x402 returns 402

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

A JSON object with a success boolean and a data object containing the converted text in the requested case format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "format": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-case-convert-0b2d294b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
