当前位置:网站首页>亚马逊商品详情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"
}边栏推荐
- MySQL JSON data types & functions
- Topic39——78. 子集
- "Xiaodeng" active directory batch user creation in operation and maintenance
- In depth good article | yolov5+deepsort multi-target tracking in-depth interpretation and testing (including source code)
- Shutter bottomnavigationbar toggle page hold
- [advanced ROS chapter] Lecture 4: duplicate names in ROS (nodes, topics and parameters)
- How do I audit Active Directory User account changes?
- 透过华为军团看科技之变(五):智慧园区
- 高校如何基于云原生构建面向未来的智慧校园?全栈云原生VS传统技术架构
- Alibaba cloud released the atlas of China's robot industry (2022), 122 Pages pdf
猜你喜欢

每周招聘|DBA数据工程师,年薪35+ ,梦起九州,星河灿烂!

Design of VHDL telephone billing system

The reason why the log analysis tool of "operation and maintenance" is used more and more frequently

Analysis of the factors affecting the transmission signal of the conductive slip ring

leetcode:238. Product of arrays other than itself

leetcode:724. Find the central subscript of the array

Logical structure and physical structure

导航 实验【微机原理】【实验】

如何从外表判断导电滑环的质量

Gstreamer应用开发实战指南(五)
随机推荐
String类的常用方法
【ROS进阶篇】第三讲 ROS文件系统与分布式通信
Verilog implements DDS waveform generator module, which can realize adjustable frequency and phase, three waveforms
THREEJS基础入门
In depth good article | yolov5+deepsort multi-target tracking in-depth interpretation and testing (including source code)
每周招聘|DBA数据工程师,年薪35+ ,梦起九州,星河灿烂!
What is unique about MES system?
Enter the year and month to find the total number of days in the month
leetcode:370. Interval addition
MySQL JSON data types & functions
LSF-bsub命令
leetcode:370. 区间加法
AI scene Storage Optimization: yunzhisheng supercomputing platform storage practice based on juicefs
C#_ Convert camera images to bitmap format and draw Crosshairs
《强化学习周刊》第51期:PAC、ILQL、RRL&无模型强化学习集成于微电网络格控制:综述与启示
一次 Keepalived 高可用的事故,让我重学了一遍它!
shell 实现Memcache缓存命中率监控脚本
[a must for reptiles - > scrapy framework from black iron to king] first chapter - detailed explanation of 10000 character blog posts (recommended Collection)
Basic qualities of management personnel
Storage principle of string