Browse documentation
Make your first request
Create an API key, then call the humanize, detect, and citation endpoints.
Setup
Sign in
Sign in with Google and open the workspace.
Add words
Choose a plan or a one-time word top-up.
Create an API key
Name the key in the workspace and store it on your server.
Send a request
Call /humanize with the example below.
Your first API call
Replace tp_live_your_api_key with your key. Send requests from your server, not the browser.
Humanize request
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"}'
Paraphrase request
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"}'
Response
Response
{
"output": "…",
"words_used": 142,
"words_remaining": 2858,
"usage": { "words": 142, "characters": 861 },
"metrics": { "kind": "heuristic_estimate", "aiLikeScore": 18, "naturalTone": 82, "sentenceVariety": 74, "readability": 68 }
}
Errors return JSON with error, code, and message fields.
More examples
Detector request
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"}'
Citation request
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"}'
Citation and bibliography responses include formatted text, BibTeX, and RIS.