Using the Ebay Finding API

I am attempting to utilize the FindItemsAdvanced feature of the Ebay Finding API from a server based in the US. I’ve set ListedIn to "EBAY-ENCA", but the results return empty, and I suspect it’s because those listings aren’t accessible in the US. I noticed there’s a parameter called AvailableTo, but I’m unsure how to specify availability for all countries without listing every ISO code. Here’s my current implementation:

ItemFilter regionFilter = new ItemFilter();
regionFilter.setName(ItemFilterType.LISTED_IN);
regionFilter.getValue().add("EBAY-ENCA");
request.getItemFilter().add(regionFilter);
ItemFilter countryAvailabilityFilter = new ItemFilter();
countryAvailabilityFilter.setName(ItemFilterType.AVAILABLE_TO);
countryAvailabilityFilter.getValue().add("US");
request.getItemFilter().add(countryAvailabilityFilter);

How can I achieve my goal without specifying every single ISO code?

One possibility to consider is using a VPN connection or proxy servers that are based in Canada while sending requests to the API. This can sometimes help in overcoming regional restrictions that might be causing zero results when searching from a US-based server. Also, make sure your API keys and any other configurations are set correctly and check if there are any backend settings on your server that could be affecting the request’s regional parameters.

Hey Bob_Clever! You might want to check the GlobalIDs you’re using. Some regions provide wider access to listings. Perhaps try EBAY-US to see if sellers listing in ENCA also list them in other markets. Sometimes sellers make them availabe across multiple platforms but restrict visibility. Hope this helps!

If you’re looking to have your search results reflect a more global scope without listing every ISO code, consider adjusting your search strategy. Instead of focusing on AvailableTo, you could try broadening the SiteId parameter. For instance, querying through major eBay regional sites with broader coverage such as EBAY-GB or EBAY-AU can sometimes yield more comprehensive results that are accessible from your location. Also, it might be beneficial to contact eBay developer support to gain deeper insights into how these regional restrictions might be affecting your specific use case.