苹果购买日期查询 购买日期、保修、容量/颜色、激活锁

  • 精确日期(年-月-日)

相关接口

请求参数

参数位置必填
keyheaderkey
langurlzh=>中文、en=>英文,默认为zh
snurl苹果IMEI/序列号

key in request header or url

返回示例

{
	"code": 0,
	"data": {
		"imei": "357325092590710",  //IMEI
		"imei2": "357325091039222",  //IMEI2
		"sn": "G6TX9YUEKPJ5",  //序列号
		"model": "iPhone XS Max",
		"description": "iPhone XS Max 256GB Gold",
		"configuration": "",  //配置(可能为空)
		"capacity": "256GB",
		"color": "金色",
		"modelnumber": "A2104",  //机型
		"identifier": "iPhone11,6",  //类型
		"activated": true,
		"purchase": {
			"date": "2017-02-23",  //购买日期:Y-m-d/Y-m/空
			"validated": true  //有效购买日期:true/false
		},
		"activation": {
			"date": "2017-02-23",  //激活日期:Y-m-d/Y-m/空
		},
		"coverage": {
			"status": "Out Of Warranty (No Coverage)",  //保修状态
			"description": "消费者权益法可适用",
			"date": "Expired",
			"days-remaining": 0
		},
		"support": "Expired",
		"applecare": false,
		"applecare-eligible": "N",
		"brightstar": "No",  //是否资源机:Yes/No
		"pre-activated": false,  //是否预激活
		"replaced": false,
		"registered": "Y",
		"loaner": "N",
		"manufacture": {
			"date": "2018-08-26"
		},
		"fmi": "On",  //激活锁
		"manufacturer": "Foxconn",
		"img": "https://cdsassets.apple.com/live/I2F2FLC5/iphone/iphone-xsmax.png",
		"maintenance": false
	},
	"source": "c-h",
	"cost": 1.2,
	"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 的内容