Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

eBay Sold Listings

Tài liệu API
https://api.sandbase.ai/v1/api/ebay/sold-listings

Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.

Giá
Từ $0.003USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 14 tùy chọn

Phòng thử nghiệm

Đầu vào
Search keyword for sold items (e.g. iphone 13 pro).
1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size. Tối thiểu: 1.
eBay country site to search. Sold-listing coverage is currently US only.
Result sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first).
160
Maximum number of results to return (1-60, default 25). Phạm vi: 1 đến 60.
Not supported by the current sources: a request that sets it is refused without charge.
Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false.
Optional maximum sold price in the site currency (e.g. 500). Tối thiểu: 0.
Optional minimum sold price in the site currency (e.g. 200). Tối thiểu: 0.
Item condition filter (e.g. used).
Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).
Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).
Restrict to a listing format; omit or use all for both (e.g. auction for auction sales only).
Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.
Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

eBay Sold Listings API

Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ebay/sold-listings", "sort": "ended_recently", "limit": 10, "query": "iphone 13 pro"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword for sold items (e.g. iphone 13 pro).
categoryIdstringNoOptional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).
conditionstringNoItem condition filter (e.g. used). One of: any, new, used. Default "any".
endDatestringNoOnly return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while ha
freeShippingbooleanNoNot supported by the current sources: only false (no filter) is accepted; true is refused without charge.
limitintegerNoMaximum number of results to return (1-60, default 25).
listingTypestringNoRestrict to a listing format; omit or use all for both (e.g. auction for auction sales only). One of: all, auction, buy_it_now.
maxPricenumberNoOptional maximum sold price in the site currency (e.g. 500).
minPricenumberNoOptional minimum sold price in the site currency (e.g. 200).
pageintegerNo1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size. Default 1.
returnsAcceptedbooleanNoNot supported by the current sources: only false (no filter) is accepted; true is refused without charge.
sellerstringNoNot supported by the current sources: a request that sets it is refused without charge.
sitestringNoeBay country site to search. Sold-listing coverage is currently US only. One of: ebay.com. Default "ebay.com".
sortstringNoResult sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first). One of: ended_recently, price_low, price_high.
startDatestringNoOnly return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).

Pricing

Billed at the actual cost of each call, about $0.003 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
eBayTừ $0.003 mỗi lần gọiJSON
eBay$0.015 mỗi lần gọiJSON bất đồng bộ
eBay$0.015 mỗi lần gọiJSON bất đồng bộ

Hướng dẫn:Best eBay API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API eBay Sold Listings?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/ebay/sold-listings 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.

API eBay Sold Listings có giá bao nhiêu?

Từ $0.003 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ý.

API eBay Sold Listings chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: page (integer), site (một trong số ebay.com), sort (một trong số ended_recently, price_low, price_high), limit (integer), seller (string) và endDate (string) và 8 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API eBay Sold Listings trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của eBay không?

Không. eBay Sold Listings 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.