Docs menuAPI Referansı
API Referansı
TurnitPass REST API
Kimliği doğrulanmış yazım düzenleme, yeniden ifade, AI tespiti, atıf, kaynakça ve API anahtar durumu işlevleri için referans.
Reference console
Start with the route, payload, and response shape.
The full reference covers every endpoint below. The console shows the contract developers need first: Bearer auth, JSON input, metered output, and status checks.
fetch('/api/v1/humanize', {
method: 'POST',
headers: {
Authorization: 'Bearer tp_live_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Paste the draft here',
language: 'en',
mode: 'reduce-aigc'
})
}){
"output": "The revised text...",
"words_used": 142,
"words_remaining": 2858,
"status": "succeeded"
}/api/v1/humanize/api/v1/paraphrase/api/v1/rewrite/api/v1/detect/api/v1/citation/api/v1/humanizeGönderilen metni düzenler ve AI benzeri yazım sinyallerini azaltır. Modlar: reduce-aigc, reduce-both, paraphrase, academic-polish.
/api/v1/paraphraseStandart, akıcılık, resmi, akademik, basit, yaratıcı, genişletme veya kısaltma modlarıyla metni yeniden yazar ve düzenler.
/api/v1/rewriteDaha temiz yapı, ton ve cümle akışı için akademik düzenleme işlevi.
/api/v1/detectYapıştırılan metin veya çıkarılan belgeler için AI benzeri yazım sinyali tahminleri, meta veriler ve revizyon notları döner.
/api/v1/citationDOI, URL veya manuel atıfları APA, MLA, Chicago, IEEE, Harvard, Nature, Vancouver, ACS, AMA, GB/T, OSCOLA veya Bluebook formatında biçimlendirir. Yanıtlar html, metin, BibTeX ve RIS içerir.
/api/v1/bibliographyİstenen stilde bir atıf listesini sıralar ve biçimlendirir; html/metin çıktısı ile BibTeX ve RIS dışa aktarımları sağlar.
/api/v1/statusAnahtar etiketini, kalan kelime bakiyesini ve istek limitlerini kontrol edin.
Parameters and options
Rate limits and request limits
Error handling
Error responses use JSON with error,code, and human-readable message fields where possible.
{
"error": "Text exceeds word limit. Maximum 1,000 words allowed.",
"code": "word_limit_exceeded",
"max_words": 1000,
"current_words": 1234
}Examples
POST /api/v1/humanize
{
"text": "Düzenlemek istediğiniz AI destekli taslağı yapıştırın",
"language": "en",
"mode": "reduce-aigc",
"personal_terms": ["Özel ad"]
}
200 OK
{
"output": "Düzenlenmiş metin...",
"words_used": 142,
"words_remaining": 2858
}POST /api/v1/paraphrase
{
"text": "Yeniden yazılmasını istediğiniz taslağı yapıştırın",
"mode": "academic",
"synonyms_level": 60
}
POST /api/v1/detect
{
"text": "Kontrol etmek istediğiniz taslağı yapıştırın",
"language": "en",
"source_kind": "paste"
}
POST /api/v1/citation
{
"input": "https://example.com/article",
"style": "apa"
}
200 OK
{
"text": "Biçimlendirilmiş atıf...",
"bibtex": "@article{...}",
"ris": "TY - JOUR..."
}