Skip to main content
Published: --Updated: October 23 2023, 4:52:48 AM

Question

How can we search the items using keyword, category, price, condition, etc?

Answer

'search' method of Browse API supports filtering the search result by the value of one or multiple fields, such as listing format, item condition, price range, location, and more. 

We can use more than one filter to control the items returned in the response using the 'search' method.

For Example: Return Items Based on Price and Condition

GET  https://api.ebay.com/buy/browse/v1/item_summary/search?q=drone&limit=5&filter=price:[300..800],priceCurrency:USD,conditions:{NEW}

NOTE: Query parameter values need to be URL encoded.

           Not all of these filters are supported by all Buy API methods.

           The API/Method column shows you which Buy API methods support that filter.


Additional Resources

https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search

https://developer.ebay.com/api-docs/static/rest-request-components.html#parameters

https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#h2-samples

https://developer.ebay.com/api-docs/buy/static/ref-buy-browse-filters.html

Attachments
How well did this answer your question?

Got thoughts? Click the feedback button – your insights help us improve!