querystringerforderlich
Search keyword for sold items (e.g. iphone 13 pro).
https://api.sandbase.ai/v1/api/ebay/sold-listingsRetrieve 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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword for sold items (e.g. iphone 13 pro). |
categoryId | string | No | Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories). |
condition | string | No | Item condition filter (e.g. used). One of: any, new, used. Default "any". |
endDate | string | No | 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 ha |
freeShipping | boolean | No | Not supported by the current sources: only false (no filter) is accepted; true is refused without charge. |
limit | integer | No | Maximum number of results to return (1-60, default 25). |
listingType | string | No | Restrict to a listing format; omit or use all for both (e.g. auction for auction sales only). One of: all, auction, buy_it_now. |
maxPrice | number | No | Optional maximum sold price in the site currency (e.g. 500). |
minPrice | number | No | Optional minimum sold price in the site currency (e.g. 200). |
page | integer | No | 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. Default 1. |
returnsAccepted | boolean | No | Not supported by the current sources: only false (no filter) is accepted; true is refused without charge. |
seller | string | No | Not supported by the current sources: a request that sets it is refused without charge. |
site | string | No | eBay country site to search. Sold-listing coverage is currently US only. One of: ebay.com. Default "ebay.com". |
sort | string | No | Result 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. |
startDate | string | No | Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01). |
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/ebay/sold-listings" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"site": "ebay.com",
"sort": "ended_recently",
"limit": 10,
"query": "iphone 13 pro",
"condition": "any"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
querystringerforderlichSearch keyword for sold items (e.g. iphone 13 pro).
pageinteger1-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.
Standard: 1
sitestringeBay country site to search. Sold-listing coverage is currently US only.
Standard: "ebay.com"
Mögliche Werte: ebay.com
sortstringResult sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first).
Mögliche Werte: ended_recently, price_low, price_high
limitintegerMaximum number of results to return (1-60, default 25).
Standard: 25
sellerstringNot supported by the current sources: a request that sets it is refused without charge.
endDatestringOnly 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.
maxPricenumberOptional maximum sold price in the site currency (e.g. 500).
minPricenumberOptional minimum sold price in the site currency (e.g. 200).
conditionstringItem condition filter (e.g. used).
Standard: "any"
Mögliche Werte: any, new, used
startDatestringOnly return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).
categoryIdstringOptional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).
listingTypestringRestrict to a listing format; omit or use all for both (e.g. auction for auction sales only).
Mögliche Werte: all, auction, buy_it_now
freeShippingbooleanNot supported by the current sources: only false (no filter) is accepted; true is refused without charge.
returnsAcceptedbooleanNot supported by the current sources: only false (no filter) is accepted; true is refused without charge.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
eBay Sold ListingsDiese API eBay | Ab $0.003 pro Aufruf | JSON |
eBay | $0.015 pro Aufruf | Asynchrones JSON |
eBay | $0.015 pro Aufruf | Asynchrones JSON |
Anleitungen:Best eBay API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/ebay/sold-listings mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Ab $0.003 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: query (string). Optional: page (integer), site (eines von ebay.com), sort (eines von ended_recently, price_low, price_high), limit (integer), seller (string) und endDate (string) und 8 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).
Nein. eBay Sold Listings läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für eBay API beantragen.