Skip to content
ParaTrace

For developers

The ParaTrace API

Check texts from your own software. A key is free and comes with 50 credits.

How it works

  1. Request a key with the form. It is emailed to you straight away and comes with 50 credits, free of charge.
  2. Send it with every call, in the header Authorization: Bearer <key>. Keep it private. Anyone who has it can spend your credits.
  3. Each text costs 1 credit per started 1,000 words, and at least 1. A 2,500-word text costs 3 credits. Invalid requests cost nothing, and a request that needs more credits than you have left is refused (402) without charging.
  4. Up to 10 texts per request and 100,000 characters per text. English only. The accuracy limits in the benchmark report apply.
  5. Texts sent to the API are scored and not stored. Only your credit count is kept.

An example

Request
curl -X POST https://api.paratrace.net/v1/api/detect \
  -H "Authorization: Bearer pt_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "The text you want to check ...", "operating_point": "strict"}'
Response
{
  "documents": [
    {
      "document": "text",
      "credits": 1,
      "probability": 0.9731,
      "is_ai": true,
      "operating_point": "strict",
      "threshold": 0.4475,
      "n_words": 312,
      "n_windows": 1,
      "warnings": []
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 49
}

More options

  • To check several texts in one call, send "texts": [...] instead of "text". The answers come back as text_1, text_2 and so on, in the same order.
  • operating_point is strict, the default, or lenient. The operating points explain the difference.
  • GET https://api.paratrace.net/v1/api/account with the same header returns the credits you have left.