question

morleyt avatar image
0 Likes"
morleyt asked ·

How to filter search results by availability.

My search calls often return a number of items with no availability. Is there any way to filter by availability? For instance, the following search on the live site yields 75 results: https://www.ebay.com/sch/i.html?_fsrp=1&_nkw=moto+g5+plus&_dmd=2&rt=nc&LH_ItemCondition=1000&LH_BIN=1&LH_PrefLoc=1&LH_FS=1 However, when I make the following call, I get 101 results: https://api.ebay.com/buy/browse/v1/item_summary/search?q=moto+g5+plus&limit=50&category_ids=9355&filter=maxDeliveryCost%3A0%2CdeliveryCountry%3AUS%2CbuyingOptions%3A%7BFIXED_PRICE%7D%2Cconditions%3A%7BNEW%7D%2CitemLocationCountry%3AUS
searchbrowse apifiltersbrowseavailability
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.

1 Answer

· Write an Answer
helios825 avatar image
0 Likes"
helios825 answered ·
Admittedly, I haven't used the Browse API yet. But there are many of us using the old FInding API, and we have the reverse problem over there -- searches naturally exclude unavailable items (without any way to obtain access to them). So, you may want to consider using the Finding API for your needs, if you have a penchant for that natural exclusion.
· Share
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.

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.