跳转到主要内容
用于账户管理与系统信息的接口。

当前余额

查询 API 密钥的剩余余额。

接口

GET https://api.apixo.ai/api/v1/apikeys/current-balance

请求头

Authorization
string
必填
Bearer token for API authentication. Format: Bearer YOUR_API_KEY

响应

{
  "code": 200,
  "message": "success",
  "data": 74.8700
}
code
integer
HTTP status code.
message
string
Human-readable status message.
data
number
Remaining balance (in USD) for the current API key.
提交大批量任务前建议先查询余额,避免因余额不足导致中途失败。

示例

curl -X GET https://api.apixo.ai/api/v1/apikeys/current-balance \
  -H "Authorization: Bearer YOUR_API_KEY"

错误响应

可能返回的 401403429 响应见错误码