Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

eBay Product

API 文档
https://api.sandbase.ai/v1/api/ebay/product

Get an eBay product by product ID: title, price, condition, quantity sold, item specifics, media, shipping, returns and seller details.

价格
$0.015美元 / 次调用
方法
POST
响应
异步 JSON
参数
1 个必填 · 5 个可选

Playground

输入
An ID of the product to get results for. Normally, it can be found in product link from search results: `https://www.ebay.com/itm/{product_id}`
The language to use for the search. Normally, it defaults to `en-US`, but some locales use localized interface (Japan, Argentina etc.) so override might be helpful. This parameter available only for `United States` eBay domain and only when `locale` is set.
From where you want the search to originate from. Head to the eBay locales for a full list of supported locales.
The eBay domain to use. It defaults to `ebay.com`. Head to the eBay domains for a full list of supported domains.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
The shipping country to use for shipping data calculation. Head to the eBay shipping countries for a full list of supported countries.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

eBay Product

Returns the details of one eBay listing: title, price, condition, quantity sold, item specifics, images, shipping, returns and variations. It needs a product_id, the number in an eBay item link.

Use cases

  • Track the Buy It Now price and discount of a listing over time.
  • Check how many units a listing has sold and how many people watch it.
  • Pull item specifics, images and variation options to rebuild a listing in another catalog.
  • Compare shipping cost, ship-from location and return terms across sellers.

Request

curl -X POST "https://api.sandbase.ai/v1/api/ebay/product" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "326405504746"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
product_id['string', 'number', 'boolean']YesAn ID of the product to get results for. Normally, it can be found in product link from search results: https://www.ebay.com/itm/{product_id}
ebay_domain['string', 'number', 'boolean']NoThe eBay domain to use. It defaults to ebay.com. Head to the eBay domains for a full list of supported domains.
json_restrictor['string', 'number', 'boolean']NoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
lang['string', 'number', 'boolean']NoThe language to use for the search. Normally, it defaults to en-US, but some locales use localized interface (Japan, Argentina etc.) so override might be helpful. This parameter available only for United States eBay
locale['string', 'number', 'boolean']NoFrom where you want the search to originate from. Head to the eBay locales for a full list of supported locales.
shipping_country['string', 'number', 'boolean']NoThe shipping country to use for shipping data calculation. Head to the eBay shipping countries for a full list of supported countries.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "product_results": {
    "additional_services": [
      {
        "id": "909078495197-0",
        "price": {
          "amount": 54.99,
          "currency": "USD"
        },
        "snippets": [
          {
            "text": "Add peace of mind with a protection plan"
          }
        ],
        "title": "1-year protection plan",
        "type": "warranty"
      }
    ],
    "banner_status": "In 135 carts",
    "buy": {
      "buy_it_now": {
        "additional_info": [
          {
            "text": "Save US $300.00 (33% off)"
          }
        ],
        "price": {
          "amount": 599.99,
          "currency": "USD"
        }
      },
      "options": [
        "buy_it_now"
      ]
    },
    "categories": [
      {
        "link": "https://www.ebay.com/b/Electronics/bn_7000259124",
        "title": "Electronics"
      }
    ],
    "condition": "Used",
    "full_description_link": "https://itm.ebaydesc.com/itmdesc/326405504746?t=1773602404000&category=9355&sell…",
    "media": [
      {
        "image": [
          {
            "link": "https://i.ebayimg.com/images/g/15UAAeSwhA5pjPL6/s-l140.jpg",
            "size": {
              "height": 140,
              "width": 140
            }
          }
        ],
        "type": "image"
      }
    ],
    "payment_methods": {
      "financing": [
        {
          "snippet_groups": [
            [
              {
                "text": "Select PayPal Credit at checkout to have the option to pay over time."
              }
            ]
          ],
          "title": "Paypal Credit"
        }
      ],
      "payments": [
        {
          "title": "PayPal"
        }
      ]
    },
    "product_id": "326405504746",
    "product_link": "http://www.ebay.com/itm/326405504746",
    "quantity": {
      "availability_signal": "Last one",
      "available_per_buyer": {
        "max": 2,
        "min": 1
      },
      "sold": 60
    },
    "returns": [
      [
        {
          "snippets": [
            {
              "text": "No returns, but backed by"
            }
          ],
          "title": "Returns"
        }
      ]
    ]
  },
  "related_products": [
    {
      "image_link": "https://i.ebayimg.com/thumbs/images/g/ZdkAAeSwr9Jqvbb5/s-l500.jpg",
      "price": {
        "amount": 635.97,
        "currency": "USD"
      },
      "product_id": "298722439938",
      "product_link": "https://www.ebay.com/itm/298722439938"
    }
  ],
  "search_metadata": {
    "cached": false,
    "created_at": "2026-11-03 07:33:08 UTC",
    "ebay_product_url": "https://www.ebay.com/itm/326405504746",
    "id": "6ae98e342070378e07b84f3b",
    "processed_at": "2026-11-03 07:33:08 UTC",
    "status": "Success",
    "total_time_taken": 19.01
  },
  "search_parameters": {
    "ebay_domain": "ebay.com",
    "engine": "ebay_product",
    "product_id": "326405504746"
  },
  "seller_results": {
    "bio": "Welcome to The Coco Store, your ultimate destination for entertainment and fando…",
    "joined_at": "Joined Jan 2008",
    "logo_link": "https://i.ebayimg.com/images/g/LIkAAOSweKdhLD7o/s-l140.jpg",
    "name": "The Coco Store",
    "popular_categories": {
      "list": [
        {
          "category_id": "24229432011",
          "link": "https://www.ebay.com/str/cocosmartphones/iPhone-5S-SE/_i.html?store_cat=24229432…",
          "title": "iPhone 5S/SE"
        }
      ],
      "see_all_link": "https://www.ebay.com/sch/i.html?_dkr=1&iconV2Request=true&_blrs=recall_filtering…"
    },
    "positive_feedback": 99.8,
    "profile_link": "https://www.ebay.com/str/cocosmartphones",
    "rating": 42312,
    "serpapi_link": {
      "endpoint": "/ebay/seller",
      "queryParams": {
        "ebay_domain": "ebay.com",
        "seller_id": "cocosmartphones",
        "type": "store"
      }
    },
    "sold_count": 131000,
    "type": "store",
    "username": "cocosmartphones"
  }
}

Response fields

FieldMeaning
product_results.title / product_results.conditionListing title and item condition, such as Used.
product_results.buy.buy_it_now.price.amount / product_results.buy.buy_it_now.price.currencyBuy It Now price and its currency code.
product_results.buy.buy_it_now.additional_info[].textDiscount text shown next to the price, such as the amount saved and percent off.
product_results.quantity.sold / product_results.quantity.availability_signalNumber of units sold and the stock message shown on the page, such as Last one.
product_results.watch_count / product_results.banner_statusNumber of watchers and the banner text shown on the listing, such as how many carts hold the item.
product_results.specifications.groups[].sections[].fields[]Item specifics as title, type and value rows, such as Processor.
product_results.shipping.options[]Shipping choices with via (service name), price and each_additional_price.
product_results.shipping.from / product_results.shipping.statusWhere the item ships from and whether shipping is available.
product_results.variations.menus[] / product_results.variations.combinations[]Menus list the choices, such as storage and color. Combinations give a variation_id, price and stock state for each choice set via menu_option_ids.
related_products[]Other listings with product_id, price and product_link. Some also have title and condition.

Notes

  • Take product_id from a listing link in the form https://www.ebay.com/itm/{product_id}. Use eBay Search to find listings first.
  • Set shipping_country to calculate shipping data for another country. Set ebay_domain to use a different eBay site.
  • Use json_restrictor to return only the fields you need and shrink the payload.
  • Prices are objects with amount and currency. Each variation has its own variation_id.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
eBay$0.015 每次调用异步 JSON
eBay$0.015 每次调用异步 JSON
eBay每次调用从 $0.003 起JSON

指南:Best eBay API in 2026: Pricing Compared

问题

常见问题

如何使用 eBay Product API?

向 https://api.sandbase.ai/v1/api/ebay/product 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

eBay Product API 的价格是多少?

每次调用 $0.015,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

eBay Product API 接受哪些参数?

必填:product_id (string | number | boolean)。 可选:lang (string | number | boolean), locale (string | number | boolean), ebay_domain (string | number | boolean), json_restrictor (string | number | boolean) 和 shipping_country (string | number | boolean)。 Parameters 表和本页的 Playground 列出了每个字段。

eBay Product API 返回什么?

JSON 结果。此端点异步运行,因此响应会告诉您如何获取已完成的结果。 本页的 README 包含一个示例响应。

我需要 eBay 开发者账户或 API key 吗?

不需要。eBay Product 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 eBay API 访问权限。