product_idstring | number | booleanbắt buộc
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}`
https://api.sandbase.ai/v1/api/ebay/productGet an eBay product by product ID: title, price, condition, quantity sold, item specifics, media, shipping, returns and seller details.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | ['string', 'number', 'boolean'] | Yes | 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} |
ebay_domain | ['string', 'number', 'boolean'] | No | The 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'] | No | The 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'] | No | 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 |
locale | ['string', 'number', 'boolean'] | No | From 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'] | No | The shipping country to use for shipping data calculation. Head to the eBay shipping countries for a full list of supported countries. |
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"
}
}
| Field | Meaning |
|---|---|
product_results.title / product_results.condition | Listing title and item condition, such as Used. |
product_results.buy.buy_it_now.price.amount / product_results.buy.buy_it_now.price.currency | Buy It Now price and its currency code. |
product_results.buy.buy_it_now.additional_info[].text | Discount text shown next to the price, such as the amount saved and percent off. |
product_results.quantity.sold / product_results.quantity.availability_signal | Number of units sold and the stock message shown on the page, such as Last one. |
product_results.watch_count / product_results.banner_status | Number 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.status | Where 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. |
product_id from a listing link in the form https://www.ebay.com/itm/{product_id}. Use eBay Search to find listings first.shipping_country to calculate shipping data for another country. Set ebay_domain to use a different eBay site.json_restrictor to return only the fields you need and shrink the payload.amount and currency. Each variation has its own variation_id.$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
product_idstring | number | booleanbắt buộcAn 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}`
langstring | number | booleanThe 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.
localestring | number | booleanFrom where you want the search to originate from. Head to the eBay locales for a full list of supported locales.
ebay_domainstring | number | booleanThe eBay domain to use. It defaults to `ebay.com`. Head to the eBay domains for a full list of supported domains.
json_restrictorstring | number | booleanThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
shipping_countrystring | number | booleanThe shipping country to use for shipping data calculation. Head to the eBay shipping countries for a full list of supported countries.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
eBay ProductAPI này eBay | $0.015 mỗi lần gọi | JSON bất đồng bộ |
eBay | $0.015 mỗi lần gọi | JSON bất đồng bộ |
eBay | Từ $0.003 mỗi lần gọi | JSON |
Hướng dẫn:Best eBay API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/ebay/product với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: product_id (string | number | boolean). Tùy chọn: lang (string | number | boolean), locale (string | number | boolean), ebay_domain (string | number | boolean), json_restrictor (string | number | boolean) và shipping_country (string | number | boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.
Không. eBay Product chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của eBay.