Get Clean API
Simple API for removing hidden characters and watermarks from text
Endpoint
Request Parameters
text
string (required)The text to be cleaned
keep-formatting
boolean (optional)Whether to preserve line breaks and paragraph formatting. Default: false
humanize
boolean (optional)Enable advanced AI-powered text humanization for improved readability while preserving all facts, numbers, and citations exactly. Default: false
Examples
curl -X POST https://getclean.app/api/clean \
-H "Content-Type: application/json" \
-d '{
"text": "This text hasinvisiblecharactersand—em-dashes",
"keep-formatting": false,
"humanize": false
}'
Response Format
Standard Cleaning Response
{
"text": "This text hasinvisiblecharactersand-em-dashes",
"charactersRemoved": 3,
"originalLength": 48,
"cleanedLength": 45
}
Humanize Example Request
{
"text": "The implementation of artificial intelligence technologies has resulted in significant improvements across multiple business sectors. Organizations are leveraging these solutions to optimize their operational processes and enhance productivity metrics.",
"keep-formatting": false,
"humanize": true
}
Humanize Response
{
"text": "You know, the rise of artificial intelligence tech has really shaken things up in a lot of business areas. Companies are using these tools to fine-tune their processes and boost productivity. It's kind of amazing, right? I mean, it seems like everyone's getting on board with AI to make things run smoother.",
"charactersRemoved": -55,
"originalLength": 252,
"cleanedLength": 307,
"processingVersion": "humanize-v1.0.0",
"humanizeMetadata": {
"analysisResults": {
"spans": [{"id": "span_0", "type": "paragraph", "text": "The implementation of artificial intelligence technologies..."}],
"invariants": {"numbers": [], "dates": [], "entities": [], "citations": []}
},
"invariantsPreserved": {"numbers": [], "dates": [], "entities": [], "citations": []},
"advisoryRiskIndex": 0.13,
"verificationResults": {
"invariants": {"violations": [], "preservationScore": 1},
"voice": {"consistency": 0.9, "deviations": []},
"originality": {"score": 1, "riskFactors": []},
"quality": {"readability": 0.47, "coherence": 0.4, "avgSentenceLength": 13, "wordCount": 52},
"gates": {"hard": true, "soft": true}
}
}
}
Error Responses
400 Bad Request - Missing or invalid parameters
{
"error": "Missing or invalid 'text' parameter. Expected a string."
}
500 Internal Server Error
{
"error": "Internal server error"
}
API Plans & Pricing
Free Plan
€0/month- • Basic text cleaning (invisible characters, watermarks)
- • Up to 20,000 words/month for AI humanization
- • Standard rate limits apply
- • No API key required for basic cleaning
Standard Plan
€29/month- • All Free plan features
- • Up to 150,000 words/month for AI humanization
- • API key authentication required
- • Priority processing
- • Overage: €0.50 per 1,000 words beyond limit
Pro Plan
€49/month- • All Standard plan features
- • Up to 500,000 words/month for AI humanization
- • Higher rate limits
- • Advanced processing options
- • Overage: €0.30 per 1,000 words beyond limit
Enterprise Plan
€199/month- • All Pro plan features
- • Up to 2,000,000 words/month for AI humanization
- • Unlimited rate limits
- • Premium support
- • Custom integrations available
- • Overage: €0.15 per 1,000 words beyond limit
Understanding Overage Charges
Overage charges apply only to AI humanization requests that exceed your monthly word limit. Basic text cleaning is always unlimited and free.
Example: Standard plan user processes 160,000 words in humanization requests:
- • Base subscription: €29.00
- • Overage: 10,000 words × €0.50/1k = €5.00
- • Total monthly bill: €34.00
Overage is calculated automatically and billed at the end of each monthly cycle. Your word count resets at the beginning of each billing period.
Pricing Calculator
Pricing Calculator
Monthly Cost Breakdown
Cost Comparison for 100,000 words/month
Authentication
For paid plans, include your API key in the Authorization header:
Authorization: Bearer clean_your_api_key_here
API keys can be generated and managed from your account dashboard.