API Documentation
Integrate our industry-leading AI humanization engine directly into your applications, CMS, or workflow.
Get API KeyIntroduction
The Stealth Writer API allows you to programmatically transform AI-generated text into human-like content that bypasses detection. Our API uses RESTful principles and returns JSON data.
Base URL: https://api.stealthwriter.com/v1
Authentication
Authenticate your API requests by including your secret key in the Authorization header.
Header
Authorization: Bearer sw_live_xxxxxxxxxxxxxxxxxxxx
You can manage your API keys in your account Dashboard.
Humanize Text Endpoint
This is the core endpoint. It takes AI text and returns a humanized version along with a bypass score prediction.
POST
/humanize
curl -X POST https://api.stealthwriter.com/v1/humanize \
-H "Authorization: Bearer sw_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"content": "Artificial Intelligence is transforming industries...",
"mode": "ghost",
"tone": "academic"
}'
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content |
string | Yes | The text to be humanized. Max 10,000 chars. |
mode |
string | No | Processing model. Options: ninja (faster), ghost (deeper bypass). Default: ninja. |
tone |
string | No | Target tone. Options: standard, academic, creative. Default: standard. |
Response Example
JSON
Response
{
"id": "req_123456789",
"status": "success",
"data": {
"original_length": 150,
"humanized_content": "AI is fundamentally reshaping various sectors...",
"detection_score": {
"gptzero": "pass",
"turnitin": "pass",
"confidence": 99.8
}
},
"credits_used": 150
}
Error Codes
Standard HTTP status codes are used to indicate success or failure.
| HTTP Code | Meaning |
|---|---|
200 OK |
Request successful. The text was processed. |
401 Unauthorized |
Invalid or missing API key. Please check your headers. |
402 Payment Required |
Insufficient credits in your account balance. |
429 Too Many Requests |
Rate limit exceeded (Standard limit: 100 req/min). |