Catalog/text-case

Text

Convert text case API

Convert text between cases: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case. Answers 'convert to snake case', 'camelCase this', 'make this kebab-case'.

Price$0.01per request
MethodPOST
Route/v1/text/case
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
textcasecamelcasesnake-casekebabconvertstring
API URLhttps://x402.hexl.dev/v1/text/case
Integration docs
Example request
{
  "text": "hello world example",
  "target": "camel"
}
Example response
{
  "text": "hello world example",
  "target": "camel",
  "result": "helloWorldExample"
}
Input schema
{
  "type": "object",
  "required": [
    "text",
    "target"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "target": {
      "type": "string",
      "enum": [
        "camel",
        "pascal",
        "snake",
        "kebab",
        "constant",
        "dot",
        "path",
        "title",
        "sentence",
        "lower",
        "upper"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "text",
    "target",
    "result"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "result": {
      "type": "string"
    }
  }
}