โน๏ธAPI Information
๐จโ๐ป
Developer
Salman
๐ท๏ธ
Version
v1.0
โก
Method
POST
๐ฆ
Output
JSON with sources
๐Endpoint
POST
https://plagiarismchecker.freeapihub.workers.dev/check
text
required
The text to check for plagiarism. Max 1000 words.
๐ปExample Request
# cURL
curl -X POST https://plagiarismchecker.freeapihub.workers.dev/check
-H "Content-Type: application/json"
-d '{"text": "Machine learning is a method of data analysis."}'
# JavaScript
const res = await fetch("https://plagiarismchecker.freeapihub.workers.dev/check", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "Your text here..." })
});
const data = await res.json();
curl -X POST https://plagiarismchecker.freeapihub.workers.dev/check
-H "Content-Type: application/json"
-d '{"text": "Machine learning is a method of data analysis."}'
# JavaScript
const res = await fetch("https://plagiarismchecker.freeapihub.workers.dev/check", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "Your text here..." })
});
const data = await res.json();
๐คResponse
// Success Response
{
"status": "success",
"plagiarism_percent": 50,
"unique_percent": 50,
"label": "Partially Plagiarized",
"total_words": 120,
"total_sentences": 4,
"sentences": [
{ "text": "Machine learning...", "is_plagiarized": true, "sources": [{...}] },
{ "text": "Original sentence.", "is_plagiarized": false, "sources": [] }
]
}
// Error Response
{ "status": "error", "message": "text field is required" }
{
"status": "success",
"plagiarism_percent": 50,
"unique_percent": 50,
"label": "Partially Plagiarized",
"total_words": 120,
"total_sentences": 4,
"sentences": [
{ "text": "Machine learning...", "is_plagiarized": true, "sources": [{...}] },
{ "text": "Original sentence.", "is_plagiarized": false, "sources": [] }
]
}
// Error Response
{ "status": "error", "message": "text field is required" }