How can I search items based on their location? Find the answer to your question
Advanced Search Product -Select Product- Trading API Shopping API Merchandising API Large Merchant Services Client Alerts API Feedback API Open eBay Apps Finding API Product Services Sandbox Others MIP Media API Notification API Identity API Charity API Taxonomy API Catalog API Recommendation API Compliance API Logistics API Finances API(Alpha) Negotiation API Listing API Sell Feed API Marketing Ads API Account API Inventory API Fulfillment API Marketing Promotion API Analytics API Metadata API Offer API Marketplace Insights API Deal API Marketing API Feed API Browse API Order API Analytics API Key Management API Cancellation API Case Management API Inquiry API Return API
Category -Select- Getting Started Sample Code Troubleshooting HowTo's / Best Practices No Value
Language -Select- C# Flex Java JavaScript PHP VB.NET VB6
Format -Select- All XML SOAP JSON Name Value N/A
SDK -Select- .NET Java JavaScript Flax/Flash Mobile - iOS None
Sort by Default Summary New Description Date Updated
Sort order Descending Ascending
Search
Published: November 08 2007, 11:47:00 PM Updated: September 02 2022, 11:52:57 AM
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