Skip to main content
Published: November 08 2007, 11:47:00 PMUpdated: November 28 2020, 4:02:34 PM

 

The search calls in the Finding API allow you to perform proximity searches.

Supply a postal code in the buyerPostalCode field and specify the maximum distance to search for items in the item filter MaxDistance field. eBay returns only those items that are found within the specified distance from the supplied postal code. The distance will be calculated in the units that are local to the specified postal code (kilometers or miles).This type of search is called a "proximity" search.

Here is a sample -


 http://svcs.ebay.com/services/search/FindingService/v1?
   OPERATION-NAME=findItemsByKeywords&
   SERVICE-VERSION=1.9.0&
   GLOBAL-ID=EBAY-US&
   SECURITY-APPNAME=YourAppId&
   RESPONSE-DATA-FORMAT=XML&
   REST-PAYLOAD&
   keywords=ipad2&
   buyerPostalCode=95125&
   itemFilter.name=MaxDistance&
   itemFilter.value=25

 

 

How well did this answer your question?
Answers others found helpful