---
title: "Get balance"
method: GET
path: "/balance"
tags: ["Account"]
---

# Get balance

`GET /balance`

Returns the current balance for your account.

Using the Python client:
```python
import pixellab

client = pixellab.Client(secret="YOUR_API_TOKEN")
balance = client.get_balance()
print(f"Current balance: {balance.usd} USD")
```

## Response `200`

Successfully retrieved balance

- CreditsResponse — Response model for credits endpoint Attributes: credits (float): The user's current credit balance
  - `type` 'usd'
  - `usd` number, required

## Other responses

- `401` — Invalid API token

---

[API](https://skmtc.dev/pixellab/apis/pixel-lab-api.md) · [All operations](https://skmtc.dev/pixellab/apis/pixel-lab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pixellab/pixel-lab-api/revisions/eb7a18b195ba/schema)
