API Documentation
Integrate our powerful AI Humanizer and Detector directly into your application.
Authentication
All API requests require an API key to be passed in the `Authorization` header as a Bearer token. You can obtain your API key from the Dashboard.
Authorization: Bearer YOUR_API_KEY
POST
/api/humanize
Transforms AI-generated text into natural, human-sounding content.
Request Body (JSON)
{
"text": "string (required, max 10000 chars)",
"mode": "string (optional: 'light', 'medium', 'aggressive' default: 'medium')",
"tone": "string (optional: 'professional', 'casual', 'academic', 'seo')"
}
Success Response (200 OK)
{
"success": true,
"original_words": 250,
"humanized_text": "...",
"estimated_ai_score": 2 // percentage 0-100
}
POST
/api/detect
Analyzes text and returns the probability that it was generated by AI.
Request Body (JSON)
{
"text": "string (required, max 25000 chars)"
}
Success Response (200 OK)
{
"success": true,
"score": 85, // percentage 0-100 indicating AI probability
"label": "AI", // 'Human', 'Mixed', or 'AI'
"sentences": [
{"text": "...", "score": 90},
// ...
]
}