Text Utilities API Documentation
Complete reference for the Text Utilities API
Authentication
Authorization: Bearer sk_live_your_key_here
GET POST /v1/text/process
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | Yes | stats, case, slugify, reverse, truncate, extract_emails, extract_urls, remove_duplicates, sort_lines, count_occurrences, replace, lorem, strip_html, escape_html |
| text | string | Yes* | Input text (max 100,000 chars). Not required for lorem. |
| case_type | string | No | upper, lower, title, sentence, camel, pascal, snake, kebab, constant, toggle |
| search | string | No | Search term for count_occurrences or replace actions |
| replacement | string | No | Replacement text for replace action |
| paragraphs | integer | No | Number of lorem ipsum paragraphs (1-20) |