cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Negative keywords in browse API

Is there a way to have a search for keywords with negative keywords set as well. I have many searches that contain a keyword I do not want to have, but cannot work out how to do this. (-) does not seem to work.

Message 1 of 2
latest reply
1 REPLY 1

Negative keywords in browse API

I don't see any discussion of negative keywords in the Browse API

 

On the other hand, the traditional Finding API allows negative keywords in either the Keyword call or the Advanced call:

https://developer.ebay.com/Devzone/finding/CallRef/findItemsByKeywords.html

https://developer.ebay.com/Devzone/finding/CallRef/findItemsAdvanced.html

 

To find an Acme brand widget or gadget that is not small and not blue, I would send a keyword string like this, after URL encoding the string:

acme (widget,gadget) -(small,blue)

 

Please be aware that "Best Match" through the API will vary from a site search because an API call doesn't have your browsing history. I'll often request a sort, like newly listed or highest price, to avoid the default best match.

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 2
latest reply