日本黑名单查询 Japan Carrier Status Check

请求参数

参数位置必填
keyheaderkey
snurlIMEI

key in request header or url

Status

Clean现在不受网络使用限制
Under Contract因不履行债务等可能受到限制
Blacklisted×限制使用中
Not Found-无法确认IMEI/MEID

通常 Clean/Under Contract 状态可以解锁

返回示例

{
	"code": 0,
	"data": {
		"imei": "355335081164080",  //IMEI
		"model": "Apple iPhone 7 (A1779)",  //型号
		"carrier": "NTT DOCOMO",  //运营商
		"docomo": {  //DOCOMO
			"status": "Clean",  //状态
			"description": "◯" //说明
		},
		"au": {  //au KDDI
			"status": "Not Found",
			"description": "-"
		},
		"softbank": {  //SoftBank
			"status": "Not Found",
			"description": "-"
		},
		"rakuten": {  //Rakuten Mobile
			"status": "Not Found",
			"description": "-"
		},
		"uq": {  //UQ Mobile
			"status": "Not Found",
			"description": "-"
		},
		"mineo": {  //mineo
			"status": "Not Found",
			"description": "-"
		}
	},
	"source": "m-a",
	"cost": 0.8,
	"balance": 3023
}

接口错误码所有接口错误码一致

400Bad Request请求参数错误
404Not Found无效或不存在
502Bad Gateway不支持或查询失败
503Service Unavailable繁忙或者临时维护,请稍后重试
410Gone接口已失效

code = 错误码 (int),message = 错误信息 (string)
查询成功:code===0
每次请求均会返回 cost(扣费) 和 balance(余额),方便随时记录和监控
错误(400)和无效(404)扣费 0.02 元,其他错误不扣费

用户错误码

401Unauthorized密钥无效
402Payment Required余额不足
403Forbidden无权限(IP白名单限制)

接口具体错误信息见 message
如果前端需要返回错误信息,请直接返回 message 的内容