请求HEADER
名称 | 值 |
---|---|
Content-Type | application/x-www-form-urlencoded;charset:utf-8; |
请求参数说明
名称 | 要求 | 类型 | 示例值 | 说明 |
---|---|---|---|---|
secret | 必填 | string | Ptjw1Du3l0t3JM10oD5I6fGOMV | 您的密钥,在密钥管理中查看 |
cat_ids | 必填 | string | 1315,1343,9719 | 京东三级类目,使用英文逗号分隔。 |
page_num | 选填 | string | 1 | 页码,最多200页。 |
sort | 选填 | string | 0 | 排序方式,0-综合排序,1-销量排序,2-评价排序,3-新品排序,4-价格由高到低,5-价格由低到高 |
响应HEADER
名称 | 值 | 说明 |
---|---|---|
X-Rate-Limit-Limit | 5 | 当前接口请求频率限额 |
X-Rate-Limit-Remaining | 2 | 一段时间内剩余允许请求数,该值为0表明达到当前接口最大请求频率/次数限制,应适当降低请求频率 |
X-Rate-Limit-Global | 1 | 该值为1表明触犯全局请求频率/次数限制,应适当降低请求频率 |
返回参数说明
名称 | 类型 | 说明 |
---|---|---|
code | number | 返回码,具体含义请参考错误码参照 |
msg | string | 返回说明 |
data | json | 返回结果集 |
rid | string | 请求ID |
JSON结果集返回示例
{"Summary":{"Page":{"PageCount":29486,"PageIndex":1,"PageSize":30},"ResultCount":884575},"Paragraph":[{"wareid":"100032738680","product_id":"100032738680","cid1":"1315","cid2":"1343","catid":"9719","shop_name":"La Chapelle京东自营旗舰店","shop_id":"1000375484","dredisprice":"159.00","Content":{"warename":"La Chapelle拉夏贝尔连衣裙女装2023年新春款韩版时尚假两件裙子女 蓝色 M ","imageurl ":"//img10.360buyimg.com/n7/jfs/t1/111747/30/21308/470142/620a0ba8E87678e9c/7b6e063b786e6cfd.jpg","long_image_url ":"//img10.360buyimg.com/n7/jfs/t1/111747/30/21308/470142/620a0ba8E87678e9c/7b6e063b786e6cfd.jpg"},"priceReal":{"p":"159.00","up":"","tkp":"","sp":"","l":"","cbf":"0"}},{"wareid":"100039805328","product_id":"100039805328","cid1":"1315","cid2":"1343","catid":"9719","shop_name":"La Chapelle京东自营旗舰店","shop_id":"1000375484","dredisprice":"329.00","Content":{"warename":"La Chapelle拉夏贝尔连衣裙女装2023春季新时尚中长款显瘦A字裙女 白色 均码","imageurl ":"//img13.360buyimg.com/n7/jfs/t1/119738/25/35426/85470/63e7126bFd449f663/8706d8ae85d45a41.jpg","long_image_url ":"//img13.360buyimg.com/n7/jfs/t1/119738/25/35426/85470/63e7126bFd449f663/8706d8ae85d45a41.jpg"},"priceReal":{"p":"329.00","up":"","tkp":"","sp":"","l":"","cbf":"0"}},{"wareid":"10057917439275","product_id":"10022948812387","cid1":"1315","cid2":"1343","catid":"9719","shop_name":"妍莉芬服饰旗舰店","shop_id":"692958","dredisprice":"168.00","Content":{"warename":"妍莉芬 连衣裙春装新款女装套装2023年两件套套装裙针织吊带长裙子春秋 白色毛衣+吊带裙 M【建议95斤-105斤】","imageurl ":"//img10.360buyimg.com/n7/jfs/t1/67398/8/21093/126593/62ee015eE1a258890/c731e7d5016e7054.jpg","long_image_url ":"//img10.360buyimg.com/n7/jfs/t1/67398/8/21093/126593/62ee015eE1a258890/c731e7d5016e7054.jpg"},"priceReal":{"p":"168.00","up":"","tkp":"","sp":"","l":"","cbf":"0"}},{"...":"..."},{"wareid":"10059809418597","product_id":"10023071483054","cid1":"1315","cid2":"1343","catid":"9719","shop_name":"皮尔卡丹向尧专卖店","shop_id":"10673221","dredisprice":"319.00","Content":{"warename":"皮尔卡丹轻奢高档品牌女装 连衣裙子女士装早秋冬2022年新款小个子气质显瘦洋气打底中长裙时尚女装 常规黑色 XL (105-120斤)","imageurl ":"//img12.360buyimg.com/n7/jfs/t1/14649/3/19494/32171/63141854E919b159a/ee0e24523c5dcd14.jpg","long_image_url ":"//img12.360buyimg.com/n7/jfs/t1/14649/3/19494/32171/63141854E919b159a/ee0e24523c5dcd14.jpg"},"priceReal":{"p":"319.00","up":"","tkp":"","sp":"","l":"","cbf":"0"}}]}
系统级错误码参照
错误码 | 说明 |
---|---|
500 | 缺少参数密钥KEY |
501 | 密钥KEY错误或已失效 |
502 | 密钥KEY已禁用,平台黑名单 |
503 | IP地址不被平台允许 |
504 | 接口不存在或已下线 |
505 | 接口维护中,请稍后访问 |
506 | 接口不支持该方式请求 |
507 | 接口不支持GET方式请求 |
508 | 接口不支持POST方式请求 |
509 | 服务端执行错误 |
510 | 服务端数据解析错误 |
服务级错误码参照
错误码 | 说明 |
---|---|
400 | 密钥KEY错误或已失效 |
401 | 密钥KEY已禁用 |
402 | IP地址不被用户允许 |
403 | 账号余额不足,请及时充值 |
404 | 超过当前接口每日调用限制 |
405 | 超过当前接口每秒调用限制 |
406 | 请求参数错误 |
407 | 请求失败,后端错误 |
错误码格式说明
5xx | 4xx | xx |
---|---|---|
系统级错误 | 服务级错误 | 具体错误代码 |