โน๏ธAPI Information
๐จโ๐ป
Developer
Salman
๐ท๏ธ
Version
v1.0
โก
Method
POST
๐ฆ
Output
JSON with full analysis
๐Endpoint
POST
https://aidetector.freeapihub.workers.dev/detect
textrequired
Text to analyze. Max 5000 characters.๐Result Labels
AI Generated
80% - 100% AI probability
Likely AI
50% - 79% AI probability
Likely Human
20% - 49% AI probability
Human Written
0% - 19% AI probability
๐ปExample Request
# cURL
curl -X POST https://aidetector.freeapihub.workers.dev/detect
-H "Content-Type: application/json"
-d '{"text":"Your text to analyze here..."}'
# JavaScript
const res = await fetch('https://aidetector.freeapihub.workers.dev/detect', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ text: "Your text here..." })
});
const data = await res.json();
console.log(data.label, data.ai_probability);
curl -X POST https://aidetector.freeapihub.workers.dev/detect
-H "Content-Type: application/json"
-d '{"text":"Your text to analyze here..."}'
# JavaScript
const res = await fetch('https://aidetector.freeapihub.workers.dev/detect', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ text: "Your text here..." })
});
const data = await res.json();
console.log(data.label, data.ai_probability);
๐คResponse
{
"status": "success",
"ai_probability": "92%",
"human_probability": "8%",
"label": "AI Generated",
"summary": "The text exhibits high markers of AI generation...",
"word_count": 42,
"sentences": [{
"text": "Artificial intelligence...",
"category": "ai-generated",
"confidence": "95%",
"explanation": "Classic LLM structure..."
}]
}
"status": "success",
"ai_probability": "92%",
"human_probability": "8%",
"label": "AI Generated",
"summary": "The text exhibits high markers of AI generation...",
"word_count": 42,
"sentences": [{
"text": "Artificial intelligence...",
"category": "ai-generated",
"confidence": "95%",
"explanation": "Classic LLM structure..."
}]
}