In the era of Internet search and shopping, the product list can help our customers search for the products they need in a better, more directional and purposeful manner, so the access to the product list API has become an essential operational element for our merchants.
What parameters does the product list generally contain? How to access the simple, fast, convenient and stable product list API interface?
item_recommend - Get a list of recommended items
taobao.item_recommend
public parameter
Request URL: https://api-gw…….cn/taobao/item_recommend
name | type | must | describe |
---|---|---|---|
key | String | yes | Call key (must be spliced in the URL in GET mode) |
secret | String | yes | call key |
api_name | String | yes | API interface name (included in the request address) [item_search, item_get, item_search_shop, etc.] |
cache | String | no | [yes, no] The default is yes, the cached data will be called, and the speed is relatively fast |
result_type | String | no | [json,jsonu,xml,serialize,var_export] returns the data format, the default is json, and the content output by jsonu can be read directly in Chinese |
lang | String | no | [cn,en,ru] translation language, default cn Simplified Chinese |
version | String | no | API version |
request parameters
Request parameter: type=
Parameter description: type: recommended type
response parameter
Version: Date:
name | type | must | example value | describe |
---|---|---|---|---|
title |
String | 0 | Women's 100 spring and autumn long-sleeved pajamas pure cotton V-neck cotton casual home service autumn and winter ladies suit can be worn outside | baby title |
num_id |
Bigint | 0 | 575382424992 | Baby ID |
price |
Float | 0 | 329.00 | price |
sales |
Int | 0 | 31 | Sales |
orginal_price |
Float | 0 | 329.00 | original price |
promotion_price |
Float | 0 | 118.00 | discounted price |
pic_url |
String | 0 | https://img.alicdn.com/bao/uploaded/i1/2980881979/O1CN011QUQGRKySwSWVkf_!!2980881979.jpg | baby pictures |
detail_url |
String | 0 | https://detail.tmall.com/item.htm?id=575382424992 | baby link |
commission_rate |
Float | 0 | 310.00 | |
coupon_start_time |
Date | 0 | 2020-12-13 | Starting time |
coupon_end_time |
Date | 0 | 2020-12-19 | End Time |
coupon_info |
String | 0 | RMB 5 off when you spend over RMB 89 | location |
provcity |
String | 0 | Zhengzhou, Henan | location |
seller_id |
Bigint | 0 | 2980881979 | seller ID |
seller_nick |
String | 0 | Yeti flagship store | Shopkeeper Nickname |
shop_title |
String | 0 | Yeti flagship store | store name |
images |
Mix | 0 | {"https://img.alicdn.com/i4/2980881979/O1CN011QUQGSkj7sUdPTQ_!!2980881979.jpg"} | The map's address |
How to access?
-- request example url The default request parameters have been URL encoded curl -i "https://api-gw.….cn/taobao/item_recommend/?key=<your own apiKey>&secret=<your own apiSecret> &type="
Onebound TAOBAO API SDK call example:
Onebound TAOBAO API SDK download address
Parameter Description
- General parameter description
- Do not pass parameters indiscriminately, otherwise fees will be deducted regardless of success or failure
- url description https://api-gw.onebound.cn/platform/API type/ Platform: Taobao, Jingdong, etc., API type: [item_search, item_get, item_search_shop, etc.]
- version: API version
- key: call key, test key: test_api_key
- secret: call secret, test secret: (no need to fill in)
- cache: [yes, no] the default is yes, the cached data will be called, and the speed is relatively fast
- result_type: [json,xml,serialize,var_export] return data format, the default is json
- lang:[cn,en,ru] translation language, default cn Simplified Chinese
- secret: key
-
API:item_search parameter description:
- q: search keywords
- cat: Category ID
- start_price: start price
- end_price: end price
- sort: Sort [bid, bid, bid2, _bid2, _sale, _credit]
(bid: total price, bid2: commodity price, sale: sales volume, credit credit, prefixed to sort from large to small) - page: number of pages
- page_size: the number of treasures per page, the default is 40
- seller_info: Whether to obtain business information [yes, no], the default is yes
-
API: item_get parameter description: num_iid: baby ID