Java "hands in hand" Alibaba product details data, Alibaba product details interface, Alibaba API interface application guide

The function of the Alibaba product details API interface is to obtain detailed information about a product on the 1688 platform, including product title, price, pictures, specifications, parameters, store information, etc.

Developers can obtain the original data of products through this interface, which facilitates data analysis, price comparison, crawling and other operations. The product details data obtained through this interface can be combined with other data for in-depth mining. For example, product data can be compared and analyzed to find out the price advantages and competitors among similar products. It can also be used to analyze users based on the interaction data between products and users. Carry out portrait analysis and personalized recommendations, etc.

Collection scene

Enter a keyword search on the Alibaba homepage (alibaba.com), collect the product list page data obtained after the search, and then click in to get the product details page data. The keyword in the example is [shoes], which can be changed according to needs. It also supports automatic batch input of multiple keywords. Click one of the products again to enter the product details page.

 

 

Collection field

Collection fields include keyword text value, product title, store name, product price, discount price, number of payers, sales volume, product link, store name, brand, shipping location, inventory, sku specifications, sku attributes, detailed description, etc.

Collection results

The collection results can be exported to Excel, CSV, HTML, database and other formats. Export to Excel example:

Code display 

alibaba.item_get-Get Alibaba detailed data return value description

1.Public parameters

name type must describe
key String yes Call key (must be spliced ​​into the URL in GET mode, demo example is shown)
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, which will call cached data and is faster.
result_type String no [json,jsonu,xml,serialize,var_export] returns the data format, the default is json, 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 (copy Taobaoapi2014 to get the APISDK file)

2. Request Example

 

3. Response example

 

The Alibaba Platform Open Platform API interface provides interface services through the HTTP protocol. Merchants can obtain information such as product details of the entire site through this interface to facilitate the management of products and stores. When calling this API, you need to apply for the App Key and obtain the Token first, and then make the call through the API URL address. This article provides a detailed analysis from the request process to parameter description. I believe readers have a more in-depth and comprehensive understanding of the API.

Guess you like

Origin blog.csdn.net/weixin_44591885/article/details/132845030
Recommended