本文主要是介绍1688拍立淘API接口分享,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
拍立淘接口,顾名思义,就是通过图片搜索到相关商品列表。通过此接口,可以实现图片搜索爆款商品等功能。
接口地址:1688.item_search_img
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg
参数说明:imgid:图片地址(使用淘宝upload_img接口上传图片,返回图片地址)
如:https://img.alicdn.com/imgextra/i3/15353738/TB2HDHAqN9YBuNjy0FfXXXIsVXa_!!15353738-0-beehive-scenes.jpg
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
items | items[] | 0 | 按图搜索1688商品 | |
real_total_results | Int | 0 | 80 | 宝贝真实数量 |
total_results | Int | 0 | 43 | 搜索数量 |
pagecount | Int | 0 | 1 | 总页数 |
error | String | 0 | 错误代码 | |
data_from | String | 0 | ||
item | item[] | 0 | 宝贝详情数据 |
商品图片
请求参数
imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg&cache=no
响应示例
"items": {"real_total_results": 80,"error": "","item": [{"title": "斗牛实战篮球袜男中筒袜子毛巾底美式专业精英袜高帮跑步运动长袜","pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01Ur2CIo1a1FUH9aKLO_!!2206579883269-0-cib.jpg","price": "8.00","promotion_price": "8.00","sales": 57503,"num_iid": "669891228529","turnHead": "16%","seller_nick": "石竹(佛山)体育用品有限公司","area": "佛山市","detail_url": "https://detailp4p.1688.com/buyer/offerdetail/669891228529.html?_p_isad=1&cbu_ad_adgroup_id=885299468&trace_log=p4p&cbu_ad_sessionid=45143bab479ea02f9bef3ac7b34544fd"},{"title": "篮球袜男高帮运动实战专业百搭长筒精英毛巾底运动袜子斗牛2.0","pic_url": "https://cbu01.alicdn.com/O1CN01lQv8pb1lfWCslHpSO_!!2216243694846-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 1582,"num_iid": "736556438807","turnHead": "3%","seller_nick": "诸暨市搏燃针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=736556438807&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "斗牛2.0篮球袜长筒男实战精英袜子夏季美式训练毛巾底运动长袜","pic_url": "https://cbu01.alicdn.com/O1CN011WICwh2HWQ3KnHjiz_!!2216544769158-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 258,"num_iid": "741422477524","turnHead": null,"seller_nick": "诸暨市拓诚针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=741422477524&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "运动袜跑步袜中筒潮压力男士篮球袜袜子长筒专业精英毛圈足球袜子","pic_url": "https://cbu01.alicdn.com/O1CN01EIwQQZ1VFNhi0uA4n_!!2214396662623-0-cib.jpg","price": "6.90","promotion_price": "6.90","sales": 4307,"num_iid": "718632576368","turnHead": "19%","seller_nick": "诸暨市嘉玙针织品商行","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=718632576368&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "斗牛2.0实战篮球袜长筒高帮批发运动袜精英毛巾底纯色新款吸汗","pic_url": "https://cbu01.alicdn.com/O1CN01jmTmYz2HkcJ3FLDVh_!!2215717369189-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 12635,"num_iid": "728980431212","turnHead": "8%","seller_nick": "诸暨市荣育针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=728980431212&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "uzispro斗牛实战专业篮球袜男中筒透气长袜白色运动袜毛巾底长筒","pic_url": "https://cbu01.alicdn.com/O1CN018ebJux1VEvKr6Gp9n_!!2214892302622-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 8766,"num_iid": "722088346044","turnHead": "11%","seller_nick": "诸暨市舜逸针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=722088346044&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "专业运动袜OEM贴牌定制加厚毛巾底防滑篮球袜透气中筒袜可加logo","pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01wfYHaD28PFHhYz9WN_!!3301127924-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 14775,"num_iid": "730134196817","turnHead": "21%","seller_nick": "佛山市南海区银翊织造厂","area": "佛山市","detail_url": "https://detailp4p.1688.com/buyer/offerdetail/730134196817.html?_p_isad=1&cbu_ad_adgroup_id=1013691180&trace_log=p4p&cbu_ad_sessionid=45143bab479ea02f9bef3ac7b34544fd"},{"title": "儿童精英实战篮球袜子男绿加厚毛巾袜防滑中筒袜专业运动袜子批发","pic_url": "https://cbu01.alicdn.com/O1CN01a62x4v2BECQrIy44J_!!2594558306-0-cib.jpg","price": "8.00","promotion_price": "8.80","sales": 35069,"num_iid": "657495797341","turnHead": "21%","seller_nick": "佛山名郡织造有限公司","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=657495797341&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "实战篮球袜子毛巾底专业运动袜精英男女中筒高帮长筒厂家直销","pic_url": "https://cbu01.alicdn.com/O1CN01NKOpTx1hfHRLcWDTQ_!!2213839604304-0-cib.jpg","price": "2.99","promotion_price": "2.99","sales": 35011,"num_iid": "673986655215","turnHead": "34%","seller_nick": "义乌市随动针织品厂","area": "金华市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=673986655215&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "斗牛实战篮球袜男中筒袜子毛巾底美式专业精英袜高帮跑步运动长袜","pic_url": "https://cbu01.alicdn.com/O1CN01Ur2CIo1a1FUH9aKLO_!!2206579883269-0-cib.jpg","price": "8.50","promotion_price": "8.50","sales": 57503,"num_iid": "669891228529","turnHead": "16%","seller_nick": "石竹(佛山)体育用品有限公司","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=669891228529&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "定制数字明星篮球袜男款实战加厚加长休闲袜防滑高帮毛巾底袜批发","pic_url": "https://cbu01.alicdn.com/O1CN01zRQZiF1jhEOK8d6pk_!!2215181094579-0-cib.jpg","price": "7.50","promotion_price": "7.50","sales": 3602,"num_iid": "702875868698","turnHead": "2%","seller_nick": "佛山市南海区友志棉品袜厂","area": "佛山市","detail_url": "https://m.1688.com/offer/702875868698.html?__noNativeRedirect__=1&__existtitle__=1&__removesafearea__=1&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal"},{"title": "大码成人斗牛篮球袜加厚毛巾底男高帮运动袜实战专业精英骑行袜子","pic_url": "https://cbu01.alicdn.com/O1CN01BjgUop2I4lcm2Gdtx_!!2213019179233-0-cib.jpg","price": "8.50","promotion_price": "8.50","sales": 2598,"num_iid": "673727115872","turnHead": "31%","seller_nick": "深圳市翠琳袜业有限公司","area": "","detail_url": "http://detail.m.1688.com/page/index.html?offerId=673727115872&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "詹姆斯库里球星毛巾底篮球袜子成人实战加厚运动袜男士长筒精英袜","pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01J6Y3KS1a1FXwu9vlL_!!2206579883269-0-cib.jpg","price": "7.50","promotion_price": "7.50","sales": 6546,"num_iid": "699107613411","turnHead": "16%","seller_nick": "石竹(佛山)体育用品有限公司","area": "佛山市","detail_url": "https://detailp4p.1688.com/buyer/offerdetail/699107613411.html?_p_isad=1&cbu_ad_adgroup_id=950846605&trace_log=p4p&cbu_ad_sessionid=45143bab479ea02f9bef3ac7b34544fd"},{"title": "男士中筒数字篮球袜男款实战训练运动袜中筒加厚毛巾底袜子批发","pic_url": "https://cbu01.alicdn.com/O1CN015jTXPB1zT4122wStl_!!2212841996714-0-cib.jpg","price": "8.00","promotion_price": "8.00","sales": 25953,"num_iid": "712775902332","turnHead": "20%","seller_nick": "佛山市南海区星优晨袜业厂","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=712775902332&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "斗牛2.0专业篮球袜男夏季中筒透气长袜白色运动袜毛巾底长筒袜子","pic_url": "https://cbu01.alicdn.com/O1CN01BbafX92AaoXbKCABL_!!2214874718220-0-cib.jpg","price": "4.50","promotion_price": "4.50","sales": 8,"num_iid": "740626735284","turnHead": "7%","seller_nick": "诸暨市郡泰针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=740626735284&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "实战专业篮球袜男中高筒毛巾加厚训练健身跑步男士精英运动袜长筒","pic_url": "https://cbu01.alicdn.com/O1CN01QUOduf1z22a4qrtxc_!!2207535316655-0-cib.jpg","price": "5.00","promotion_price": "5.00","sales": 11550,"num_iid": "678235843798","turnHead": "17%","seller_nick": "诸暨市漫跑针织厂","area": "诸暨市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=678235843798&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "斗牛篮球袜 2.0加厚毛巾底男高帮跑步实战专业长中筒精英运动袜子","pic_url": "https://cbu01.alicdn.com/O1CN01GCJHZn259ivaKTOqO_!!2214143237484-0-cib.jpg","price": "8.50","promotion_price": "8.50","sales": 20572,"num_iid": "677191208727","turnHead": "15%","seller_nick": "佛山市奇翔纺织有限公司","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=677191208727&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "专业篮球袜男款 吸汗防滑压力袜 透气毛巾底跑步袜男士篮球运动袜","pic_url": "https://cbu01.alicdn.com/O1CN01quSyVC1IS7f8VIOMZ_!!2214079990891-0-cib.jpg","price": "3.60","promotion_price": "4.00","sales": 16298,"num_iid": "711685610424","turnHead": "9%","seller_nick": "佛山市南海风翔织造厂","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=711685610424&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "篮球袜定制 来图来样OEM毛巾底男高帮跑步实战长中筒精英运动袜子","pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01CPD0jz259iv88321P_!!2214143237484-0-cib.jpg","price": "8.50","promotion_price": "8.50","sales": 3282,"num_iid": "677192216574","turnHead": "15%","seller_nick": "佛山市奇翔纺织有限公司","area": "佛山市","detail_url": "https://detailp4p.1688.com/buyer/offerdetail/677192216574.html?_p_isad=1&cbu_ad_adgroup_id=1009888475&trace_log=p4p&cbu_ad_sessionid=45143bab479ea02f9bef3ac7b34544fd"},{"title": "斗牛篮球袜2.0加厚毛巾底男高帮运动袜实战专业长筒精英运动袜子","pic_url": "https://cbu01.alicdn.com/O1CN01WsxpdL1uvqp9rlfZD_!!2215531826100-0-cib.jpg","price": "7.89","promotion_price": "8.30","sales": 33114,"num_iid": "709409527777","turnHead": "14%","seller_nick": "佛山市南海区牡云袜厂","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=709409527777&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "情缘 袜子男士 足球袜 运动袜 提花袜 定制袜 长筒袜男定制","pic_url": "https://cbu01.alicdn.com/img/ibank/9085706441_1968951043.jpg","price": "2.00","promotion_price": "2.00","sales": 0,"num_iid": "572614452815","turnHead": "16%","seller_nick": "诸暨市情缘针纺股份有限公司","area": "诸暨市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=572614452815&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "NICE同款实战专业篮球袜男加厚毛巾袜运动袜吸汗透气中筒袜批发","pic_url": "https://cbu01.alicdn.com/O1CN014UPJf42HkcKEkTOpX_!!2215717369189-0-cib.jpg","price": "4.85","promotion_price": "4.85","sales": 6,"num_iid": "738546604748","turnHead": "8%","seller_nick": "诸暨市荣育针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=738546604748&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "NICE同款实战专业篮球袜男加厚毛巾袜运动袜吸汗透气中筒袜批发","pic_url": "https://cbu01.alicdn.com/O1CN018rT92l1VEvHKFEFH4_!!2214892302622-0-cib.jpg","price": "4.90","promotion_price": "4.90","sales": 258,"num_iid": "688015674316","turnHead": "11%","seller_nick": "诸暨市舜逸针织厂","area": "绍兴市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=688015674316&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"},{"title": "亚马逊篮球袜加厚毛巾底运动袜高帮球员版中筒袜男精英跑步袜子女","pic_url": "https://cbu01.alicdn.com/O1CN01VXPPWO1uvqpAwwwav_!!2215531826100-0-cib.jpg","price": "8.00","promotion_price": "8.00","sales": 1,"num_iid": "709550842480","turnHead": "14%","seller_nick": "佛山市南海区牡云袜厂","area": "佛山市","detail_url": "http://detail.m.1688.com/page/index.html?offerId=709550842480&sortType=&pageId=&abBizDataType=cbuOffer&pvid=ba83ec8a-3c4c-4b5c-ab61-bcc7e18d0a6d&trace_log=normal&scm=1007.45113.349691.0"}],"data_from": "ti","pagecount": 1,"total_results": 24},"error_code": "0000",
这篇关于1688拍立淘API接口分享的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!