Taobao Xianyu details interface, Xianyu APP details data, Xianyu API data access instructions

1. Taobao salted fish details interface parameter access description:
click to register to get the key and secret test account to
extract various data on the Taobao salted fish product details page, including skuid, price, number of favorites, number of additional purchases, monthly sales, main image, Parameters such as title, details page picture, etc.
2. Suggested use scenarios
1. Analysis of product sales, adjusting activity plans based on sales volume, related sales, inventory preparation, etc.
2. Obtaining product details page data information
3. Shopping mall system construction
4. Purchasing system mall construction
5. ERP system product selection Product
3. Public parameter description: The
name type must describe the
key String is the calling key (must be spliced ​​in the URL by GET)
secret String is the calling key
api_name String is the API interface name (included in the request address) [item_search,item_get, item_search_shop, etc.]
cache String No [yes,no] The default yes, the cached data will be called, faster
result_type String No [json,jsonu,xml,serialize,var_export] returns the data format, the default is json, the content output by jsonu is Chinese Can directly read
lang String No [cn,en,ru] translation language, default cn simplified Chinese
version String No API version
IV. API request parameter description:
request parameter: num_iid=606764782215
Parameter description: num_iid: idle fish product ID
5. Response parameters
Whether the name type is private or not Sample value description
num_iid Bigint 606764782215 Product ID
title String Apple product title
desc_short String Product introduction
price Float 22.80 Price
total_price Float 0
suggestive_price Float 0
orginal_price Float 22.80 Original pricenick
String w***3 Shopkeeper nickname
num Int 1
browseCnt Int 6732 pageview
detail_url String https://market.m.taobao.com/app/idleFish-F2e/widle-taobao-rax/page-detail?id=606764782215 Product link
pic_url String http://img.alicdn.com/bao/uploaded/i1/O1CN01qsyTa91x3IFZgVcwv_!!0-fleamarket.jpg Product image
brand String Brand name
brandId Int Brand ID
rootCatId Int Top category ID
cid Int 125938002
favcount Int 7
fanscount Int 0
crumbs Mix []
created_time String
modified_time String
delist_time String
desc String The orchard at the home of the relatives of Apple’s family, more than 100 acres, Luochuan apples are crisp and sweet, and the package is 10 jin. Know the power of the Internet, so I will give you the wholesale price on this! Everyone knows that supermarkets are expensive. Shipped after 3 days of payment, you can see the picture of the package below! It's super sweet, and the praises I have bought are constantly!
desc_img Mix {"http://img.alicdn.com/bao/uploaded/i2/O1CN01OJd5Pz1jKKMFBh8fs_!!0-fleamarket.jpg", "http://img.alicdn.com/bao/uploaded/i3/O1CN01gx2L0T22pRyLaM6KK_!! 0-fleamarket.jpg","http://img.alicdn.com/bao/uploaded/i2/O1CN019N6C3u1sEDcPyNQIv_!!0-fleamarket.jpg","http://img.alicdn.com/bao/uploaded/i2 /O1CN01lD5cp51GQcxFd6RkS_!!0-fleamarket.jpg","http://img.alicdn.com/bao/uploaded/i2/O1CN015feBrD1tqWMSPkPen_!!0-fleamarket.jpg"} product description picture
item_imgs
item_weight String
item_size String
location String delivery Ground
express_fee Float Express fee
ems_fee Float EMS fee
post_fee Float Logistics fee
shipping_to String Ship to
has_discount Boolean false
video Mix [“https://cloud.video.taobao.com/play/u/791632877/p/1/e/6/ t/1/d/ld/248192363167.mp4"] Product video
is_virtual String
sample_id String Product style identification ID
is_promotion Boolean
props_name String Product property name
prop_imgs Mix {"prop_img": []} Product property image list
property_alias String Product property alias
props Mix [] Product details
total_sold Int
skus Mix {"sku": []} Product specification information
seller_id Int 791632877 Seller ID
sales Int Sales
shop_id Int Shop ID
props_list Mix Product attributes
seller_info Mix {"title": "dou*** station", "shop_name": "dou*** station", "sid": null, "zhuy": null, "level": "A", "shop_type" : null, “user_num_id”: null, “nick”: “w***3”, “cid”: “”, “xianyuSummary”: “It’s been 1542 days since I came to Xianyu, and I have sold 185 treasures. Capricorns born in the 80s Girl. I like food and travel.", "lastVisitTime": "Visited 4 days ago", "publishCity": "Published in Yancheng", "portraitUrl": "http://img.alicdn.com/sns_logo/i1/ O1CN01QZlS7H1JA5UXF4Hdb_!!0-fleamarket.jpg","xinyongiconUrl": "https://gw.alicdn.com/tfs/TB1alBPybj1gK0jSZFOXXc7GpXa-168-36.png","renzhengiconUrl": "https://gw.alicdn.com/tfs/TB1alBPybj1gK0jSZFOXXc7GpXa-168-36.png","renzhengiconUrl.alic.com /tfs/TB1DM04aGWs3KVjSZFxXXaWUXXa-28-28.png"} Seller information
tmall Boolean false Whether Tmall
error String Error message
warning String Warning message
url_log Mix []
props_img Mix [] Property picture
shop_item Mix []
relate_items Mix []
VI. Request example : (CURL, PHP, PHPsdk, Java, C#, Python)

<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://api.onebound.cn/taobao/demo/sdk2020/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/xianyu/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=606764782215";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>




API工具
[API SDK调用示例](http://console.open.onebound.cn/console/?i=Andy)
[API SKD下载](http://console.open.onebound.cn/console/?i=Andy)
[API测试工具](http://console.open.onebound.cn/console/?i=Andy)





Guess you like

Origin blog.csdn.net/wx_19970108018/article/details/112213331