> For the complete documentation index, see [llms.txt](https://deepmode.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deepmode.gitbook.io/docs/api-endpoints/account-management/check-balance.md).

# Check Balance

Retrieves the remaining balance associated with the provided secret API key.

#### Endpoint

```
GET /api/check-balance
```

#### Request Example

```bash
curl -X GET "https://api.deepmode.ai/api/check-balance" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY"
```

#### Response Example

Upon successful retrieval, the API returns the following response:

```json
{"remaining_balance": 4234}
```

This endpoint allows clients to check the remaining balance associated with their account using a secret API key for authentication.
