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

# Get credits balance

`GET /credits`

## Response `200`

Credits balance and usage

- object
  - `auto_topup_amount_dollars` number, required — Configured dollar amount for each automatic top-up.
  - `auto_topup_enabled` boolean, required
  - `auto_topup_threshold` string, required — Credit balance threshold that triggers automatic top-up when enabled, represented as a bigint string.
  - `balance` string, required — Current credit balance as a bigint string to preserve precision above Number.MAX_SAFE_INTEGER.
  - `lifetime_purchased` string, required — Lifetime purchased credits as a bigint string.
  - `lifetime_used` string, required — Lifetime consumed credits as a bigint string.

## Other responses

- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.

## Changes

- **2026-08-12** `d8082b3892a2` — 24 warning
  - added the new `invalid_complete_replies_request` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `invalid_complete_replies_request` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `invalid_complete_replies_request` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `invalid_complete_replies_request` enum value to the `error/oneOf[subschema #2: StructuredError]/code` response property for the response status `401`
  - …20 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/credits/get.md)

---

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