在电商运营活动中,价格是贯穿始终的关键因素,而品牌方有效利用价格数据也能够推动企业更好的发展。
当品牌方能够精准获取商品的到手价时,有利于做好商品的定价复盘工作、后续的价格分析工作,也能够为后面的调价作参考;当品牌方能够全面掌握到商品的历史价时,就能够更好的把握商品不同时期的价格走势,比如,有些商品在供需层面存在季节性变化的特征,所以这些商品的价格也会呈季节性波动,当掌握了商品的历史价格走势后,品牌商家便可以提前做好调价准备。
但如今,随着电商行业的日益成熟,获取商品全面的价格数据也比较困难。如商品的到手价常常受店铺优惠、满减、立减等因素的影响,计算难度在不断升级,在大促活动期间更是复杂,还需要叠加平台优惠、平台满减、隐藏优惠券等,并且,对于隐藏优惠券等数据人工又无法获取到,更何况计算出准确的到手价。
基于此,一些大数据系统便应运而生,对于有获取商品价格数据需求的品牌、企业,可以直接选择大数据系统及时获取准确全面的价格数据。
大数据有成熟的算法系统,能够准确捕捉到店铺优惠、平台满减、隐藏优惠券等,准确的计算商品的到手价。同时,大数据有多年的比价服务经验、高效成熟的分词搜索技术,因此,各品牌企业可以直接通过的比价接口,可以进行关键词检索,查找到全网商品的价格数据,像历史价格等数据系统都能够自动爬取出来。
此外,接口调用灵活,商家可传入关键词、商城、分类、品牌、价格区间、价格或销量排序等参数,然后可以自主查询所需要的数据,且支持使用Excel灵活导出。利用导出的价格数据,品牌方也能够更直观的开展商品价格的各项分析工作,倘若企业没有利用数据分析、开发的能力,也可以使用价格监测系统
通过API接口能快速、稳定的获取订单信息
API接入好后,设置好自己店铺的接口信息后,就能通过系统获取所有订单信息。
提高系统处理数据的效率
如果不接入API接口,数据只能通过Excel导入导出的方式来处理。
如果接入系统后,每天处理的数据量就能大大的提高
item_search-按关键字搜索商品
API工具
请求参数
请求参数:q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter=
参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,bid2,_bid2,_sale,_credit]
(bid:总价,bid2:商品价格,sale:销量,credit信用,加_前缀为从大到小排序)
page:页数
请求示例
Curl PHP PHPsdk JAVA C# Python
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://api-gw.onebound.cn/taobao/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter="
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)
响应示例
Request address:
https://api-gw.onebound.cn/taobao/item_search/?key=t&
&q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter=&cache=no&&lang=zh-CN&secret=
---------------------------------------
Result Object:
---------------------------------------
{
"items": {
"page": "1",
"real_total_results": 832521,
"total_results": 2000,
"page_size": 20,
"pagecount": 100,
"data_from": "ti",
"item": [
{
"title": "K姐自制【七仙女发热打底】320克德绒天丝发热空气层软糯百搭",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/10550225/O1CN01MLZoKt1DX5uHbHNCU_!!10550225.jpg",
"promotion_price": "89.00",
"price": "89.00",
"sales": 30000,
"num_iid": "691353717367",
"seller_nick": "大弓100",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=691353717367"
},
{
"title": "针织衫女半高领打底衫内搭秋冬洋气加绒毛衣2022年新款高级感上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/885825895/O1CN01TzQyD31tPxQlgwZlf_!!885825895.jpg",
"promotion_price": "65.00",
"price": "65.00",
"sales": 30000,
"num_iid": "627717462490",
"seller_nick": "冷冷冷冷的咖啡",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=627717462490"
},
{
"title": "半高领打底衫女秋冬内搭毛衣春秋洋气2022年新款长袖针织纯色上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i2/676716255/O1CN01qJ5Wey1w4q6Vk0IW2_!!676716255.jpg",
"promotion_price": "49.00",
"price": "49.00",
"sales": 20000,
"num_iid": "659234839713",
"seller_nick": "小龙妹0612",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=659234839713"
},
{
"title": "K姐自制【YYDS百搭T】270克云朵绒超柔细腻好穿简约休闲闭眼入T恤",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/10550225/O1CN017o2dSS1DX5uMFPpJX_!!10550225.jpg",
"promotion_price": "69.00",
"price": "69.00",
"sales": 20000,
"num_iid": "691354713444",
"seller_nick": "大弓100",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=691354713444"
},
{
"title": "K姐自制【YYDS豆腐牛仔裤】加绒弹力牛仔两色选修身显瘦小脚裤",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/10550225/O1CN01vC5wvF1DX5ulP1wAv_!!10550225.jpg",
"promotion_price": "149.00",
"price": "149.00",
"sales": 10000,
"num_iid": "694110836117",
"seller_nick": "大弓100",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=694110836117"
},
{
"title": "加绒毛衣女冬加厚一体绒内搭半高领打底衫2022秋冬新款高级感上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/885825895/O1CN01zcxHWM1tPxX4NzhwI_!!885825895.jpg",
"promotion_price": "65.00",
"price": "65.00",
"sales": 10000,
"num_iid": "662960830806",
"seller_nick": "冷冷冷冷的咖啡",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=662960830806"
},
{
"title": "半高领打底衫女秋冬高级感内搭毛衣春秋洋气2022新款中领针织上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/885825895/O1CN01Y96Phv1tPxQna9kAw_!!885825895-0-lubanu-s.jpg",
"promotion_price": "39.00",
"price": "39.00",
"sales": 10000,
"num_iid": "627193940947",
"seller_nick": "冷冷冷冷的咖啡",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=627193940947"
},
{
"title": "奶油阔腿裤子女秋冬加绒加厚2022高腰宽松显瘦百搭垂感休闲直筒裤",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/3902150568/O1CN01sS8rxz1G4Bl1WyQgV_!!3902150568.jpg",
"promotion_price": "15.90",
"price": "15.90",
"sales": 10000,
"num_iid": "690751581706",
"seller_nick": "花花笑哈哈3636",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=690751581706"
},
{
"title": "毛衣女冬加绒加厚半高领打底衫秋冬高级感内搭2022新款一体绒上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i4/885825895/O1CN01sO9LVb1tPxWZqsmzD_!!885825895.jpg",
"promotion_price": "69.90",
"price": "69.90",
"sales": 10000,
"num_iid": "657777128585",
"seller_nick": "冷冷冷冷的咖啡",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=657777128585"
},
{
"title": "dmeSTYLE连帽连衣裙女2022秋冬女装显瘦女士裙子",
"pic_url": "//img.alicdn.com/bao/uploaded/i1/3058655500/O1CN011Vitm51qV39x79BTS_!!0-item_pic.jpg",
"promotion_price": "269.00",
"price": "269.00",
"sales": 10000,
"num_iid": "694005208664",
"seller_nick": "dmestyle旗舰店",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=694005208664"
},
{
"title": "K姐自制【腿精瘦瘦裤】抓毛弹力牛仔两色选修身显瘦喇叭牛仔裤女",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/10550225/O1CN01b2CjPY1DX5ufqDAFk_!!10550225.jpg",
"promotion_price": "149.00",
"price": "149.00",
"sales": 10000,
"num_iid": "693060080165",
"seller_nick": "大弓100",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=693060080165"
},
{
"title": "打底衫女内搭秋冬2022新款爆款黑色半高领加绒莫代尔洋气白色上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i1/885825895/O1CN01ZUL33k1tPxVdVVCAy_!!885825895.jpg",
"promotion_price": "39.00",
"price": "39.00",
"sales": 10000,
"num_iid": "653805002137",
"seller_nick": "冷冷冷冷的咖啡",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=653805002137"
},
{
"title": "白色打底衫女秋冬半高领2022年新款内搭洋气冬季毛衣黑色针织上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i1/676716255/O1CN01EiPA2j1w4q6tbT1aB_!!676716255.jpg",
"promotion_price": "49.00",
"price": "49.00",
"sales": 10000,
"num_iid": "659661313457",
"seller_nick": "小龙妹0612",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=659661313457"
},
{
"title": "韩国chic秋冬复古小个子V领修身打底针织连衣裙女内搭毛衣包臀裙",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/883880594/O1CN01gfGYXw1GG5z8JatYz_!!883880594.png",
"promotion_price": "39.98",
"price": "39.98",
"sales": 9000,
"num_iid": "662598791027",
"seller_nick": "彤宝宝20086",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=662598791027"
},
{
"title": "秋冬新款半高领修身针织打底衫韩版内搭外穿慵懒风时尚休闲上衣潮",
"pic_url": "//img.alicdn.com/bao/uploaded/i1/2200711151795/O1CN01iJZAjP1P89eL6q7lI_!!0-item_pic.jpg",
"promotion_price": "29.90",
"price": "29.90",
"sales": 9000,
"num_iid": "657722405362",
"seller_nick": "南极人女装旗舰",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=657722405362"
},
{
"title": "半高领打底衫长袖加绒秋冬季2022年新款女装内搭纯色外穿百搭上衣",
"pic_url": "//img.alicdn.com/bao/uploaded/i1/4074973052/O1CN010ieYK31YPra7fTCDV_!!0-item_pic.jpg",
"promotion_price": "9.90",
"price": "9.90",
"sales": 9000,
"num_iid": "657539329383",
"seller_nick": "飞狐热女旗舰店",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=657539329383"
},
{
"title": "德绒长袖t恤女装2022早春新款秋冬季加厚绒内搭打底衫上衣服ins潮",
"pic_url": "//img.alicdn.com/bao/uploaded/i2/3596248858/O1CN01bI0TMe2FJ13tGWZ9R_!!0-item_pic.jpg",
"promotion_price": "9.90",
"price": "9.90",
"sales": 9000,
"num_iid": "656925689645",
"seller_nick": "追印旗舰店",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=656925689645"
},
{
"title": "2022新款轻薄羽绒服女内胆短款圆领内搭外穿薄款女装无领轻便外套",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/2172487769/O1CN01Xwm7Md27GFp8vKmww_!!0-item_pic.jpg",
"promotion_price": "99.00",
"price": "99.00",
"sales": 9000,
"num_iid": "628360471560",
"seller_nick": "思蝶儿旗舰店",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=628360471560"
},
{
"title": "元熙新款螺纹棉堆堆领高弹力打底衫女2022秋季高领内搭长袖上衣女",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/648688723/O1CN019IH51e2EJBbn6WAhv_!!648688723.jpg",
"promotion_price": "29.00",
"price": "29.00",
"sales": 8000,
"num_iid": "655589403275",
"seller_nick": "罗米14",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=655589403275"
},
{
"title": "戎美【YR1101519】时髦佰搭~品质功能羽绒料/菱形格短款羽绒外套",
"pic_url": "//img.alicdn.com/bao/uploaded/i3/35199816/O1CN01Fc8qA12MNmZekEzRq_!!35199816.jpg",
"promotion_price": "190.00",
"price": "190.00",
"sales": 7000,
"num_iid": "691984433673",
"seller_nick": "家有n多宝贝",
"seller_id": null,
"detail_url": "https://item.taobao.com/item.htm?id=691984433673"
}
],
"item_weight_update": 0
},
"error_code": "0000",
"reason": "ok",
"secache": "a8881ed5637e3c7e84f03acdc86be64f",
"secache_time": 1672189524,
"secache_date": "2022-12-28 09:05:24",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:16 max:10100 all[30=16+3+11];expires:2030-12-31",
"execution_time": "1.706",
"server_time": "Beijing/2022-12-28 09:05:24",
"client_ip": "106.6.39.76",
"call_args": {
"q": "女装",
"start_price": "0",
"end_price": "0",
"page": "1",
"cat": "0"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "0.95MB",
"request_id": "gw-4.63ab96532b26a",
"last_id": "1440721490"
}