Taobao product sales data interface API Taobao product price interface API Taobao product details data interface API

What are APIs?

    API (Application Programming Interface, Application Programming Interface) is a set of methods that define and standardize the interaction between different software components. Simply put, an API is a set of interfaces or tools that a software system provides to other software systems or developers. By using APIs, developers can communicate with other software components to obtain required functions or data.

API can be used for interaction between different systems or platforms, such as operating systems, databases, network services, etc. It can define various rules and formats so that different software components can call and exchange information with each other.

The design of the API usually follows certain principles and specifications, including the specification of input parameters and return values, error handling mechanism, security, etc. Through a well-designed API, developers can use the functions of other software components more conveniently, improve development efficiency, and also improve software scalability and compatibility.

To sum up, API is an interface or a collection of tools used for interaction between software components. Through API, developers can realize data exchange and function calls between different software.

Get Taobao commodity sales interface API

Interface name: item_get_sales      How to get this API?

 Get Taobao product details data interface API

Interface name: item_get

request parameters

Request parameters: num_iid=652874751412&is_promotion=1

Parameter description: num_iid: Taobao product ID
is_promotion: whether to get the promotion price

response parameters

Version: Date:2022-04-04

name type must example value describe

item

item[] 1 baby details data

num_id

Bigint 1 520813250866 Baby ID

title

String 1 Three-edged wood folding knife through security inspection creative mini keychain key knife saber portable multi-functional pocket knife free shipping baby title

desc_short

String 0 Product Description

promotion_price

Int 0 discounted price

price

Float 1 25.8 price

total_price

Float 0 0

suggestive_price

Float 0 0

orginal_price

String 0 25.80 original price

nick

String 0 Happy Shopping Inn Shopkeeper Nickname

num

Int 0 3836 in stock

my_num

Int 0 0 minimum purchase quantity

detail_url

String 0 http://item.taobao.com/item.htm?id=520813250866 baby link

pic_url

String 1 //gd2.alicdn.com/imgextra/i4/2596264565/TB2p30elFXXXXXQXpXXXXXXXXXX_!!2596264565.jpg baby pictures

brand

String 0 Sanbagi brand name

brandId

Int 0 8879363 Brand ID

rootCatId

Int 0 50013886 Top Category ID

cid

Int 1 50014822

crumbs

Mix 0 [] Navigation menu

created_time

String 0

modified_time

String 0

delist_time

String 0

desc

String 0 product details

desc_img

Mix 0 [] Product detail image

item_imgs

Mix 0 item_imgs[] product picture

item_weight

String 0

item_size

String 0

location

String 0 Shipping place

express_fee

Float 0 0.00 Courier fees

ems_fee

Float 0 EMS fee

post_fee

Float 0 Logistics costs

shipping_to

String 0 ship to

has_discount

Boolean 0 false Is there a discount?

video

video[] 0 product video

is_virtual

String 0

is_promotion

Boolean 0 false Whether to promote

props_name

String 0 1627207:1347647754: Color classification: rectangular with bottle opener + tool knife card + chain; 1627207: 1347647753: Color classification: oval with bottle opener + tool knife card + chain; Product attribute name. The format is pid1:vid1:name1:value1;pid1:vid2:name2:value2.

prop_imgs

prop_imgs[] 0 Product attribute image list

property_alias

String 0 20509:9974422:36;1627207:28326:red;20509:9975710:38;1627207:28326:red;20509:9981357:40;1627207:28326:red Sales attribute value alias. The format is pid1:vid1:alias1;pid1:vid2:alia2.

props

Mix 0 [{ "name": "Origin","value": "China" }] Commodity attributes

total_sold

Int 0

skus

skus[] 0 List of commodity specification information

seller_id

Int 0 2844096782 seller ID

sales

Int 0 138 Sales

shop_id

Int 0 151372205 Store ID

props_list

Mix 0 {20509:9974422: Size:36} Commodity attributes

seller_info

seller_info[] 1 seller info

tmall

Boolean 0 false Whether Tmall

error

String 0 error message

warning

String 0 warning message

url_log

Mix 0 []

favcount

Int 0 0

fanscount

Int 0 0

method

String 0 item_tmall:pget_item

promo_type

String 0

props_img

Mix 0 1627207:28326": "//img.alicdn.com/imgextra/i2/2844096782/O1CN01VrjpXt1zyCc9DvERE_!!2844096782.jpg property picture

shop_item

Mix 0 []

relate_items

Mix 0 []

Guess you like

Origin blog.csdn.net/Jernnifer_mao/article/details/132473005
Recommended