Docs menuReferencia de API
Referencia de API
API REST de TurnitPass
Referencia de los endpoints autenticados del Humanizer, paráfrasis, AI Detector, Citation Generator, Bibliography y estado de la clave de API.
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/humanizeRevisa el texto enviado y reduce señales de escritura tipo IA. Modos: reduce-aigc, reduce-both, paraphrase, academic-polish.
/api/v1/paraphraseReescribe y pule el texto con modos estándar, fluidez, formal, académico, simple, creativo, expandir o acortar.
/api/v1/rewriteEndpoint de revisión académica para una mejor estructura, tono y fluidez.
/api/v1/detectDevuelve puntuación, nivel de riesgo, metadatos y señales de escritura para el texto pegado o documentos extraídos.
/api/v1/citationFormatea un DOI, URL o cita manual en APA, MLA, Chicago, IEEE, Harvard, Nature, Vancouver, ACS, AMA, GB/T, OSCOLA o Bluebook. La respuesta incluye HTML, texto plano, BibTeX y RIS.
/api/v1/bibliographyOrdena y formatea una lista de citas en el estilo solicitado, con salida HTML/texto y exportación en BibTeX y RIS.
/api/v1/statusVerifica el nombre de la clave, saldo de palabras restante, límites de solicitud y último uso.
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": "Pega el texto que quieres revisar",
"language": "en",
"mode": "reduce-aigc",
"personal_terms": ["TurnitPass"]
}
200 OK
{
"output": "El texto humanizado...",
"words_used": 142,
"words_remaining": 2858
}POST /api/v1/paraphrase
{
"text": "Pega el borrador que quieres reescribir",
"mode": "academic",
"synonyms_level": 60
}
POST /api/v1/detect
{
"text": "Pega el texto que quieres comprobar",
"language": "en",
"source_kind": "paste"
}
POST /api/v1/citation
{
"input": "https://example.com/article",
"style": "apa"
}
200 OK
{
"text": "Cita formateada...",
"bibtex": "@article{...}",
"ris": "TY - JOUR..."
}