Developers Program

Getting and using the Natural Search ViewItem URL

Published: January 09 2007, 1:47:00 PMยทUpdated: August 23 2022, 6:19:28 AM

Products

Question

How do I get the Natural Search version of the ViewItem URL that I see when I am searching in eBay.com? Can I use the Natural Search version of the ViewItem URL in my Affiliate links?

Answer

Detailed Description

API calls such as GetItem have always returned the standard eBay ViewItem URL in the
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=xxx&category=yyy format,
where xxx is the ItemID and yyy is the CategoryID.
This was made available in the ViewItemURL element.

Beginning with the 491 release, in addition to the existing ViewItemURL element,
we now return a ViewItemURLForNaturalSearch element, in a few calls. This Natural Search URL takes you to the same View Item page as ViewItemURL, but this URL is optimized for natural search (for popular Internet search engines), and is used in many places on the eBay site.

Shopping API - ViewItemURLForNaturalSearch
Trading API - ViewItemURLForNaturalSearch

How well did this answer your question?