Docs menuAPI-Referenz
API-Referenz
TurnitPass REST API
Referenz für authentifizierte Endpunkte zum Überarbeiten, Paraphrasieren, Prüfen, Zitieren, Erstellen von Bibliografien und für den API-Schlüsselstatus.
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/humanizeÜberarbeitet übermittelten Text und reduziert KI-Schreibsignale. Modi: reduce-aigc, reduce-both, paraphrase, academic-polish.
/api/v1/paraphraseUmschreiben und Verfeinern von Texten mit Modi wie Standard, Fluency, Formal, Academic, Simple, Creative, Expand oder Shorten.
/api/v1/rewriteAkademischer Polishing-Endpunkt für sauberere Struktur, Tonalität und Satzfluss.
/api/v1/detectGibt Score, Risikostufe, Metadaten und Schreibsignale für kopierten Text oder extrahierte Dokumente zurück.
/api/v1/citationFormatiert DOI, URL oder manuelle Zitate in APA, MLA, Chicago, IEEE, Harvard, Nature, Vancouver, ACS, AMA, GB/T, OSCOLA oder Bluebook. Antworten enthalten HTML, Text, BibTeX und RIS.
/api/v1/bibliographySortiert und formatiert eine Liste von Zitaten im gewünschten Stil mit HTML/Text-Ausgabe sowie BibTeX- und RIS-Exporten.
/api/v1/statusPrüft Schlüsselname, verbleibendes Wortguthaben und Anfrage-Limits.
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": "Fügen Sie den Text ein, den Sie überarbeiten möchten",
"language": "en",
"mode": "reduce-aigc",
"personal_terms": ["TurnitPass"]
}
200 OK
{
"output": "Der humanisierte Text...",
"words_used": 142,
"words_remaining": 2858
}POST /api/v1/paraphrase
{
"text": "Fügen Sie den Entwurf ein, den Sie umschreiben möchten",
"mode": "academic",
"synonyms_level": 60
}
POST /api/v1/detect
{
"text": "Fügen Sie den Text ein, den Sie prüfen möchten",
"language": "en",
"source_kind": "paste"
}
POST /api/v1/citation
{
"input": "https://example.com/article",
"style": "apa"
}
200 OK
{
"text": "Formatierte Zitation...",
"bibtex": "@article{...}",
"ris": "TY - JOUR..."
}