item_search- Search Taobao products by keyword

Request parameters:

q=women's clothing&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=&imgid=&filter=

Parameter description:

q: search keyword
cat: category ID
start_price: start price
end_price: end price
sort: sort [bid,_bid,bid2,_bid2,_sale,_credit]
  (bid: total price, bid2: product price, sale: sales ,credit credit, add _ prefix to sort from largest to smallest)
page: number of pages

 

Response parameters
name Types of Sample value description
items
items[]   Search products by keyword
page
Int 1 page number
page_size
Int 44 Interface return quantity
real_total_results
Int 1900 Baby quantity
total_results
Int 1900 Baby quantity
pagecount
Int 120 total pages
item
item[]   Baby details data
title
String French retro Yamamoto super fairy chic fairy Hepburn net red early spring very fairy French niche skirt two-piece suit Product title
pic_url
String //img.alicdn.com/bao/uploaded/i3/3083218865/O1CN012FMDaiwxkenJGaM_!!0-item_pic.jpg Baby pictures
promotion_price
Float 178.00 Preferential price
price
Float 178.00 price
sales
Int 890 Sales
num_iid
Bigint 577437133060 Baby ID
sample_id
String   Commodity style ID
seller_nick
String Chumu Flagship Store Shopkeeper's nickname
post_fee
Float 10.00 Logistics costs
area
String Shandong Shop location
detail_url
String //detail.tmall.com/item.htm?id=586794298909&ns=1&abbucket=0 Baby link
seller_info
Mix {"level": 99, "shop_type": "B", "user_num_id": "2217148345", "cid": 0, "delivery_score": "", "item_score": "", "score_p": ""} seller info

 

<?phpphp


$method = "GET";= "GET";
$url = "https://taobao.atphosting24.com/index.php?route=api_tester/call&api_name=item_search&lang=zh-CN&q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=&key=";
$curl = curl_init();= curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));(curl_exec($curl));
?>?>
  • item_search- Search Taobao products by keyword
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

item_get- Get Taobao product

Request parameter: num_iid=520813250866&is_promotion=1 Parameter description: num_iid:...

item_fee- Get Taobao goods express fee

Request parameters: num_iid=572050066584&area_id=152501&sku=0 Parameter description:...

taobao.buyer_order_detail

Request parameter: order_id=&onlystatus=0 Parameter description: order_id: order ID token:...

taobao.item_search_img

response parameters Version: Date: name type must Example value describe...

taobao.upload_img

Request parameters Request parameters:...