在网络购物中,TAO宝是相信许多人的首选平台之一,而对于一个谨慎的购物者来说,价格的变化是非常重要的。所以获取淘宝商品历史价格,可以帮助购物者更好地作出决策,实现理性消费。获取淘宝商品历史价格主要能帮助到我们做到以下几点:
1. 判断折扣力度:TAO宝往往会根据不同的促销活动进行价格调整,而通过获取商品历史价格,我们可以了解每次促销前后的价格,分析折扣幅度是否够大,从而决定是否值得购买。
2. 确定商品价格波动:商品价格波动是常见现象,获取商品历史价格可以帮助我们描绘出价格曲线,了解近期商品价格波动情况,从而决定最佳购买时间。
3. 找到合适价位:通过商品历史价格,我们可以找到历史价格的最高点、最低点和平均价格,很好地掌握该商品的市场价值,更容易找到一个适合自己的价格区间。
4. 辨别虚假促销活动:有时候商家会利用一些虚假的促销活动来吸引购物者的眼球,通过商品历史价格我们可以发现这个商品是否有虚假促销活动,以免被商家所欺骗。
5. 比较同品牌同类商品价格:TAO宝上很多品牌的商品种类繁多,同一品牌下不同类别的商品价格也有可能差异很大,获取历史价格可以了解品牌的定价范围,从而更好地评估目前价格是否合理。
通过TAO宝API可以实现通过商品ID获取到商品的历史价格。
item_history_price-获取商品历史价格信息
请求参数
请求参数:num_iid=584458528092
参数说明:num_iid:商品id
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
num_iid | Bigint | 0 | 宝贝ID | |
title | String | 0 | 商品标题 | |
detail_url | String | 0 | 宝贝链接 | |
pic_url | String | 0 | 宝贝图片 | |
lower_price | Float | 0 | 39.00 | 最低价 |
lower_date | String | 0 | 2020-12-22 | 最低价日期 |
current_price | Float | 0 | 39.00 | 当前价 |
change_price_remark | String | 0 | ||
item | Mix | 0 | {"date": "2020-06-25", "price": "39.00", "discount": "",} | 价格信息 |
响应示例
"items": {"num_iid": "698291711589","detail_url": "https://item.taobao.com/item.htm?id=698291711589","item": [{"price": "459.08","data": "2023-05-02 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-03 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-04 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-05 00:00:00","discount": ""},{"price": "439.12","data": "2023-05-06 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-07 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-08 00:00:00","discount": ""},{"price": "439.12","data": "2023-05-09 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-10 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-11 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-12 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-13 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-14 00:00:00","discount": ""},{"price": "474.05","data": "2023-05-15 00:00:00","discount": ""},{"price": "474.05","data": "2023-05-16 00:00:00","discount": ""},{"price": "499.0","data": "2023-05-17 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-18 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-19 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-20 00:00:00","discount": ""},{"price": "479.04","data": "2023-05-21 00:00:00","discount": ""},{"price": "499.0","data": "2023-05-22 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-23 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-24 00:00:00","discount": ""},{"price": "459.08","data": "2023-05-25 00:00:00","discount": ""},{"price": "479.04","data": "2023-05-26 00:00:00","discount": ""},{"price": "479.04","data": "2023-05-28 00:00:00","discount": ""},{"price": "499.0","data": "2023-05-29 00:00:00","discount": ""},{"price": "499.0","data": "2023-05-30 00:00:00","discount": ""},{"price": "469.06","data": "2023-05-31 00:00:00","discount": ""}],"_ddf": "cdy"},