---
title: "Get remaining credits"
method: GET
path: "/api/v1/credits"
tags: ["Account"]
---

# Get remaining credits

`GET /api/v1/credits`

## Request

- Base URL: `https://viewmax.studio`
- URL: `https://viewmax.studio/api/v1/credits`
- Auth: HTTP bearer

Return the credit balance of the account that owns the API key.

## Response `200`

Credit balance.

- object
  - `code` 0, required
  - `message` 'ok', required
  - `data` object, required
    - `remainingCredits` number, required

## Other responses

- `401`: Missing or invalid API key (`code: -1001`).

---

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