For developers
The ParaTrace API
Check texts from your own software. A key is free and comes with 50 credits.
How it works
- Request a key with the form. It is emailed to you straight away and comes with 50 credits, free of charge.
- Send it with every call, in the header
Authorization: Bearer <key>. Keep it private. Anyone who has it can spend your credits. - 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. - Up to 10 texts per request and 100,000 characters per text. English only. The accuracy limits in the benchmark report apply.
- Texts sent to the API are scored and not stored. Only your credit count is kept.
An example
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"}'{
"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 astext_1,text_2and so on, in the same order. operating_pointisstrict, the default, orlenient. The operating points explain the difference.GET https://api.paratrace.net/v1/api/accountwith the same header returns the credits you have left.