Ebay API item_get - 获得EBAY商品详情

本文介绍了如何利用Ebay的API `item_get` 获取商品详细信息,包括商品的URL、状态、价格、退货政策等。示例展示了针对iPhone 7的详细商品描述,适用于开发者集成Ebay平台的数据获取。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ebay API item_get - 获得EBAY商品详情
在这里插入图片描述
Result Object:

{
“item”: {
“detail_url”: “https://www.ebay.com/itm/0-/113798681757”,
“condition”: “Seller refurbished”,
“watching”: “”,
“why2buy”: [
“100% 买家满意”,
“63% 的大幅折扣”,
“接受退货”
],
“crumbs”: {
“9355”: “手机和智能手机”,
“15032”: “手机及配件”
},
“title”: “苹iPhone 7加32gb 128gb 256gb Verizon GSMਰ38145;版AT&T T-Mobile”,
“desc_short”: “”,
“brand”: “”,
“brandId”: “”,
“rootCatId”: “15032”,
“cid”: “9355”,
“item_imgs”: [],
“nick”: “tekreplay”,
“num”: 99,
“num_iid”: “113798681757”,
“pic_url”: “”,
“price”: 274.97,
“orginal_price”: “”,
“type”: “”,
“seller_cids”: “”,
“input_pids”: “”,
“input_str”: “”,
“item_weight”: “”,
“valid_thru”: “”,
“delist_time”: “”,
“delivery”: “”,
“guarantee”: “”,
“returns”: “30 天内免费退货”,
“stuff_status”: “”,
“location”: “”,
“post_fee”: “”,
“express_fee”: “”,
“ems_fee”: “”,
“shipping_to”: " “,
“has_discount”: “”,
“freight_payer”: “”,
“has_invoice”: “”,
“has_warranty”: “”,
“has_showcase”: “”,
“increment”: “”,
“approve_status”: “”,
“postage_id”: “”,
“product_id”: “”,
“auction_point”: “”,
“item_img”: “”,
“prop_imgs”: {
“prop_img”: [
{
“properties”: “d41d8c:0”,
“url”: “”
},
{
“properties”: “d41d8c:1”,
“url”: “”
},
{
“properties”: “d41d8c:2”,
“url”: “”
},
{
“properties”: “d41d8c:3”,
“url”: “”
},
{
“properties”: “d41d8c:4”,
“url”: “”
},
{
“properties”: “d41d8c:5”,
“url”: “”
},
{
“properties”: “d41d8c:6”,
“url”: “”
},
{
“properties”: “d41d8c:7”,
“url”: “”
},
{
“properties”: “d41d8c:8”,
“url”: “”
}
]
},
“props_img”: {
“d41d8c:0”: “”,
“d41d8c:1”: “”,
“d41d8c:2”: “”,
“d41d8c:3”: “”,
“d41d8c:4”: “”,
“d41d8c:5”: “”,
“d41d8c:6”: “”,
“d41d8c:7”: “”,
“d41d8c:8”: “”
},
“sku”: “”,
“video”: [],
“outer_id”: “”,
“is_virtual”: “”,
“sample_id”: “”,
“is_promotion”: “”,
“props_name”: “d41d8c:0::256GB[缺];d41d8c:1::128GB[缺];d41d8c:2::32GB;d41d8c:3::黑色[黑];d41d8c:4::哑光黑色;d41d8c:5::黄金;d41d8c:6::玫瑰金;d41d8c:7::红色的;d41d8c:8::银”,
“property_alias”: “d41d8c:0:256GB[缺货];d41d8c:1:128GB[缺货];d41d8c:2:32GB;d41d8c:3:Jet Black[缺货];d41d8c:4:Matte Black;d41d8c:5:Gold[缺货];d41d8c:6:Rose Gold[缺货];d41d8c:7:Red[缺货];d41d8c:8:Silver”,
“seller_id”: “”,
“shop_id”: “”,
“props_list”: {
“d41d8c:0”: “:256GB[缺货]”,
“d41d8c:1”: “:128GB[缺货]”,
“d41d8c:2”: “:32GB”,
“d41d8c:3”: “:Jet Black[缺货]”,
“d41d8c:4”: “:Matte Black”,
“d41d8c:5”: “:Gold[缺货]”,
“d41d8c:6”: “:Rose Gold[缺货]”,
“d41d8c:7”: “:Red[缺货]”,
“d41d8c:8”: “:Silver”
},
“seller_info”: {
“nick”: “tekreplay”,
“city”: “”,
“bail”: “”,
“level”: “”,
“rate”: “”,
“score”: “”,
“delivery_score”: “”,
“item_score”: “”,
“shop_type”: “”,
“user_num_id”: “”,
“sid”: “”,
“title”: “”,
“zhuy”: “https://www.ebay.com/usr/tekreplay”,
“company_name”: “”,
“menu”: []
},
“tmall”: “”,
“error”: “”,
“warning”: “”,
“url_log”: “”,
“shopinfo”: {
“shop_name”: “”
},
“promo_type”: “”,
“shop_item”: [],
“relate_items”: [],
“skus”: {
“sku”: []
},
“props”: [
{
“name”: “卖家对易趣卖家或未经制造商批准的第三方恢复正常工作的物品进行翻新。这意味着该项目已被安装、清洁和维修到完全正常工作状态,并处于良好状态。此商品可能是原包装,也可能不是原包装。详情见卖方清单。查看全部物品状况定义- 在新窗口或标签中打开”,
“value”: ““这款iPhone已经通过我们业界领先的移动诊断软件的认证,可以100%完全正常工作。它处于良好的外观状态,在屏幕上显示正常使用信号,侧面和后壳上有划痕和/或划痕。不包括原包装。该手机与Verizon和GSM carrie(如AT&T、T-Mobile等)完全兼容。它不会在Sprint中激活。不包括SIM卡;”
}
],
“desc”: “\r\n\r\n\t\r\n\t\r\n\teBay\r\n\t<table align=“center” style=“border-spacing: 0px; width: 100%;”>\n\t\n\t\t\n\t\t\t<div id=“ds_div”>\n\t\t\t\t\t\t\t\n<html class=“gr__br_cwa_sellercloud_com”>\n \n \n \n \n <meta name=“viewport” content=“width=device-width, initial-scale=1” />\n <link href=“https://ninjashosting.com/installs/t/tekreplay/ebay/master-css.css” rel=“stylesheet” type=“text/css” />\n <link href=“https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css” rel=“stylesheet” type=“text/css” />\n <link href=“https://ninjashosting.com/plugins/ebay_store1/user/getcss?client=tekreplay” rel=“stylesheet” type=“text/css” />\n \n <body data-gr-c-s-loaded=“true”>\n <div id=“nt-template” class=“nt-bg nt-2col”>\n <div class=“nt-bg-02 nt-shao”>\n \n <div id=“nt-head-wrap-01”>\n <div id=“nt-head-01” class=“nt-content-width”>\n \n \n <div id=“nt-head-wrap-02”>\n <div id=“nt-head-02” class=“nt-content-width”>\n <div id=“nt-head-logo” class=“nt-proh nt-prol”><a target=”_blank” href=“https://www.ebay.com/str/TekReplay”><img src=“https://ninjashosting.com/installs/t/tekreplay/ebay/images/nt-head-logo.png” alt=“TekReplay eBay Store” />\n <div id=“nt-head-pror-02” class=“nt-proh nt-pror”>Making the Tek Difference\n <div id=“nt-head-menu”>\n <a target="_blank" href=“https://www.ebay.com/str/TekReplay”><em class=“fa fa-home”>Store Home\n <a target="_blank" href=“https://www.ebay.com/str/TekReplay?rt=nc&_oac=1”><em class=“fa fa-search”>View Our Listings\n <a target="_blank" href=“https://my.ebay.com/ws/eBayISAPI.dll?AcceptSavedSeller&sellerid=tekreplay”><em class=“fa fa-bookmark”>Bookmark Us\n <a target="_blank" href=“https://contact.ebay.com/ws/eBayISAPI.dll?ContactUserNextGen&recipient=tekreplay”><em class=“fa fa-envelope”>Contact Us\n \n <div id=“nt-head-mnav”>\n <div class=“nt-mbox”><input type=“checkbox” id=“nt-mbont-01” /><label for=“nt-mbont-01”>MENU\n <div class=“nt-mnav”>\n

Store Categories
\n <div id=“nt-head-cats”>\n <ul class=“lev1”>\n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Macbook-Pro/_i.html?_storecat=2424204010”>Apple Macbook Pro
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Macbook-Air/_i.html?_storecat=2429097010”>Apple Macbook Air
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPads/_i.html?_storecat=2305499010”>Apple iPads
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPhone/_i.html?_storecat=3039187010”>Apple iPhone
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPods/_i.html?_storecat=2305497010”>Apple iPods
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Watch/_i.html?_storecat=17242408010”>Apple Watch
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Samsung-Phones/_i.html?_storecat=15551971010”>Samsung Phones
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Google-Phones/_i.html?_storecat=25896518010”>Google Phones
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Other/_i.html?_storecat=1”>Other Items
  • \n \n \n
    Store Support
    \n
    • \n
    • <a target="_blank" href=“https://www.ebay.com/str/TekReplay”>Store Home
    • \n
    • <a target="_blank" href=“https://www.ebay.com/str/TekReplay?rt=nc&_oac=1”>View Our Listings
    • \n
    • <a target="_blank" href=“https://my.ebay.com/ws/eBayISAPI.dll?AcceptSavedSeller&sellerid=tekreplay”>Bookmark Us
    • \n
    • <a target="_blank" href=“https://contact.ebay.com/ws/eBayISAPI.dll?ContactUserNextGen&recipient=tekreplay”>Contact Us
    • \n
    \n \n \n \n \n \n \n \n <div id=“nt-main-babg”>\n <div class=“nt-content-width”>\n <a target="_blank" href=“https://www.ebay.com/str/TekReplay”><img src=“https://ninjashosting.com/installs/t/tekreplay/ebay/images/nt-main-bann.jpg” id=“nt-main-bann” class=“nt-prom nt-nomo” alt=“Shop Now” />\n <a target="_blank" href=“https://www.ebay.com/str/TekReplay”><img src=“https://ninjashosting.com/installs/t/tekreplay/ebay/images/nt-main-bann-mobi.jpg” id=“nt-main-bann” class=“nt-pmob” alt=“Shop Now” />\n \n \n \n <div class=“nt-content”>\n \n <div id=“nt-left”>\n <h4 id=“nt-side-tbar-cats” class=“nt-tbar”>\n <div class=“nt-tins”>Category\n \n <div id=“nt-side-cats” class=“nt-tbox”>\n <div class=“nt-tins”>\n <ul class=“lev1”>\n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Macbook-Pro/_i.html?_storecat=2424204010”>Apple Macbook Pro
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Macbook-Air/_i.html?_storecat=2429097010”>Apple Macbook Air
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPads/_i.html?_storecat=2305499010”>Apple iPads
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPhone/_i.html?_storecat=3039187010”>Apple iPhone
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-iPods/_i.html?_storecat=2305497010”>Apple iPods
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Apple-Watch/_i.html?_storecat=17242408010”>Apple Watch
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Samsung-Phones/_i.html?_storecat=15551971010”>Samsung Phones
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Google-Phones/_i.html?_storecat=25896518010”>Google Phones
  • \n
  • <a target="_blank" href=“https://www.ebay.com/str/TekReplay/Other/_i.html?_storecat=1”>Other Items
  • \n \n \n \n <div id=“nt-side-news” class=“nt-prom nt-prot nt-alt”>\n <div class=“nt-tins”>\n <a target="_blank" href=“https://my.ebay.com/ws/eBayISAPI.dll?AcceptSavedSeller&linkname=includenewsletter&sellerid=tekreplay”>\n <img class=“nt-icon” src=“https://ninjashosting.com/installs/t/tekreplay/ebay/images/nt-icon-news.png” alt=“Sign Up for Our Newsletter” />\n Join OurNewsletter\n \n \n \n <div id=“nt-side-ship” class=“nt-prom nt-prot”>\n <div class=“nt-tins”>\n <img class=“nt-icon” src=“https://ninjashosting.com/installs/t/tekreplay/ebay/images/nt-icon-ship.png” alt=“Free Shipping” />\n FreeShipping\n \n \n <div id=“nt-side-guar” class=“nt-prom nt-prot”>\n <div class=“nt-tins”>\n <img class=“nt-icon” src=“https://ninjashosting.co
### eBay API官方文档与使用指南 eBay 提供了丰富的API资源来帮助开发者集成其平台功能到第三方应用中。以下是关于如何查找和使用 eBay API 的详细说明。 #### 1. 官方文档地址 eBay API 的官方文档位于以下链接,提供了全面的开发指导和技术细节: - **eBay Developer Documentation**: [https://developer.ebay.com](https://developer.ebay.com)[^1] 此网站包含了所有 eBay API 的技术规范、端点描述以及认证流程等内容。 #### 2. 认证机制概述 为了调用 eBay API,必须先完成身份验证过程。通常采用 OAuth 2.0 授权码授予流 (Authorization Code Grant Flow),通过该方法可以获取访问令牌 (Access Token) 和刷新令牌 (Refresh Token)。具体所需权限范围取决于所使用的 API 功能模块[^1]: - `sell.inventory`: 创建或管理库存记录。 - `sell.inventory.readonly`: 只读方式查询库存信息。 - `commerce.catalog.readonly`: 获取产品目录详情。 - 更多范围详见官方文档中的“OAuth Scopes”部分。 #### 3. 示例代码片段 下面是一个简单的 Python 脚本示例,展示如何利用 Requests 库向 eBay 发送 GET 请求并解析返回的数据结构[^2]: ```python import requests url = "https://api-gw.xxx.cn/ebay/item_search/" params = { 'key': '<您的apiKey>', 'secret': '<您的apiSecret>', 'q': 'shoe' } headers = {"Accept-Encoding": "gzip"} response = requests.get(url, params=params, headers=headers) data = response.json() print(data) ``` 请注意,在实际部署前需替换 `<您的apiKey>` 和 `<您的apiSecret>` 占位符为真实的凭证值。 #### 4. 常见问题解答 如果遇到任何困难或者不确定的地方,请查阅 eBay 开发者社区论坛寻求支持,也可以参考其他用户的提问与解决方案。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值