Skip to content
TurnitPass
DevelopersAPI v1Get an API key
Browse documentation

DevelopersQuickstart

Make your first request

Create an API key, then call the humanize, detect, and citation endpoints.

Setup

1

Sign in

Sign in with Google and open the workspace.

2

Add words

Choose a plan or a one-time word top-up.

3

Create an API key

Name the key in the workspace and store it on your server.

4

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
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
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
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 }
}
Errors return JSON with error, code, and message fields.

More examples

Detector request
POST /api/v1/detect
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
POST /api/v1/citation
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.

Next steps