दस्तावेज़ देखें
अपना पहला अनुरोध भेजें
API कुंजी बनाएँ, फिर ह्यूमनाइज़, AI जाँच और उद्धरण एंडपॉइंट कॉल करें।
सेटअप
साइन इन करें
Google से साइन इन करें और वर्कस्पेस खोलें।
शब्द जोड़ें
कोई प्लान या एक बार का शब्द टॉप-अप चुनें।
API कुंजी बनाएँ
वर्कस्पेस में कुंजी को नाम दें और उसे अपने सर्वर पर रखें।
अनुरोध भेजें
नीचे दिए उदाहरण से /humanize कॉल करें।
आपकी पहली API कॉल
tp_live_your_api_key को अपनी कुंजी से बदलें। अनुरोध अपने सर्वर से भेजें, ब्राउज़र से नहीं।
ह्यूमनाइज़ अनुरोध
curl -X POST https://turnitpass.com/api/v1/humanize \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"Paste the draft you want to revise.","language":"en","mode":"reduce-aigc"}'
पैराफ़्रेज़ अनुरोध
curl -X POST https://turnitpass.com/api/v1/paraphrase \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"Paste the draft you want to revise.","language":"en","mode":"academic"}'
रिस्पॉन्स
रिस्पॉन्स
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
त्रुटियाँ error, code और message फ़ील्ड वाले JSON के रूप में लौटती हैं।
और उदाहरण
AI जाँच अनुरोध
curl -X POST https://turnitpass.com/api/v1/detect \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"Paste the draft you want to revise.","language":"en","source_kind":"paste"}'
उद्धरण अनुरोध
curl -X POST https://turnitpass.com/api/v1/citation \
-H "Authorization: Bearer tp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"input":"https://example.com/research-article","style":"apa"}'
उद्धरण और संदर्भ सूची रिस्पॉन्स में फ़ॉर्मैट किया गया टेक्स्ट, BibTeX और RIS शामिल हैं।