문서 둘러보기
TurnitPass REST API
엔드포인트, 매개변수, 한도, 오류 코드.
POST
/api/v1/humanize제출한 텍스트에서 AI 같은 글쓰기 신호를 줄입니다. 모드: reduce-aigc, reduce-both, paraphrase, academic-polish.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
text필수 | string | — | 다시 쓸 텍스트. 3단어 단위 이상, 요청당 최대 500 품질 단위. |
language | string | en | en, zh 같은 언어 코드. |
mode | enum | reduce-aigc | reduce-aigc, reduce-both, paraphrase, academic-polish |
personal_terms | string[] | — | 그대로 유지할 이름이나 용어. 최대 30개, 각 120자 이하. |
요청
{ "text": "Paste the draft you want to revise.", "language": "en", "mode": "reduce-aigc" }
응답
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
POST
/api/v1/paraphrasestandard, fluency, formal, academic, simple, creative, expand, shorten 모드로 텍스트를 다시 씁니다. synonyms_level 범위는 0~100입니다.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
text필수 | string | — | 다시 쓸 텍스트. 요청당 최대 2,000 품질 단위. |
language | string | en | en, zh 같은 언어 코드. |
mode | enum | standard | standard, fluency, formal, academic, simple, creative, expand, shorten |
synonyms_level | integer | 50 | 단어를 바꾸는 정도, 0에서 100까지. |
요청
{ "text": "Paste the draft you want to revise.", "language": "en", "mode": "academic", "synonyms_level": 60 }
응답
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 }
}
POST
/api/v1/rewrite구조, 어조, 문장 흐름을 다듬는 학술 교정.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
text필수 | string | — | 다시 쓸 텍스트. 3단어 단위 이상, 요청당 최대 500 품질 단위. |
language | string | en | en, zh 같은 언어 코드. |
요청
{ "text": "Paste the draft you want to revise.", "language": "en" }
응답
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 }
}
POST
/api/v1/detect붙여 넣은 텍스트나 추출한 문서의 AI 점수, 글쓰기 신호, 수정 메모를 반환합니다. source_kind: paste, pdf, docx, txt.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
text필수 | string | — | 검사할 텍스트. 최대 5,000단어 또는 30,000자. |
language | string | en | en, zh 같은 언어 코드. |
source_kind | enum | paste | paste, pdf, docx, txt |
original_filename | string | — | 원본 파일 이름. 최대 255자. |
요청
{ "text": "Paste the draft you want to revise.", "language": "en", "source_kind": "paste" }
응답
{
"score": 62,
"label": "…",
"risk_level": "high",
"signals": [{ "key": "…", "label": "…", "value": 0.7, "level": "medium", "detail": "…" }],
"passages": [{ "text": "…", "label": "ai", "level": "high" }],
"detection_quota": { "limit": 10, "remaining": 9, "resets_at": "2026-10-25T00:00:00Z" }
}
POST
/api/v1/citationDOI, URL, 직접 입력한 인용을 22가지 스타일로 서식화합니다. APA, MLA, Chicago, IEEE, Harvard, Nature, Vancouver, ACS, AMA, GB/T 7714, OSCOLA, Bluebook 등을 지원합니다. 응답에는 html, text, BibTeX, RIS가 포함됩니다.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
input | string | — | DOI, URL 또는 인용 제목(최대 2,000자). citation과 둘 중 하나를 사용합니다. |
citation | object | — | 제목, 저자, 출처 정보를 담은 인용 객체. input과 둘 중 하나를 사용합니다. |
style | string | apa | apa, mla, chicago 같은 인용 스타일 키. |
요청
{ "input": "10.1038/nature14539", "style": "apa" }
응답
{
"citation": { "title": "…", "authors": [{ "firstName": "…", "lastName": "…" }] },
"style": "apa",
"html": "…",
"text": "…",
"bibtex": "…",
"ris": "…"
}
POST
/api/v1/bibliography인용 목록을 지정한 스타일로 정렬·서식화하여 html과 text로 출력하고, BibTeX와 RIS로 내보냅니다.
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
citations필수 | object[] | — | 인용 객체 1~100개. 각각 id와 title을 포함합니다. |
style | string | apa | apa, mla, chicago 같은 인용 스타일 키. |
요청
{ "citations": [{ "id": "1", "title": "…", "authors": [] }], "style": "apa" }
응답
{
"style": "apa",
"entries": [{ "citation": { "id": "1" }, "html": "…", "text": "…" }],
"html": "…",
"text": "…",
"bibtex": "…",
"ris": "…"
}
GET
/api/v1/status키 이름, 남은 단어, 요청당 한도, 탐지 할당량, 속도 제한을 반환합니다.
이 엔드포인트는 매개변수를 받지 않습니다.
응답
{
"name": "Production",
"words_remaining": 2858,
"max_humanize_quality_units": 500,
"max_paraphrase_quality_units": 2000,
"max_detection_words_per_request": 5000,
"max_detection_characters": 30000,
"detection_quota": { "limit": 10, "remaining": 9, "resets_at": "2026-10-25T00:00:00Z" },
"rate_limit_per_minute": 50
}
매개변수 및 옵션
속도 제한 및 요청 한도
오류 처리
오류는 error, code, message 필드가 포함된 JSON으로 반환됩니다.
응답
{
"error": "quality_limit_exceeded",
"code": "quality_limit_exceeded",
"message": "Up to 500 Chinese or 1,500 English characters per request."
}
429와 5xx는 백오프를 두고 재시도하세요. 4xx는 요청을 수정한 뒤 재시도하세요.
예시
휴머나이즈
POST /api/v1/humanize
{
"text": "Paste the draft you want to revise.",
"language": "en",
"mode": "reduce-aigc",
"personal_terms": ["TurnitPass"]
}
200 OK
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
패러프레이즈, AI 탐지, 인용
POST /api/v1/paraphrase
{
"text": "Paste the draft you want to revise.",
"language": "en",
"mode": "academic",
"synonyms_level": 60
}
POST /api/v1/detect
{
"text": "Paste the draft you want to revise.",
"language": "en",
"source_kind": "paste"
}
POST /api/v1/citation
{
"input": "https://example.com/article",
"style": "apa"
}