# 7. Get credits

<mark style="color:blue;">GET</mark> `/credits`

This GET endpoint returns the current number of credits available on your account. Credits are consumed per page processed, where **1 credit = 1 page**.

## Server URL

```
https://api.extracta.ai/api/v1
```

## Headers

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

## Responses

{% tabs %}
{% tab title="200" %}

```json
{
    "status": "ok",
    "credits": 50 // pages
}
```

{% endtab %}
{% endtabs %}
