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

# API - Get Balance

<mark style="color:blue;">`GET`</mark> `https://hmcaptcha.com/user/balance?apikey={your_apikey}`

**Example** [`https://hmcaptcha.com/user/balance?apikey=admin-goiZ4dxa1GNHH!Rt0He8KEnrfYJCz3JE`](https://hmcaptcha.com/user/balance?apikey=admin-goiZ4dxa1GNHH!Rt0He8KEnrfYJCz3JE)

#### Query Parameters

| Name                                     | Type | Description                    |
| ---------------------------------------- | ---- | ------------------------------ |
| apikey<mark style="color:red;">\*</mark> |      | The apikey or subscription key |

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

```json
{
  "Code": 0,
  "Message": "Success",
  "Balance": 4.999
}
```

{% endtab %}

{% tab title="200: OK FAILED" %}

```json
{
    "Code": 1,
    "Message": "Error description"
}
```

{% endtab %}
{% endtabs %}
