首页 > 其他分享 >Taobao API interface: keyword search product list data interface

Taobao API interface: keyword search product list data interface

时间:2024-09-18 09:49:26浏览次数:12  
标签:search keyword price list product Taobao interface products

Taobao API interface: keyword search product list data interface

——On the road of growth, we are all fellow travelers. I hope this article about the Taobao product list information interface for product selection can help you. I look forward to sharing more e-commerce knowledge with you, please remember to follow Taobaoapi2014.


The following is the relevant information of Taobao keyword search product list data interface:
Basic usage steps:
Register and log in to Taobao Open Platform: You need to register as a developer on Taobao Open Platform and create an application to obtain API call permissions.
Get necessary information: Get the application's appkey (application key) and appsecret (the password corresponding to the application key), as well as accesstoken (access token used to verify identity and authorize access).
Call interface: Use the appropriate API request method (such as HTTP GET or HTTP POST) to call the product search interface. The interface path is generally https://eco.taobao.com/router/rest, but the specific path may change depending on the update of Taobao Open Platform.
Request parameters:
Keyword: This is a required parameter used to specify the keyword content of the search. The keyword is used to search the product list and return the products containing the specified keyword.
Page number (page_num or page): Specify the page number of the product list to be queried. The default is 1. If there are many products and pagination is required, you can modify this parameter to obtain data from different pages.
Number per page (page_size): specifies the number of products returned per page, the maximum value is generally 20 (may be adjusted in different periods). This parameter is used to control the number of results returned so that the appropriate amount of data can be obtained according to the needs.
Sorting method (sort): You can sort the products according to certain rules. Common values ​​are 1 - comprehensive sorting, 2 - new product sorting, 3 - sales from high to low, 4 - sales from low to high, 5 - price from high to low, 6 - price from low to high, 7 - credit from high to low, 8 - credit from low to high (default is 1).
Minimum price (start_price) and maximum price (end_price): used to specify the price range of the returned products, used in pairs with the upper and lower limits of the price. You can filter out products that meet the price range according to your needs.
Filter conditions (filters): You can fill in multiple items, separated by commas. For example, 1 - Free shipping, 2 - Tmall, 3 - Global shopping, 4 - Consumer protection, 5 - Mobile exclusive, 6 - Taobao coins, 7 - Cash on delivery, 8-7 days return, 9 - Promotion, etc., you can filter products according to these conditions.
Location (loc): Fill in the province or city name, which can be used to filter out products in a specific area.
Return results:
total_results: Indicates the total number of products that meet the search conditions.
items: A specific list of products, including detailed information for each product, such as product item_id (product id), title (title), price (price), pic_url (product picture url), shop_title (store name), sales (sales), favorite_count (number of favorites), etc.
It should be noted that signature verification is required to call the Taobao Open Platform interface to ensure the security and legitimacy of the request. In addition, Taobao's API may be adjusted and updated according to business needs and platform policies, so when using it, you should pay attention to the official documentation of the Taobao Open Platform to obtain the latest information.

标签:search,keyword,price,list,product,Taobao,interface,products
From: https://blog.csdn.net/tbapi2017/article/details/142325119

相关文章

  • Text-to-SQL技术升级 - 阿里云OpenSearch-SQL在BIRD榜单夺冠方法
    Text-to-SQL技术升级-阿里云OpenSearch-SQL在BIRD榜单夺冠方法Text-to-SQL任务旨在将自然语言查询转换为结构化查询语言(SQL),从而使非专业用户能够便捷地访问和操作数据库。近期,阿里云的OpenSearch引擎凭借其一致性对齐技术,在当前极具影响力的Text-to-SQL任务榜单BIR......
  • EBS:OM Sales Order销售订单【Open Interface、Open API】
    21. OM Sales Order销售订单【Open Interface、Open API】21.1. 快速参考。参考点内容功能导航N: OM/Orders, Returns/Sales Order并发请求N: OM/View/Request/Order Import接口表oe_headers_iface_all/oe_lines_iface_all/oe_actions_iface_all/….APIoe_order_pub.pr......
  • 【Elasticsearch系列四】ELK Stack
    ......
  • Elasticsearch和向量数据库的快速入门
    在比较Elasticsearch和向量数据库之前,让我们简要解释它们是什么:什么是Elasticsearch?Elasticsearch是一个流行的开源搜索和分析引擎,建立在ApacheLucene之上。它专为全文搜索、分析和日志分析用例而设计。主要特点:文档导向的NoSQL数据库分布式和可扩展的架构实时搜索和分析无需......
  • MAST20018 – Discrete Mathematics and Operations Research
    MAST20018 – Discrete Mathematics and Operations ResearchAssignment 3Upload to Gradescope by 5pm Wed 18th September 2024Question 1In assignment 1, you considered the following project with 8 activities, labelled A to H:......
  • SuperClassAndInterface
    packagecom.shrimpking.t5;/***CreatedbyIntelliJIDEA.**@Author:Shrimpking*@create2024/9/1216:03*/publicinterfaceA{}packagecom.shrimpking.t5;/***CreatedbyIntelliJIDEA.**@Author:Shrimpking*@create2024/9/1216:03......
  • Taobao API interface: Taobao product details data interface
    InterfaceOverviewCommoninterface:taobao.item_get,usedtoobtainproductdetailsdata.Returninformation:Youcanobtainalotofinformationabouttheproduct,suchasproductname,price,sales,evaluation,storeinformation,etc.Specificallyincl......
  • Taobao API interface: Get Taobao product details data based on product ID
    TaobaoproductdetailsdataAPIinterfaceisasetofinterfacesprovidedbyTaobaoOpenPlatformforobtainingdetailedinformationofTaobaoproducts.Throughtheseinterfaces,developerscanintegrateTaobaoproductdataintheirownapplicationsorsy......
  • HarmonyOS开发之Search组件
    在HarmonyOS应用开发中,Search组件提供了丰富的自定义选项,允许开发者根据应用的需求定制搜索栏的外观和行为。本文将通过几个具体的场景来介绍如何使用Search组件的不同属性来自定义搜索栏。场景一:自定义搜索图标为了使搜索栏更加符合应用的设计风格,可以通过searchIcon属性来自......
  • AI基础 L8 Local Search I 局部搜索
    IterativeImprovementAlgorithms•Inmanyoptimizationproblems,thepathtoagoalisirrelevant—thegoalstateitselfisthesolution•Statespace=asetofgoalstates—findonethatsatisfiesconstraints(e.g.,notwoclassesatsametime)—......