Skip to content
Authenticity

Get Credit Balance

GET https://api.copyleaks.com/v3/scans/credits

Get your current credit balance. Each credit allow the scan of up to 250 words.

Authorization: Bearer YOUR_LOGIN_TOKEN
200 OK

The command was executed.

Response Schema

The response contains the following fields:

Amount integer
The number of credits available.

Example Response

A typical response from this endpoint:

{
"Amount": 100
}
401 Unauthorized

Authorization has been denied for this request.

Example Response

A typical response from this endpoint:

{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.2",
"title": "Unauthorized",
"status": 401,
"traceId": "00-ef0db7690ced98431ac97782051edc77-2c4194d74ae6c08b-00"
}
GET https://api.copyleaks.com/v3/scans/credits
Authorization: Bearer YOUR_LOGIN_TOKEN