Skip to content

Get Credit Balance

GET https://api.copyleaks.com/v2/writer-detector/credits

Get the amount of available credits in your account wallet.

Authentication Required

You need to login with a user and API key in order to access this method. Add this HTTP header to your request:

Authorization: Bearer < Your-Login-Token >

Authorization: Bearer YOUR_LOGIN_TOKEN
GET https://api.copyleaks.com/v2/writer-detector/credits
Authorization: Bearer YOUR_LOGIN_TOKEN
200 OK

The command was executed.

Response Schema

The response contains the following fields:

credits integer
The number of AI detection credits available.

Example Response

A typical response from this endpoint:

{
"credits": 382
}
401 Unauthorized

Authorization has been denied for this request.