# Get Credit Balance

> Get your current credit balance.

<RequestExample>

```bash title="cURL" icon="terminal"
curl --request GET \
  --url https://api.copyleaks.com/v3/scans/credits \
  --header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
```

```python title="Python" icon="python"
from copyleaks.copyleaks import Copyleaks

auth_token = Copyleaks.login("your@email.address", "YOUR_API_KEY")

balance = Copyleaks.credits_balance(auth_token)
print(balance)
```

</RequestExample>

<ResponseExample>

```json 200 OK
{
  "Amount": 100
}
```

</ResponseExample>

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

<Warning>
**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 &lt;Your-Login-Token&gt;**
</Warning>

## Request

### Headers

```http
Authorization: Bearer YOUR_LOGIN_TOKEN
```

## Responses

<Tabs>
  <Tab title="200">
    <Check>**200 OK** - The command was executed.</Check>

    ```json
    {
      "Amount": 100
    }
    ```
  </Tab>
  <Tab title="401">
    <Warning>**401 Unauthorized** - Authorization has been denied for this request.</Warning>
  </Tab>
</Tabs>
