Catalog/text-sentence-case

Text

Sentence case API

Lowercases the text then capitalizes the first letter of each sentence (after . ! ?). Answers 'how do I convert SHOUTING text to normal sentence case?', 'how do I capitalize only sentence starts?'.

Price$0.01per request
MethodPOST
Route/v1/text/sentence-case
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
textsentence-casecapitalizecasenormalizeformattinglowercasegrammar
API URLhttps://x402.hexl.dev/v1/text/sentence-case
Integration docs
Example request
{
  "text": "hello world. how are you? fine."
}
Example response
{
  "sentenceCased": "Hello world. How are you? Fine."
}
Input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "examples": [
        "hello world. how are you? fine."
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}