当前位置:网站首页>亚马逊商品详情API接口-(item_get-获得AMAZON商品详情接口),亚马逊详情API接口
亚马逊商品详情API接口-(item_get-获得AMAZON商品详情接口),亚马逊详情API接口
2022-06-29 21:05:00 【wx_1597063760】
一、亚马逊商品详情API接口-(item_get-获得AMAZON商品详情接口),亚马逊详情API接口可以获取到商品价格,商品库存,商品销量,商品ID,商品图片,商品sku属性,sku详情,sku图片,商品图片,商家昵称,属性图片,商家发货地等数据,获取范围:全站包括.cn站和.com站,数据可适用于选品上架,数据分析,代购商城建站,erp系统商品数据选品,价格监控,品牌维权,商家搬货,店铺铺货,商家工具等业务,希望能够帮助到有需要的朋友,接口代码对接如下:
1.公共参数
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(必须以GET方式拼接在URL中,点击获取测试key和secret) |
| secret | String | 是 | 调用密钥 |
| api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
| cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
| result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
| lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
| version | String | 否 | API版本 |
2.请求参数
请求参数:num_iid=B016LO4UTA
参数说明:num_iid:AMAZON商品ID(非.cn的请在后加 -com)
3.请求示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python...)
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://vx19970108018/amazon/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=B016LO4UTA"
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)4.响应示例
{
"item": {
"detail_url": "https://www.amazon.cn/dp/B07DTH3N2X?th=1&psc=1",
"crumbs": {
"162093071": "徒步鞋、登山鞋",
"2029189051": "鞋靴",
"2112003051": "女鞋",
"2112026051": "运动户外鞋"
},
"title": "ECCO 爱步 陆地巡航女士徒步登山鞋",
"desc_short": "",
"brand": "",
"brandId": "",
"end_time": "",
"rootCatId": "2029189051",
"cid": "162093071",
"star": "4-5",
"item_imgs": [
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/418xJzTywkL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/41VYcMUD9rL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/41sk+AWwPQL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/31YQPU6QiUL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/31nydE7RKqL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/31uo7gHTPyL._AC_.jpg"
},
{
"url": "https://images-cn.ssl-images-amazon.cn/images/I/41lfvAIkzpL._AC_.jpg"
}
],
"nick": "ECCO 爱步",
"num": "99",
"num_iid": "B07DTH3N2X",
"pic_url": "//images-cn.ssl-images-amazon.cn/images/I/71bpc6YtWAL._AC_UX395_.jpg",
"currency_code": "CNY",
"price": "¥509.66",
"orginal_price": "¥509.66",
"location": "",
"item_weight": null,
"item_size": "",
"post_fee": "",
"express_fee": "",
"prop_imgs": {
"prop_img": [
{
"properties": "1:1",
"url": "https://images-cn.ssl-images-amazon.cn/images/I/419Q0VzJTRL._SS47_.jpg"
},
{
"properties": "1:2",
"url": "https://images-cn.ssl-images-amazon.cn/images/I/419Q0VzJTRL._SS47_.jpg"
},
{
"properties": "1:3",
"url": "https://images-cn.ssl-images-amazon.cn/images/I/41N9hlzVZYL._SS47_.jpg"
},
{
"properties": "1:0",
"url": "https://images-cn.ssl-images-amazon.cn/images/I/418xJzTywkL._SS47_.jpg"
}
]
},
"props_img": {
"1:1": "https://images-cn.ssl-images-amazon.cn/images/I/419Q0VzJTRL._SS47_.jpg",
"1:2": "https://images-cn.ssl-images-amazon.cn/images/I/419Q0VzJTRL._SS47_.jpg",
"1:3": "https://images-cn.ssl-images-amazon.cn/images/I/41N9hlzVZYL._SS47_.jpg",
"1:0": "https://images-cn.ssl-images-amazon.cn/images/I/418xJzTywkL._SS47_.jpg"
},
"props_name": "0:0:尺寸:3 UK;0:1:尺寸:3.5 UK;0:3:尺寸:5 UK;0:2:尺寸:4.5 UK;1:1:颜色:银灰色金属银 59105;1:2:颜色:银灰色银色金属色。;1:3:颜色:黑色 51052 黑色;1:0:颜色:黑色 51052",
"property_alias": "0:0:3 UK;0:1:3.5 UK;0:3:5 UK;0:2:4.5 UK;1:1:银灰色金属银 59105;1:2:银灰色银色金属色。;1:3:黑色 51052 黑色;1:0:黑色 51052",
"props_list": {
"0:0": "尺寸:3 UK",
"1:1": "颜色:银灰色金属银 59105",
"1:2": "颜色:银灰色银色金属色。",
"1:3": "颜色:黑色 51052 黑色",
"0:1": "尺寸:3.5 UK",
"0:3": "尺寸:5 UK",
"1:0": "颜色:黑色 51052",
"0:2": "尺寸:4.5 UK"
},
"seller_info": {
"nick": "ECCO 爱步",
"city": "",
"bail": "",
"level": "",
"rate": "",
"score": "",
"delivery_score": "",
"item_score": "",
"shop_type": "",
"user_num_id": "1",
"sid": "1",
"title": "ECCO 爱步",
"zhuy": "https://www.amazon.cn/",
"company_name": "",
"menu": []
},
"error": "",
"warning": "",
"shopinfo": {
"shop_name": ""
},
"shop_item": [],
"relate_items": [],
"skus": {
"sku": [
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:0;1:1",
"properties_name": "0:0:尺寸:3 UK;1:1:颜色:银灰色金属银 59105",
"quantity": 99,
"sku_id": "B07DTHC8DY",
"sku_url": "https://www.amazon.cn/dp/B07DTHC8DY?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:0;1:2",
"properties_name": "0:0:尺寸:3 UK;1:2:颜色:银灰色银色金属色。",
"quantity": 99,
"sku_id": "B07DTWDNM1",
"sku_url": "https://www.amazon.cn/dp/B07DTWDNM1?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:0;1:3",
"properties_name": "0:0:尺寸:3 UK;1:3:颜色:黑色 51052 黑色",
"quantity": 99,
"sku_id": "B07DTH3N2X",
"sku_url": "https://www.amazon.cn/dp/B07DTH3N2X?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:1;1:3",
"properties_name": "0:1:尺寸:3.5 UK;1:3:颜色:黑色 51052 黑色",
"quantity": 99,
"sku_id": "B07DTH3MVB",
"sku_url": "https://www.amazon.cn/dp/B07DTH3MVB?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:1;1:0",
"properties_name": "0:1:尺寸:3.5 UK;1:0:颜色:黑色 51052",
"quantity": 99,
"sku_id": "B07FG612H6",
"sku_url": "https://www.amazon.cn/dp/B07FG612H6?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:0;1:0",
"properties_name": "0:0:尺寸:3 UK;1:0:颜色:黑色 51052",
"quantity": 99,
"sku_id": "B07FG75VP2",
"sku_url": "https://www.amazon.cn/dp/B07FG75VP2?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:1;1:2",
"properties_name": "0:1:尺寸:3.5 UK;1:2:颜色:银灰色银色金属色。",
"quantity": 99,
"sku_id": "B07DTH9LXV",
"sku_url": "https://www.amazon.cn/dp/B07DTH9LXV?th=1&psc=1"
},
{
"price": "¥509.66",
"orginal_price": "¥509.66",
"properties": "0:1;1:1",
"properties_name": "0:1:尺寸:3.5 UK;1:1:颜色:银灰色金属银 59105",
"quantity": 99,
"sku_id": "B07DTWC33V",
"sku_url": "https://www.amazon.cn/dp/B07DTWC33V?th=1&psc=1"
}
]
},
"desc": "<div> <!-- show up to 2 reviews by default -->\n <p> <span>轻巧,灵活和多功能 , 这款鞋非常适合快速放置的户外冒险,并确保每一天都非常舒适。</span> </p> </div> <img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-3.62bbc44ade931&p=1778787223&k=i_key&t=1656472653\" style=\"display:none\" />",
"pinglun": [],
"format_check": "ok",
"sales": 0,
"desc_img": []
},
"error": "",
"secache": "7fcc348f5a950a4fbf69d04cc12ccf7e",
"secache_time": 1656472653,
"secache_date": "2022-06-29 11:17:33",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:51 max:10100 all[137=51+53+33];expires:2030-12-31",
"execution_time": "3.053",
"server_time": "Beijing/2022-06-29 11:17:33",
"client_ip": "106.6.35.151",
"call_args": {
"num_iid": "B07DTH3N2X"
},
"api_type": "amazon",
"translate_language": "zh-CN",
"translate_engine": "google_cn",
"server_memory": "4.28MB",
"request_id": "gw-3.62bbc44ade931",
"last_id": "1047408936"
}边栏推荐
- VHDL电话计费系统设计
- Detailed explanation of key points in implementing MES system in Enterprises
- MES系统究竟有何独特之处?
- Yolov6 training your own data record +yolov5 comparison test
- The reason why the log analysis tool of "operation and maintenance" is used more and more frequently
- Gstreamer应用开发实战指南(五)
- About Effect Size
- Win10 sets automatic dial-up networking task to realize automatic reconnection after startup and disconnection
- 知识蒸馏(Knowledge Distilling)学习笔记
- Detailed description of gaussdb (DWS) complex and diverse resource load management methods
猜你喜欢

如何评价科大讯飞AI翻译笔P20系列,值得买吗?

习近平在湖北武汉考察时强调 把科技的命脉牢牢掌握在自己手中 不断提升我国发展独立性自主性安全性

Detailed description of gaussdb (DWS) complex and diverse resource load management methods

At least 3 years for learning amplifier?

Chainsafe cross chain bridge deployment tutorial

STM32最小系统搭建(原理图)

Clock tree synthesis (CTS)

Gstreamer应用开发实战指南(五)

双目立体视觉摄像头的标定、矫正、世界坐标计算(opencv)

Stm32cubemx learning (6) external interrupt experiment
随机推荐
Design of VHDL telephone billing system
计算成像前沿进展
空间导电盘式滑环材料的选择
leetcode:724. Find the central subscript of the array
Rsync 的简单应用与配置
Enter the year and month to find the total number of days in the month
CORDIC based Signal Processor desgn
习近平在湖北武汉考察时强调 把科技的命脉牢牢掌握在自己手中 不断提升我国发展独立性自主性安全性
GoAhead 翻译—Active Server Pages
Goahead translation - Active Server Pages
Basic qualities of management personnel
"Xiaodeng" active directory password expiration notification function is available for operation and maintenance
[fishing artifact] code tool for lowering the seconds of UI Library -- form part (I) design
STL教程6-deque、stack、queue、list容器
A new Polaris has risen!
Analysis of the factors affecting the transmission signal of the conductive slip ring
[cloud native practice] kubesphere practice - Multi tenant system practice
炒股开户请问哪个券商佣金是最低最安全的
《强化学习周刊》第51期:PAC、ILQL、RRL&无模型强化学习集成于微电网络格控制:综述与启示
Win10 sets automatic dial-up networking task to realize automatic reconnection after startup and disconnection