IMEI查询(生产日期) 品牌、型号、生产日期、预估保修

  • 苹果/安卓(全品牌)型号、生产日期、预估保修查询

其他品牌/无法查询保修的设备,可以使用该服务查询预估保修

请求参数

参数位置必填
keyheaderkey
snurlIMEI

key in request header or url

返回示例

{
	"code": 0,
	"data": {
		"imei": "864022033735332",  //IMEI
		"brand": "vivo",  //品牌
		"model": "vivo X9",  //型号
		"description": "X9",  //型号描述
		"manufacture": {
			"date": "2016-11-27"  //预估生产日期
		},
		"estimated": {
			"purchase": {
				"date": "2017-02-25"  //预估购买日期
			},
			"coverage": {
				"status": "Out Of Warranty",  //预估保修状态
				"date": "2018-02-25"  //预估保修结束日期
			}
		},
		"manufacturer": "Vivo Mobile Communication Co Ltd"  //制造商
	},
	"source": "m-a",
	"cost": 0.6,
	"balance": 3023
}

支持冷门、老旧手机

{
	"code": 0,
	"message": "",
	"data": {
		"imei": "352827058766692",
		"brand": "Nokia",
		"model": "Nokia 5233",
		"description": "5233",
		"manufacture": {
			"date": "2012-03-28"
		},
		"estimated": {
			"purchase": {
				"date": "2012-06-26"
			},
			"coverage": {
				"status": "Out Of Warranty",
				"date": "2013-06-26"
			}
		},
		"manufacturer": "Microsoft Mobile Oy, Nokia Corporation"
	},
	"source": "m-a",
	"cost": 0.6,
	"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 的内容