历史价格查询API
通过商品链接获取该商品的历史价格曲线。
公共参数
参数名称 | 参数类型 | 是否必填 | 参数描述 |
Access_Token | String | 是 | 采用OAuth授权方式为必填参数 |
App_Key | String | 是 | 应用的App_Key |
请求参数说明
参数接口 | 参数类型 | 是否必填 | 说明 |
Content-Type | Json | 是 | 返回数据类型 |
Urls | String | 是 | 商品详情页地址,只支持单个Url,此参数需要做UrlEncode |
Months | String | 否 | 返回最近几个月的价格曲线,默认返回全部的价格曲线 |
GetOriginalPriceNodes | String | 否 | 是否返回原始节点,1:返回原始节点,0:需要补充节点,默认1 |
Sid | String | 否 | 返回指定Sid的曲线,若不填则分站不返回Sid=0的曲线 |
ShowPriceSeriesDetail | String | 否 | 是否显示价格曲线节点明细 |
PriceType | String | 否 | 价格统计类型,0:Price,1:FinalPrice |
返回参数说明
参数接口 | 参数类型 | 是否必填 | 说明 | 示例值 |
Result | Object | 非必须 | | |
PriceSeriesList | Object [] | 非必须 | | |
Url | String | 非必须 | 商品干净Url | https://item.jd.com/100009743920.html |
OriginalUrl | String | 非必须 | 商品原始Url | https://item.jd.com/100009743920.html?extension_id=&jd_pop=aa591d2f-b73e-49a8-9613-30cbdeffb8ed&abt=3 |
Title | String | 非必须 | 商品标题 | 锤子(smartisan)坚果 足迹保护套/手机保护壳 |
StatusID | Number | 非必须 | 查询结果,0:正常,1:商品未收录,2:无价格信息 | 0 |
PriceSeries | String | 非必须 | 价格信息 | 具体每个时刻的价格 |
StatusMsg | String | 非必须 | 查询结果的描述信息 | 200 |
WebsiteName | Dict | 非必须 | 网站名称字典,数据格式如下{网站编号: 网站名称} | { 0: "京东" } |
CurrencyType | String | 非必须 | 货币符号 | CNY |
CurrencyTypeID | Number | 非必须 | 货币类型ID | 0 |
CurrencyRate | Number | 非必须 | 货币汇率,大于0为有效值 | 1 |
LowestPrice | Number | 非必须 | 最低价 | 69 |
HighestPrice | Number | 非必须 | 最高价 | 69 |
FrequentPrice | Number | 非必须 | 常卖价 | 69 |
AvgPrice | Number | 非必须 | 均价 | 69 |
PriceCount | Number | 非必须 | 价格次数,每天至少有一个价格,统计时间段内的价格次数 | 824 |
PriceDays | Number | 非必须 | 价格天数,自第1次采集开始至最后1次采集结束时间差值,以天为单位(例如:每天采集1次,连续采集7天,那么采集跨度7天;若只采集1天,连续采集7次,那么采集跨度1天) | 1 |
ShowPriceSeriesDetail | String | 非必须 | 是否展示历史价格详细信息 | True |
PriceType | String | 非必须 | 最低价类型 | 0 |
Time | String | 非必须 | 时间戳 | 1584498675 |
Success | Boolean | 非必须 | 请求是否成功 | True |
Error | String | 非必须 | 请求异常时的错误码或异常信息描述 | SucRuntimeError("can't start new thread") |
TimeSpan | String | 非必须 | 请求用时,单位:秒 | 1.576 |
Version | String | 非必须 | 版本号 | 1.1.2.255 |
ResponseID | String | 非必须 | 响应ID | 5b09bbbf6bb74a81aa3c88ae90e7630d |