Filter Auction Only + End Time of Auction
I am trying to display eBay ads on a website, using the Browse API.
Ideally, I would like to select: keywords, number of items returned, listing type, and category and would like to order it by time
keywords: ie. 'samsung galaxy'
items returned: 35
listing type: auction
category: ie. 34234
time: ending soonest
I am successfully able to retrieve listings that have keywords, a category, and a quantity:
This only ever shows me "fixed price" (ie. Buy It Now) items, or "best offer" (ie. Make offer) items. It never shows me auction items. Also, how can I order these by ending soonest. Ideally, I would like the query to return "time remaining" as well (ie. Auction Ends in 2 hrs and 23 minutes).
I've been searching and searching, without any luck.
denkmann
·1 year agohttps://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search
Note: Only listings where FIXED_PRICE (Buy It Now) is a buying option are returned by default. To retrieve listings that do not have FIXED_PRICE as a buying option, the buyingOptions filter can be used to retrieve those listings.
Specifies the criteria on which returned items are to be sorted.
Items can be sorted in ascending order based on:
...
Items can be sorted by date based on:
Returned items are sorted based on their listing date.
Newly listed items are shown first.
Returned items are sorted based on the date/time on which their listing is scheduled to end.
Items that are closest to their scheduled ending date/time are shown first.