---
title: "Get credit balance"
method: GET
path: "/api/credits"
tags: ["Credits"]
---

# Get credit balance

`GET /api/credits`

## Request

- Base URL: `https://www.zestio.de`
- URL: `https://www.zestio.de/api/credits`
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sb-access-token`

Retrieve the current credit balance and usage information for the authenticated user.

## Response `200`

Credit balance retrieved

- CreditsResponse
  - `credits` integer: Remaining credit balance
  - `usedCredits` integer: Total credits used
  - `subscriptionTier` string: Current subscription tier

## Other responses

- `401`: Unauthorized - invalid or missing credentials
- `500`: Internal server error

---

[API](https://skmtc.dev/zestio/apis/zestio-api.md) · [All operations](https://skmtc.dev/zestio/apis/zestio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zestio/apis/zestio-api/revisions/d291848b1175?raw)
