---
title: "查询积分余额"
method: POST
path: "/api/credits/balance"
tags: ["Credits"]
---

# 查询积分余额

`POST /api/credits/balance`

## Request

- Base URL: `https://roboparts.cc`
- URL: `https://roboparts.cc/api/credits/balance`
- Auth: none declared

查询当前API Key的积分余额和套餐信息

## Request body

- object
  - `api_key` string, required

## Response `200`

积分余额

- object
  - `credits` integer
  - `plan` string
  - `api_calls` integer

---

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