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 URL
Integration docshttps://x402.hexl.dev/v1/text/swap-caseExample 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
}