---
title: "Get Balance"
method: GET
path: "/v1/api-keys/balance"
tags: ["api-keys"]
---

# Get Balance

`GET /v1/api-keys/balance`

## Request

- Base URL: `https://api.smartpdf.ru`
- URL: `https://api.smartpdf.ru/v1/api-keys/balance`
- Auth: HTTP bearer

Баланс API аккаунта (общий для всех ключей), траты месяца и цена запроса. Доступен и ключом.

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- ApiKeyBalanceResponse
  - `balance` string, required
  - `spent_month` string, required
  - `request_price` string, required
  - `request_unit_mb` integer, required
  - `included_limit` integer
  - `included_used` integer
  - `included_remaining` integer
  - `included_resets_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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