全部
常见问题
产品动态
精选推荐

Taobao API | Tmall API(Taobao API interface application guide)

管理 管理 编辑 删除

To use Taobao product link to get product details data interface, you can follow the steps below:

Get the product link: First, you need to get the link of the product. You can get the product link from the e -commerce platforms such as Taobao and Tmall.

Send HTTP request: Use the HTTP request library in the developer tool or programming language, send GET requests to the Taobao API server, and pass the product link and necessary parameters, such as the API key.

Processing response data: The server will return to the JSON format response data, including product details information. You can use the programming language you chose to analyze JSON data and extract the product information you need.

taobao.item_get-Get Taobao product details Data interface code as follows:

1. Request method: HTTP POST GET (Add WeChat: Taobaoapi2014)

2. Click thelinkaddress to obtain the API test key and secret

3. Request Example

#coding:utf-8

"""

Compatible for python2.x and python3.x

requirement: pip install requests

"""

from __future__ import print_function

import requests

#Request example url. The default request parameters have been URL encoded.

url = "https://api-gw.xxxxx.cn/taobao/item_get/?key=<your own apiKey>&secret=<your own apiSecret>&num_iid=652874751412&is_promotion=1"

headers = {

   "Accept-Encoding": "gzip",

   "Connection": "close"

}

if __name__ == "__main__":

   r = requests.get(url, headers=headers)

   json_obj = r.json()

   print(json_obj)


4. Response example


{

   "item": {

     "num_iid": "520813250866",

     "title": "Three-blade wooden folding knife that passes security inspection, creative mini keychain, key knife, saber, portable multi-functional knife, free shipping",

     "desc_short": "",

     "price": 25.8,

     "total_price": 0,

     "suggestive_price": 0,

     "orginal_price": "25.80",

     "nick": "Happy Shopping Inn",

     "num": "832",

     "min_num": 0,

     "detail_url": "http://item.taobao.com/item.htm?id=520813250866",

     "pic_url": "//img.alicdn.com/imgextra/i4/2596264565/TB2p30elFXXXXXQXpXXXXXXXXXX_!!2596264565.jpg",

     "brand": "三edge木",

     "brandId": "4036703",

     "rootCatId": "50013886",

     "cid": "50014822",

     "favcount": "4824",

     "fanscount": "1469",

     "crumbs": [],

     "created_time": "",

     "modified_time": "",

     "delist_time": "",

     "desc": "<p style=\"text-align:center;\"><span style=\"color:#ff0000;\"><span style=\"font-size:24.0px;\"> <strong>All products in the store support engraving. If you need engraving, just contact customer service before taking the photo.</strong></span></span></p> <p style=\"text-align:center; \"><span style=\"font-size:18.0px;\"><strong>The hot summer is coming, so bring a portable folding knife with you, <span style=\"color:#ff0000;\"> With bottle opener function</span>, you don’t have to worry about drinking. (The key knife does not have a bottle opener function)</strong></span><

.....


The use of Taobao product details API interface is as follows:

Product information display: You can obtain detailed information of the product, such as the product title, price, inventory, sales, evaluation and other data, display product information on your own website or application, and provide users for browsing and purchasing.

Product recommendation: Provide personalized product recommendations based on the user's browsing behavior and the history of purchasing.

Data analysis and optimization: Get a large amount of product data, such as sales, collection, evaluation, etc. Analysis through these data, understand the sales of goods and user preferences, and then optimize their own product strategies and marketing solutions.

Inventory management: Get the inventory information of the product and update the inventory in real time to help merchants arrange inventory reasonably.

Order Management: Send the detailed information of the order, including order numbers, product information, payment status, etc., helping merchants handle orders in time.

Purchasing system mall and mall system data, search for purchasing systems or mall systems according to the product link or keyword search, which is convenient for overseas users to purchase Chinese Taobao products.


请登录后查看

A 各大电商平台数据接口-万邦Andy 最后编辑于2023-10-27 18:31:02

快捷回复
回复({{post_count}}) {{!is_user ? '我的回复' :'全部回复'}}
回复从新到旧

{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}

作者 管理员 企业

{{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest==1? '取消推荐': '推荐'}}
{{item.floor}}#
{{item.user_info.title}}
附件

{{itemf.name}}

{{item.created_at}}  {{item.ip_address}}
{{item.like_count}}
{{item.showReply ? '取消回复' : '回复'}}
删除
回复
回复

{{itemc.user_info.nickname}}

{{itemc.user_name}}

作者 管理员 企业

回复 {{itemc.comment_user_info.nickname}}

附件

{{itemf.name}}

{{itemc.created_at}}   {{itemc.ip_address}}
{{itemc.like_count}}
{{itemc.showReply ? '取消回复' : '回复'}}
删除
回复
回复
查看更多
回复
回复
1240
{{like_count}}
{{collect_count}}
添加回复 ({{post_count}})

相关推荐

A 各大电商平台数据接口-万邦Andy 作者
提供淘宝天猫京东拼多多抖音微店1688阿里巴巴亚马逊速卖通lazada虾皮等全球知名接口采集技术

回答

11

发布

375

经验

8570

快速安全登录

使用微信扫码登录
{{item.label}} {{item.label}} {{item.label}} 板块推荐 常见问题 产品动态 精选推荐 首页头条 首页动态 首页推荐
加精
取 消 确 定
回复
回复
问题:
问题自动获取的帖子内容,不准确时需要手动修改. [获取答案]
答案:
提交
bug 需求 取 消 确 定

微信登录/注册

切换手机号登录

{{ bind_phone ? '绑定手机' : '手机登录'}}

{{codeText}}
切换微信登录/注册
暂不绑定
CRMEB客服

CRMEB咨询热线 咨询热线

400-8888-794

微信扫码咨询

CRMEB开源商城下载 开源下载 CRMEB官方论坛 帮助文档
返回顶部 返回顶部
CRMEB客服