API documentation

Available on plans with API access. Create a token under App → API access. Words are charged exactly as in the web app.

Authentication

Authorization: Bearer tv_xxxxxxxxxxxxxxxxx

Base URL: https://clickgpt.ngie.in/api/v1 · Rate limit: 60 requests/minute.

POST /detect

curl -X POST https://clickgpt.ngie.in/api/v1/detect \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Paste at least 30 words here..."}'

Response (200 when finished, 202 when queued):

{
  "id": "9b1e…",
  "type": "detect",
  "status": "completed",
  "word_count": 182,
  "ai_score": 74.5,
  "detection": {
    "score": 74.5,
    "human_score": 25.5,
    "verdict": "Likely AI-generated",
    "engine": "hybrid",
    "sentences": [{"index": 0, "text": "…", "score": 88.2, "level": "ai"}],
    "signals": [{"label": "Sentence rhythm (burstiness)", "score": 71.0}]
  },
  "words_balance": 79818
}

POST /humanize

FieldValues
textRequired, 30+ words, up to your plan's per-request limit
readabilitysimple · standard · university · professional
purposegeneral · essay · article · marketing · story · report · business · social
strengthlight · balanced · strong
rechecktrue (default) runs the detector before and after
keep_keywordsComma-separated terms to keep unchanged

The result has output, ai_score_before, ai_score_after and detection (for the rewritten text).

GET /documents/{id}

Poll a queued request until status is completed or failed. Failed requests are refunded automatically.

GET /account

Returns your plan, expiry and remaining word balance.

Errors

401 bad token · 403 plan without API access · 422 validation or insufficient words ({"error": "…"}) · 429 rate limited.