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

# Account

The Account endpoint helps you confirm whether an API key is active, which package is assigned, how much quota is available, how much usage has been consumed, and when the API key expires.

### Endpoint

```
GET https://api.stopbot.net/services/account
```

### Parameters

| Parameter | Required | Description          |
| --------- | -------- | -------------------- |
| `apikey`  | Yes      | Your STOPBOT API key |

### Example Request

```bash
curl "https://api.stopbot.net/services/account?apikey={API_KEY}"
```

### Successful Response

```json
{
  "Apikey": "abcd************************wxyz",
  "ExpiredDate": "[UTC-0] 2027-05-12 20:17:18",
  "Packages": "Custom",
  "Quota": "250000",
  "Usage": "100",
  "executionTime": "4.65ms",
  "status": "success",
  "timeResponse": "2026-07-07 12:00:00"
}
```

### Response Fields

| Field           | Description                    |
| --------------- | ------------------------------ |
| `Apikey`        | Masked API key                 |
| `Packages`      | Current API package name       |
| `Quota`         | Total available quota          |
| `Usage`         | Current usage count            |
| `ExpiredDate`   | API key expiration date in UTC |
| `status`        | Request status                 |
| `executionTime` | Server execution time          |
| `timeResponse`  | Response timestamp             |

### Quota And Usage

Use `Quota` and `Usage` to understand how much capacity remains for the API key.

```
Remaining quota = Quota - Usage
```

Important notes:

* A normal authenticated request usually uses 1 credit.
* Email Validation may use additional credits after a successful validation.
* Expired or depleted API keys cannot continue to protected service processing.
* Review usage regularly from the Account endpoint and STOPBOT panel.

### Quota Or Expiration Error

If the API key has no remaining quota or has expired, STOPBOT may return:

```json
{
  "status": "failed",
  "errorMessage": "Please increase your quota or extend the duration of your API key."
}
```
