question

clickimusprime avatar image
1 Like"
clickimusprime asked ·

StartTimeNewest sort hides items in Finding requests

Since the new system changes, items have been arriving in the API results up 20 minutes after they are submitted. This was first posted by @ubuyfirst in https://forums.developer.ebay.com/questions/8062/api-delays.html After some testing, I've determined that new items are being added to the API in a different order than they start. Some items are delayed, others are not. Delay can be up to 19 minutes. The website gets the items at the same time, so it's a pretty level playing field in that regard. But there's another issue that's not immediately obvious. The StartTimeNewest sort is not compatible with the new delivery system. The end result of this is that if you request items sorted by StartTimeNewest, you get items in start time order, but the results may vary from request to request. New items may be inserted on later pages in the paginated results. If you don't scan all the pages, you never see the newer items that are posted later. For example: If you request a top-level or busy category you might get items in this order on the first page of the request: (100/page, starttime and unique item, and relative position shown) 20150415-120000 Item A in position 43 20150415-120001 Item B in position 44 20150415-120001 Item C in position 45 20150415-120005 Item D in position 46 20150415-120010 Item E in position 47 When you make a second request a few minutes later, you'd expect that new items would appear at the top of the list and push these items further down the list. Like this: 20150415-120000 Item A in position 125 (page 2 of results) 20150415-120001 Item B in position 126 20150415-120001 Item C in position 127 20150415-120005 Item D in position 128 20150415-120010 Item E in position 129 But instead, what gets returned is something like this: 20150415-120000 Item A in position 125 (page 2 of results) 20150415-120001 Item B in position 126 20150415-120001 Item C in position 127 20150415-120002 Item X in position 128 *** 20150415-120003 Item Y in position 129 *** 20150415-120004 Item Z in position 130 *** 20150415-120005 Item D in position 131 20150415-120010 Item E in position 132 If you don't fetch and page thru at leat 20 minutes of listings, you will never see the X,Y,Z items. The delayed item can end up on any page. In cases where huge numbers of items are posted between requests, you may never see the items because they would appear on page 101 or higher and can't be accessed. I've asked eBay Dev to add a sort to the Finding API by the actual arrival time (when the items were published to the API). This would be consistent with the previous behavior of StartTimeNewest. Their response is that this would somehow conflict with the seller/item ranking system. Support from other API users would be helpful.
finding cassini delays starttime starttimenewest
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I just started working with the ebay API this week and was wondering if I was going insane -- The results differ wildly from one call to the next. I'm glad you posted this. Hopefully it's a bug and not working as intended.
0 Likes 0 · ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.