# Read your Credit balance

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

GET `/v1/account/balance`

The Customer's prepaid Balance in Credits, and each unexpired Grant (such as the Starter Grant) with its remaining Credits and expiry. Grants are part of the Balance and are spent first.

## Price

Free.

## Responses

### 200 OK

`{ balance_credits, grants }`.

object

- `balance_credits` integer required The spendable Balance in Credits: active Grants included, an expired Grant's leftover never.
- `grants` array of object required Unexpired Grants with Credits left, soonest expiry first. Their Credits are part of the Balance and are spent before purchased Credits, which never expire.
  - `source` string required one of `starter`, `bonus` `starter` for the Starter Grant, `bonus` for any other.
  - `amount_credits` integer required Credits granted.
  - `remaining_credits` integer required Credits of this Grant not yet spent.
  - `expires_at` string required When any remainder leaves the Balance.

### 401 Unauthorized

Codes: `missing_authorization`, `invalid_key`, `key_revoked`, `key_expired`, `invalid_token`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

## Request samples

curl:

```bash
curl "https://www.shortsintel.com/v1/account/balance" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/account/balance",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/account/balance",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

200 · `{ balance_credits, grants }`.

```json
{
  "balance_credits": 42310,
  "grants": [
    {
      "source": "starter",
      "amount_credits": 100,
      "remaining_credits": 64,
      "expires_at": "2026-10-01T00:00:00.000Z"
    }
  ]
}
```

[Next Read your spend log](https://www.shortsintel.com/docs/reference/account/get-usage)
