跳转到内容

账户信息

方法: POST

端点: /api/v1/account/info

使用 Content-Type: application/json 发送请求体。

POST/api/v1/account/infoGet account info
Required

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

BodyNot required
This endpoint takes no body parameters. Spec: Send `{}` or omit the body.
Terminal window
curl -X POST "https://openapi.coreclaw.com/api/v1/account/info" \
-H "api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
--data "{}"
{
"code": 0,
"message": "success",
"data": {
"balance": "10122.5547",
"traffic": 178194757135,
"traffic_expiration_at": 1775267018
}
}
参数示例值类型说明
code0Integer查看帮助
messagesuccessString响应消息
data-Object响应数据
└─ balance10122.5547String账户余额(美元)
└─ traffic178194757135Integer消耗流量(字节)
└─ traffic_expiration_at1775267018Integer流量过期时间(时间戳,秒)