> For the complete documentation index, see [llms.txt](https://docs.textflow.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.textflow.me/checking-your-balance.md).

# Checking your balance

There are three ways to check your balance, and the easiest one is by taking a look at your [Dashboard](https://textflow.me/dashboard).&#x20;

Other than that, you can check your balance programmatically by sending a GET request (or inputing the url in your browser) and providing your [API key](https://textflow.me/api), for example:&#x20;

<figure><img src="https://363608244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9rqliyezdV5cVZ55uaZr%2Fuploads%2FWpzPr1ABUcZr4M3u6kbn%2Fimage.png?alt=media&amp;token=50b18914-f2fb-46f9-91fb-95537e17af07" alt=""><figcaption></figcaption></figure>

This will show you how much credits you have on your account, and how much messages you have left in all your packages. The packages are clustered by the region.&#x20;

This can be easily done, but if it is more convenient for you, we have created another option:

## Get your balance by specifying the authorization header&#x20;

<mark style="color:blue;">`GET`</mark> `https://textflow.me/api/balance`

#### Headers

| Name                                            | Type | Description                                 |
| ----------------------------------------------- | ---- | ------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> |      | The value should be "Bearer YOUR\_API\_KEY" |

{% tabs %}
{% tab title="200: OK Successfully read your balance" %}

```javascript
{
    "ok": true,
    "credits": "0.11437",
    "packages": {
        "USA Canada": 2100,
        "UK": 500
    }
}
```

{% endtab %}

{% tab title="200: OK Could not get balance" %}

```json
{
    "ok": false
}
```

{% endtab %}
{% endtabs %}
