进行无效号码过滤操作。
接口说明
使用本接口前,请登录号码百科控制台,在标签广场页面,找到对应的标签,单击申请开通,填写申请资料,审批通过后即可使用。
QPS限制
本接口的单用户QPS限制为1000次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AuthCode | string | 是 | 授权码。 说明在号码百科控制台我的申请页面,获取授权ID即授权码。 | QASDW@#** |
InputNumber | string | 是 | 待查询的号码。 | 1390000**** |
Mask | string | 是 | 号码的加密方式。
注意 目前仅支持NORMAL加密方式。
| NORMAL |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47",
"Code": "OK",
"Message": "OK",
"Data": [
{
"Code": "YES",
"OriginalNumber": "1390000****",
"EncryptedNumber": "1400513****",
"ExpireTime": "2022-05-27 16:05:23"
}
]
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Product.Unsubscript | You have not subscribed to the specified product. | 未订阅该功能 |
400 | Ram.PermissionDeny | You are not authorized to perform the operation. | 权限不足 |
400 | System.LimitControl | The system is under flow control. | 系统限流控制 |
400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. | 资源不属于当前用户 |
403 | Permission.NotAuthorized | You are not authorized to perform the operation. | 您没有权限执行此操作 |
500 | InternalError | A system error occurred. | 系统异常 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
2022-04-08 | 新增 OpenAPI | |||||||||||
2022-04-08 | OpenAPI 错误码发生变更,OpenAPI 返回结构发生变更 | |||||||||||
|