名称 | 类型 | 必填 | 示例 | 说明 |
---|---|---|---|---|
appid 复制 | Int | 是 | 2010091553028980 | 您在京推推申请的appid |
appkey 复制 | String | 是 | 2 | 您在京推推申请的appkey |
v 复制 | String | 是 | v2 | API接口版本号,当前版本: v2 |
return_type 复制 | String | 否 | code_jsonp | 返回数据格式,不传参默认json,支持以下参数code、jsonp、code_jsonp |
名称 | 类型 | 必填 | 示例 | 说明 |
---|---|---|---|---|
pageIndex 复制 | Int | 否 | 1 | 分页获取数据(默认第1页) |
pageSize 复制 | Int | 否 | 20 | 单页面显示条数(最大100条最少10条) |
keyword 复制 | String | 否 | 纸巾 | 关键词搜索(可以输入关键词、SKU、商品链接、店铺名称) |
名称 | 类型 | 示例值 | 说明 |
---|---|---|---|
return 复制 | Int | 0 | 0=返回成功 |
result 复制 | 返回结果 | ||
> data 复制 | Array | 数据明细 | |
>> J_state 复制 | Int | 2 | 京推推商品状态(注:1被修改;2正常;3已下架;4已下架(除状态2返回所有信息,其他状态将只返回京推推商品ID、京东商品ID以及商品状态) |
>> JID 复制 | Int | 3456133 | 京推推商品ID |
>> goods_id 复制 | Long | 10021996948458 | 商品SKU |
>> short_name 复制 | String | "千禾 酱油 春曲原酿 1L-3瓶" | 京推推商品精编标题 |
>> goods_name 复制 | String | "千禾 酱油 春曲原酿 凉拌点蘸 酿造生抽 不加防腐剂 不加味精 1L-3瓶" | 京东商品原标题 |
>> goods_content 复制 | String | "29.9元3瓶千禾春曲原酿酱油春曲原酿1L*3不添加防腐剂不添加色素,不添加味精,让您吃的放心️炒菜凉拌,点蘸调味厨房必备!" | 京推推商品描述文案 |
>> link_content 复制 | String | "📣快撸,千禾酱油来啦,29.9🉐酱油3瓶[怄火]非转基因酿造\r\n\r\n❤给家人吃不加味精的酱油\r\n\r\n【京东好店】千禾 春曲原酿生抽1L*3瓶\r\n————————\r\n京东价:39.9元\r\n内购价:29.9元🉐超值\r\n\r\n抢购:[商品推广链接]" | 精编社群推广文案 |
>> circle_content 复制 | String | "📣快撸,千禾酱油来啦\r\n29.9🉐酱油3瓶[怄火]非转基因酿造\r\n❤给家人吃加味精的酱油\r\n千禾 春曲原酿生抽1L*3瓶\r\n券后价:29.9🉐3瓶\r\n抢购:[商品推广链接]" | 朋友圈推广文案 |
>> goods_link 复制 | String | "http://item.jd.com/10021996948458.html?rid=10109" | 京东商品链接 |
>> commissionShare 复制 | Double | 20 | 商品佣金比例(具体佣金可根据平台分佣体系进行计算显示) |
>> brand_id 复制 | Int | 165 | 京推推品牌id,可用于品牌API商品筛选 |
>> inOrderCount30Days 复制 | Int | 5747 | 京东商品近30天销量 |
>> inOrderComm30Days 复制 | Double | 32241 | 京东商品30天支出佣金 |
>> brandCode 复制 | Int | 75406 | 京东_品牌code |
>> brandName 复制 | String | "千禾" | 京东_品牌名称 |
>> isHot 复制 | Int | 1 | 是否爆款(1=是;0=否) |
>> comments 复制 | Long | 999 | 评论数 |
>> goodCommentsShare 复制 | Double | 98 | 商品好评率 |
>> goods_price 复制 | Double | 39.9 | 商品原价 |
>> final_price 复制 | Double | 29.9 | 商品最终价格(使用优惠券后的商品最终价格) |
>> historyPriceDay 复制 | Int | 100 | 历史最低价天数 |
>> goods_img 复制 | String | "http://img.jingtuitui.com/2b0a220201123091641912.jpg" | 京推推商品主图(京推推优化过的商品主图,建议用户将其设为商品展示主图) |
>> imageList 复制 | Json | "[{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/140093\\/31\\/8999\\/85446\\/5f69b5d2Ea86c3242\\/34b510bbd0cd2cc4.jpg\"} | 京东图片合集(第一张图为京东商品主图) |
>> today_num 复制 | Int | 2508 | 商品今日领券总量,券类型为商品券 |
>> discount_link 复制 | String | "http://coupon.m.jd.com/coupons/show.action?key=307b7139b77547cf862f05214fe73062&roleId=42012205&to=item.jd.com/10021996948458.html" | 领券链接 |
>> discount_price 复制 | Double | 10 | 优惠券面额 |
>> get_start_time 复制 | Long | 1606060800000 | 优惠券开始时间(时间戳,java精确到毫秒,其他语言都可以精确到秒) |
>> get_end_time 复制 | Long | 1606665300000 | 优惠券到期时间(时间戳,java精确到毫秒,其他语言都可以精确到秒) |
>> shop_id 复制 | Int | 178875 | 店铺id |
>> shop_name 复制 | String | "千禾官方旗舰店" | 店铺名称 |
>> score 复制 | Text | "{\"afterServiceScore\":\"8.95\",\"logisticsLvyueScore\":\"9.14\",\"scoreRankRateGrade\":\"4.50\",\"userEvaluateScore\":\"9.58\"}" | 店铺评分(afterServiceScore售后服务评分;logisticsLvyueScore物流履约评分; ;scoreRankRateGrade店铺星级;userEvaluateScore商品评价评分) |
>> owner 复制 | String | P | 店铺性质:(g=自营;p=pop) |
>> goods_type 复制 | Int | 2 | 京推推商品一级类目 |
>> goods_second_type 复制 | Int | 12 | 京推推商品二级类目(可以通过超级分类API获取全部二级类目ID) |
>> spu_id 复制 | Long | 10021996948458 | 商品主SPU,其值为同款商品的主skuid |
>> cid1 复制 | Int | 1320 | 京东一级类目ID |
>> cid1Name 复制 | String | "食品饮料" | 京东一级类目名称 |
>> cid2 复制 | Int | 1584 | 京东二级类目ID |
>> cid2Name 复制 | String | "粮油调味" | 京东二级类目名称 |
>> cid3 复制 | Int | 2677 | 京东三级类目ID |
>> cid3Name 复制 | String | "调味品" | 京东三级类目名称 |
>> goods_level 复制 | Int | 20 | 京推推商品类型(5=普通产品;10=优选产品;20=精选好货;30=主推(坑位等);40=爆款) |
>> deliveryType 复制 | Int | 0 | 京东商品类型(0=普通产品;1=京东配送) |
>> jd_type 复制 | Int | 1 | 京东商品类型(1=POP;2=self自营;3=拼购) |
>> pingouPrice 复制 | Double | null | 拼购价格 |
>> pingouTmCount 复制 | Int | null | 拼购所需人数 |
>> pingouUrl 复制 | String | null | 拼购落地页url |
>> pingouStartTime 复制 | Long | null | 拼购开始时间(java精确到毫秒,其他语言都可以精确到秒) |
>> pingouEndTime 复制 | Long | null | 拼购结束时间(java精确到毫秒,其他语言都可以精确到秒) |
>> jd_videoList 复制 | Text | null | 京东_视频集合 |
>> pc_ware_style 复制 | Text | background-image:url(//img30.360buyimg.com/sku/jfs/t1/132222/26/10999/252478/5f74268fE8b878016/ff808ed906bd2c16.jpg); | 京东商品图文详情 |
>> discount_count 复制 | Int | 783 | 商品总领券量 |
>> is_good_shop 复制 | Int | 1 | 是否京东好店(0=否,1=是) |
>> is_flagship_store 复制 | Int | 1 | 是否官方旗舰店(0=否,1=是) |
>> is_subsidy_goods 复制 | Int | 0 | 是否奖励商品(0=否,1=是) |
> current_page 复制 | Int | 1 | 当前页码 |
> total_page 复制 | Int | 1 | 商品总页数 |
> total_Count 复制 | Int | 100 | 商品总数量 |
{
"return": 0,
"result": {
"data": [
{
"J_state": 2,
"JID": 3456133,
"goods_id": 10021996948458,
"short_name": "千禾 酱油 春曲原酿 1L-3瓶",
"goods_name": "千禾 酱油 春曲原酿 凉拌点蘸 酿造生抽 不加防腐剂 不加味精 1L-3瓶",
"goods_content": "29.9元3瓶千禾春曲原酿酱油春曲原酿1L*3不添加防腐剂不添加色素,不添加味精,让您吃的放心️炒菜凉拌,点蘸调味厨房必备!",
"link_content": "📣快撸,千禾酱油来啦,29.9🉐酱油3瓶[怄火]非转基因酿造\r\n\r\n❤给家人吃不加味精的酱油\r\n\r\n【京东好店】千禾 春曲原酿生抽1L*3瓶\r\n————————\r\n京东价:39.9元\r\n内购价:29.9元🉐超值\r\n\r\n抢购:[商品推广链接]",
"circle_content": "📣快撸,千禾酱油来啦\r\n29.9🉐酱油3瓶[怄火]非转基因酿造\r\n❤给家人吃加味精的酱油\r\n千禾 春曲原酿生抽1L*3瓶\r\n券后价:29.9🉐3瓶\r\n抢购:[商品推广链接]",
"goods_link": "http://item.jd.com/10021996948458.html?rid=10109",
"commissionShare": 20,
"brand_id": 165,
"inOrderCount30Days": 5747,
"inOrderComm30Days": 32241,
"brandCode": 75406,
"brandName": "千禾",
"isHot": 1,
"comments": 15026,
"goodCommentsShare": 99,
"goods_price": 39.9,
"final_price": 29.9,
"historyPriceDay": null,
"goods_img": "http://img.jingtuitui.com/2b0a220201123091641912.jpg",
"imageList": "[{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/140093\\/31\\/8999\\/85446\\/5f69b5d2Ea86c3242\\/34b510bbd0cd2cc4.jpg\"},{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/135256\\/38\\/10648\\/45226\\/5f69b2cdEbc408efb\\/d7500db08bfd4aaf.jpg\"},{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/155290\\/18\\/532\\/128827\\/5f69b2cdEac517af0\\/0bcaf55ac6156334.jpg\"},{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/139635\\/31\\/9019\\/106294\\/5f69b2ceE62e24e91\\/df42ad4da711d7ee.jpg\"},{\"url\":\"https:\\/\\/img14.360buyimg.com\\/pop\\/jfs\\/t1\\/121508\\/40\\/13254\\/105647\\/5f69b2ceE0637fb32\\/34688045c191623d.jpg\"}]",
"today_num": 1341,
"discount_link": "http://coupon.m.jd.com/coupons/show.action?key=307b7139b77547cf862f05214fe73062&roleId=42012205&to=item.jd.com/10021996948458.html",
"discount_price": 10,
"get_start_time": 1606060800000,
"get_end_time": 1606665300000,
"shop_id": 178875,
"shop_name": "千禾官方旗舰店",
"score": "{\"afterServiceScore\":\"8.95\",\"logisticsLvyueScore\":\"9.14\",\"scoreRankRateGrade\":\"4.50\",\"userEvaluateScore\":\"9.58\"}",
"owner": "p",
"goods_type": 2,
"goods_second_type": 12,
"spu_id": 10021996948458,
"cid1": 1320,
"cid1Name": "食品饮料",
"cid2": 1584,
"cid2Name": "粮油调味",
"cid3": 2677,
"cid3Name": "调味品",
"goods_level": 20,
"deliveryType": 0,
"jd_type": 1,
"pingouPrice": null,
"pingouTmCount": null,
"pingouUrl": null,
"pingouStartTime": null,
"pingouEndTime": null,
"jd_videoList": null,
"pc_ware_style": "image:url(//img30.360buyimg.com/sku/jfs/t1/132222/26/10999/252478/5f74268fE8b878016/ff808ed906bd2c16.jpg); height:1001p<div class=\"ssd-module M16014475661441 animate-M16014475661441\" data-id=\"M16014475661441\">\n \n</div>\n<div class=\"ssd-module M16014475663662 animate-M16014475663662\" data-id=\"M16014475663662\">\n \n</div>\n<div class=\"ssd-module M16014475665863 animate-M16014475665863\" data-id=\"M16014475665863\">\n \n</div>\n<div class=\"ssd-module M16014475667454 animate-M16014475667454\" data-id=\"M16014475667454\">\n \n</div>\n<div class=\"ssd-module M16014475668855 animate-M16014475668855\" data-id=\"M16014475668855\">\n \n</div>\n<div class=\"ssd-module M16014475670947 animate-M16014475670947\" data-id=\"M16014475670947\">\n \n</div>\n<div class=\"ssd-module M16014475672868 animate-M16014475672868\" data-id=\"M16014475672868\">\n \n</div>\n<div class=\"ssd-module M16014475675049 animate-M16014475675049\" data-id=\"M16014475675049\">\n \n</div>\n<div class=\"ssd-module M160144756795510 animate-M160144756795510\" data-id=\"M160144756795510\">\n \n</div>\n<div class=\"ssd-module M160144756814411 animate-M160144756814411\" data-id=\"M160144756814411\">\n \n</div>\n\n </div>\n<!-- 2020-10-15 05:12:42 --> <br/><script></script><br/>",
"discount_count": 783,
"is_good_shop": 1,
"is_flagship_store": 1,
"is_subsidy_goods": 0
}
],
"current_page": 1,
"total_count": 4,
"total_page": 1
}
}
错误码 | 说明 |
---|---|
0 | 请求成功 |
1000 | appid或appkey错误 |
2000 | API次数调用超过上限 |
3000 | API权限不足 |