API简介:查询你的Openai密钥的使用情况,如:密钥创建时间、到期时间、总额度、已使用额度、剩余额度

接口问题联系相关负责人沟通修复:查看该接口开发者

接口地址:https://v1.apigpt.cn/key/

返回格式:JSON

请求方式:GET

请求参数:https://v1.apigpt.cn/key/?key=

该接口支持技术协助,您可联系夏柔协助对接接口

Bug修复:修复接口小问题5分钟响应处理,大问题1个自然日

会员线路:因调用量剧增,定制独享优质线路请 参考定制方案

专属线路 成本透明 0服务费

接口信息

接口名称 是否必填 接口类型 接口说明
key string 查询到密钥

返回示例

{
    "code": 200,
    "msg": "\u67e5\u8be2\u6210\u529f",
    "total_granted": 18,
    "total_used": 3.7586,
    "total_available": 14.2414,
    "effective_at": 1676073600,
    "expires_at": null
}

返回参数

接口名称 接口类型 接口说明
code string 状态码
msg string 查询状态
total_granted string 总额度
total_used string 已使用额度
total_available string 剩余额度
effective_at string 密钥创建时间(unix时间戳转换)
expires_at string 密钥到期时间(unix时间戳转换)
// 暂无层级展示,仅供参考 
{ "code": "状态码", "msg": "查询状态", "total_granted": "总额度", "total_used": "已使用额度", "total_available": "剩余额度", "effective_at": "密钥创建时间(unix时间戳转换)", "expires_at": "密钥到期时间(unix时间戳转换)" }

小白教程

本教程帮助用户快速对接ChatGPT密钥额度查询接口,仍有疑问请联系开发者获取技术协助

实时调试

部分视频、图片或其他接口报错、空值并不代表无法对接,请在本地尝试请求参数接口

在线调试

温馨提示:请修改请求参数,未修改可能返回报错

参数名称 参数值(修改后测试)
{
    "code": 200,
    "msg": "查询成功",
    "total_granted": 18,
    "total_used": 3.7586,
    "total_available": 14.241399999999999,
    "effective_at": 1676073600,
    "expires_at": null
}