One of the things I have found very hard as an eBay API developer (with two certified applications) is the eBay search results page URL structure. My latest project requires me to build more complex eBay search URL structures on the fly. Below I explain how to create eBay URLs on the fly based on my understanding. I am hoping this complements a few articles out there about adding eBay items to your wordpress blog and how to create an eBay niche store. eBay has given me NO HELP in producing this post so please don't consider this to be some kinda official eBay description of how to create an advanced search url... it isn't one!
The search will return BIN only items, items available to certain countries, search title and desc, select a category, include a price range and show the eBay "welcome new user banner". There are of course more variables possible but this is a good start:
The link above is a search for a "4gb ipod nano product red" the query section of the search should be simple enough to spot. You replace the " " with "-" and append the search string to the search.ebay.com as follows for a simple default search:
http://search.ebay.com/4gb-ipod-nano-product-red
If you wish to then start exploring more complex variables you append _W0 to tell eBay search they are coming and then each variable is preceeded by QQ. The order of the variables appears not to matter and the first variable on this list is QQfnuZ1 - this is the welcome new user banner as shown below:
http://search.ebay.com/4gb-ipod-nano-product-red_W0QQfnuZ1
The next variable is QQsacatZ293 which tells eBay to just search category 293 which in this case is consumer electronics in the US (siteid: 0)
http://search.ebay.com/4gb-ipod-nano-product-red_W0QQfnuZ1QQsacatZ293
The next variable is QQftsZ2 which tells eBay to search title AND desc expanding the search... if you don't want this to happen simply leave it out.
http://search.ebay.com/4gb-ipod-nano-product-red_W0QQfnuZ1QQsacatZ293QQftsZ2
Proceeding through my example URL we come across QQsaprchiZ150 and QQsaprcloZ200. These variables control min and max price (and don't have to appear together, you can have just one or the other). Here I set min price to $150 (QQsaprchiZ150) and max price to $200 (QQsaprcloZ200) as far as I can see the currency is controlled by the site you search on but I may be wrong.
I now have two more variables left in my example url. The penultimate is QQsascsZ2. If this is present you only return BIN items (if you enter QQsascsZ1 you only get auction items and if you leave it off you get everything).
Now the final variable in my list for understanding the eBay search URL is: QQsaatcZ3. This controls the ship to country, in this example it is "3" which is the united kingdom.
The full list of countries within the eBay advanced search form as of 4th February is at the end of this article.
So there you have an outline of some of the main variables in the eBay advanced search URLs, this definitely prooved really useful for me to create my little application, I hope it's useful for you.
1, United States
15, Australia
2, Canada
3, United Kingdom
4, Afghanistan
5, Albania
6, Algeria
7, American Samoa
8, Andorra
9, Angola
10, Anguilla
11, Antigua and Barbuda
225, APO/FPO
12, Argentina
13, Armenia
14, Aruba
15, Australia
16, Austria
17, Azerbaijan Republic
18, Bahamas
19, Bahrain
20, Bangladesh
21, Barbados
22, Belarus
23, Belgium
24, Belize
25, Benin
26, Bermuda
27, Bhutan
28, Bolivia
29, Bosnia and Herzegovina
30, Botswana
31, Brazil
32, British Virgin Islands
33, Brunei Darussalam
34, Bulgaria
35, Burkina Faso
36, Burma
37, Burundi
38, Cambodia
39, Cameroon
2, Canada
40, Cape Verde Islands
41, Cayman Islands
42, Central African Republic
43, Chad
44, Chile
45, China
46, Colombia
47, Comoros
48, Congo, Democratic Republic of the
49, Congo, Republic of the
50, Cook Islands
51, Costa Rica
52, Cote d Ivoire (Ivory Coast)
53, Croatia, Republic of
55, Cyprus
56, Czech Republic
57, Denmark
58, Djibouti
59, Dominica
60, Dominican Republic
61, Ecuador
62, Egypt
63, El Salvador
64, Equatorial Guinea
65, Eritrea
66, Estonia
67, Ethiopia
68, Falkland Islands (Islas Malvinas)
69, Fiji
70, Finland
71, France
72, French Guiana
73, French Polynesia
74, Gabon Republic
75, Gambia
76, Georgia
77, Germany
78, Ghana
79, Gibraltar
80, Greece
81, Greenland
82, Grenada
83, Guadeloupe
84, Guam
85, Guatemala
86, Guernsey
87, Guinea
88, Guinea;Bissau
89, Guyana
90, Haiti
91, Honduras
92, Hong Kong
93, Hungary
94, Iceland
95, India
96, Indonesia
97, Iran
99, Ireland
100, Israel
101, Italy
102, Jamaica
103, Jan Mayen
104, Japan
105, Jersey
106, Jordan
107, Kazakhstan
108, Kenya
109, Kiribati
111, Korea, South
112, Kuwait
113, Kyrgyzstan
114, Laos
115, Latvia
116, Lebanon
120, Liechtenstein
121, Lithuania
122, Luxembourg
123, Macau
124, Macedonia
125, Madagascar
126, Malawi
127, Malaysia
128, Maldives
129, Mali
130, Malta
131, Marshall Islands
132, Martinique
133, Mauritania
134, Mauritius
135, Mayotte
136, Mexico
226, Micronesia
137, Moldova
138, Monaco
139, Mongolia
140, Montserrat
141, Morocco
142, Mozambique
143, Namibia
144, Nauru
145, Nepal
146, Netherlands
147, Netherlands Antilles
148, New Caledonia
149, New Zealand
150, Nicaragua
151, Niger
152, Nigeria
153, Niue
154, Norway
155, Oman
156, Pakistan
157, Palau
158, Panama
159, Papua New Guinea
160, Paraguay
161, Peru
162, Philippines
163, Poland
164, Portugal
165, Puerto Rico
166, Qatar
227, Reunion
167, Romania
168, Russian Federation
169, Rwanda
170, Saint Helena
171, Saint Kitts;Nevis
172, Saint Lucia
173, Saint Pierre and Miquelon
174, Saint Vincent and the Grenadines
175, San Marino
176, Saudi Arabia
177, Senegal
178, Seychelles
179, Sierra Leone
180, Singapore
181, Slovakia
182, Slovenia
183, Solomon Islands
184, Somalia
185, South Africa
186, Spain
187, Sri Lanka
189, Suriname
190, Svalbard
191, Swaziland
192, Sweden
193, Switzerland
194, Syria
195, Tahiti
196, Taiwan
197, Tajikistan
198, Tanzania
199, Thailand
200, Togo
201, Tonga
202, Trinidad and Tobago
203, Tunisia
204, Turkey
205, Turkmenistan
206, Turks and Caicos Islands
207, Tuvalu
208, Uganda
209, Ukraine
210, United Arab Emirates
3, United Kingdom
1, United States
211, Uruguay
212, Uzbekistan
213, Vanuatu
214, Vatican City State
215, Venezuela
216, Vietnam
217, Virgin Islands (U.S.)
218, Wallis and Futuna
219, Western Sahara
220, Western Samoa
221, Yemen
222, Yugoslavia
223, Zambia
224, Zimbabwe

this is old ,and not recommend by search engine.
but very interesting, and well documented. nice job.
Posted by: Qingcai | March 29, 2011 at 05:39 PM
This is what I have been searching in many websites and I finally found it here. Amazing article. I am so impressed. Could never think of such a thing is possible with it...I think you have a great knowledge especially while dealings with such subjects.
Posted by: zenegra online | December 10, 2010 at 04:35 AM
wow great i have read many articles about this topic and everytime i learn something new i dont think it will ever stop always new info , Thanks for all of your hard work!
Posted by: zygor guides | December 10, 2010 at 01:20 AM
Hi...
Nice post, I would like to request you to one more post about that **
Keep it up
Posted by: Generic viagra | December 04, 2010 at 03:10 AM
Thank you for sharing to us.
Please one more post about that..
Posted by: Generic Viagra | November 30, 2010 at 05:19 AM
Yeah, was very useful that list. I hope you can still posting this kind of sources. I'm a web journalism and always spend the time searching across the Internet for web sites like this one.
Posted by: kamagra Gel | November 12, 2010 at 10:47 AM
Very good information, sometimes is hard to find what are you looking for because you don't how to look. This is very useful to me thanks!
Posted by: Viagra Online | November 12, 2010 at 10:31 AM
I really appreciate Alex's information because, long tiome ago I did not know anaything related to URL and some structures, sometimes I have problems with it so, I am thankful with this relevant post.
Posted by: Generic Viagra | November 10, 2010 at 01:54 PM
A great informative blog.Keep posting articles like.You have a great knowledge of the subject.Thanks for sharing such an article where education of people matters the most.Your way of expressing articles through words is excellent.he way of expressing things is best and informative.Keep sharing articles like this.A great article with best possible effects.I am great fan of your blog.Every time i come here i see something very new.Thanks for sharing the information.
Posted by: Viagra | October 28, 2010 at 02:37 AM
I agree with you. Here we realize that our existence would need new strategy, new style. New factors can bring new really feel and new practical experience to us. Just like your weblog, it take me to some new state. It really is so fantastic that I can not leave.
Posted by: Ugg Classic Mini | August 13, 2010 at 07:08 PM