curl --request GET \
--url https://api.copyleaks.com/v2/writer-detector/credits \
--header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
{
"credits": 382
}
AI Text Detector
Get Credit Balance
Get the amount of available credits in your account wallet.
GET
/
v2
/
writer-detector
/
credits
curl --request GET \
--url https://api.copyleaks.com/v2/writer-detector/credits \
--header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
{
"credits": 382
}
curl --request GET \
--url https://api.copyleaks.com/v2/writer-detector/credits \
--header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
{
"credits": 382
}
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>
Request
Headers
Authorization: Bearer YOUR_LOGIN_TOKEN
Responses
- 200
- 401
200 OK - The command was executed.
{
"credits": 382
}
401 Unauthorized - Authorization has been denied for this request.

