How can I search items based on their location? Find the answer to your question
Please enter a search keyword.
Advanced Search Product -Select Product- GraphQL Trading API Merchandising API Feedback API Product Services Sandbox Others MIP Media API Notification API Identity API Charity API Taxonomy API Catalog API Message API VeRO API Recommendation API Compliance API Logistics API Finances API(Alpha) Negotiation API Sell Feed API Marketing Ads API Stores API Inventory Mapping 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
Published: November 08 2007, 11:47:00 PM ยท Updated: September 02 2022, 11:52:57 AM
Products Answer 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?