Catalog/text-swap-case

Text

Swap case API

Inverts the case of every letter (upper to lower and vice versa). Answers 'how do I flip the case of this string?', 'how do I invert uppercase and lowercase?'.

Price$0.01per request
MethodPOST
Route/v1/text/swap-case
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
textswap-casecaseinverttoggleformattinguppercaselowercase
API URLhttps://x402.hexl.dev/v1/text/swap-case
Integration docs
Example request
{
  "text": "Hello World"
}
Example response
{
  "swapped": "hELLO wORLD"
}
Input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "examples": [
        "Hello World"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}