List Items by Category

To get started, you may have a specific set of Ebay categories you would like to list products from. To do this, we need the Ebay category. The easiest way to get the real number for an Ebay category is to visit the url. In this example, we'll use a category from Ebay Motors:

http://motors.listings.ebay.com/Wheels-Tires-Parts_Wheels_W0QQfrom
ZR4QQsacatZ43953QQsocmdZListingItemList
(note: this url is wrapped onto a second line)

Click here to launch the URL in a new browser. Note the part of the URL above in bold. The category number is located between QQsacatZ and QQ. In this example, the category number is: 43953

From this category, we want to list wheels, but there are over 15,000 wheels for sale, so we need to narrow it down. You could narrow it by brand, or by vehicle or a number of other ways. For this example, let's narrow it down to a specific vehicle - the Chevrolet Corvette. We'll use the keyword: bmw

Finally, we want to list 15 items to return.

To understand how to put these values together, to list the Ebay auction items below, view the source code of this file. Seven lines is all it takes to get items into your site file. Click here for the next example.

The Result

1992-1995-bmw-320i-15-oem-wheel-rim-59182 1992-1995 BMW 320i 15" OEM Wheel Rim #59182
US $127.99
Auction Ends: End Date: Thursday Sep-02-2010 7:41:13 PDT
Buy it now | Add to watch list
1993-1999-bmw-318i-15-oem-wheel-rim-59182 1993-1999 BMW 318i 15" OEM Wheel Rim #59182
US $127.99
Auction Ends: End Date: Thursday Sep-02-2010 7:41:15 PDT
Buy it now | Add to watch list
1994-1995-bmw-530i-15-oem-wheel-rim-59192 1994-1995 BMW 530i 15" OEM Wheel Rim #59192
US $127.99
Auction Ends: End Date: Thursday Sep-02-2010 7:41:17 PDT
Buy it now | Add to watch list
1998-1999-bmw-323i-15-oem-wheel-rim-59182 1998-1999 BMW 323i 15" OEM Wheel Rim #59182
US $127.99
Auction Ends: End Date: Thursday Sep-02-2010 7:41:18 PDT
Buy it now | Add to watch list
1994-1995-bmw-540i-15-oem-wheel-rim-59192 1994-1995 BMW 540i 15" OEM Wheel Rim #59192
US $127.99
Auction Ends: End Date: Thursday Sep-02-2010 7:41:20 PDT
Buy it now | Add to watch list
15-92-bmw-318i-320i-323i-325i-328i-alloy-wheels-rims 15" 92 BMW 318i 320i 323i 325i 328i Alloy Wheels Rims
US $299.95 (0 Bid)
Auction Ends: End Date: Thursday Sep-02-2010 7:43:18 PDT
Bid now | Buy it now | Add to watch list
20-wheel-tire-pkg-staggered-bmw-645-650-m6 20" WHEEL/TIRE PKG (STAGGERED) BMW 645,650-M6
US $1,899.00
Auction Ends: End Date: Thursday Sep-02-2010 7:55:59 PDT
Bid now | Buy it now | Add to watch list
oem-bmw-3-series-bottle-cap-wheel-e30-86-87-88-89-90-91 OEM BMW 3 Series Bottle Cap Wheel E30 86 87 88 89 90 91
US $79.00
Auction Ends: End Date: Thursday Sep-02-2010 8:02:32 PDT
Bid now | Buy it now | Add to watch list
oem-bmw-m-double-spoke-style-184-18x8-rim-wheel OEM BMW M DOUBLE SPOKE STYLE 184 18X8 RIM WHEEL
US $420.00
Auction Ends: End Date: Thursday Sep-02-2010 8:07:18 PDT
Bid now | Buy it now | Add to watch list
22-bmw-rims-alpina-wheel-hyper-silver-w-stainless-lip 22" BMW Rims Alpina Wheel, Hyper Silver w Stainless Lip
US $799.00
Auction Ends: End Date: Thursday Sep-02-2010 8:07:29 PDT
Bid now | Buy it now | Add to watch list
20-bmw-rims-alpina-rims-wheels-black-w-chrome-lip 20" BMW Rims,Alpina Rims Wheels , Black w. Chrome Lip
US $799.00
Auction Ends: End Date: Thursday Sep-02-2010 8:08:35 PDT
Bid now | Buy it now | Add to watch list
20-alpina-wheel-bmw-rims-black-w-chrome-lip-camaro 20" Alpina Wheel,BMW Rims Black w. Chrome Lip,Camaro
US $799.00
Auction Ends: End Date: Thursday Sep-02-2010 8:09:16 PDT
Bid now | Buy it now | Add to watch list
18-rims-chrome-bmw-330-318-325-z4-328-z3-5-lug-wheels 18 Rims Chrome BMW 330 318 325 Z4 328 Z3 5 Lug Wheels
US $539.00
Auction Ends: End Date: Thursday Sep-02-2010 8:12:00 PDT
Bid now | Buy it now | Add to watch list
20-staggered-bmw-x6-x5-style-rims-silver-wheels- 20" STAGGERED BMW X6 X5 STYLE RIMS SILVER WHEELS
US $650.00
Auction Ends: End Date: Thursday Sep-02-2010 8:18:28 PDT
Bid now | Buy it now | Add to watch list
2001-bmw-530i-16-wheel-oem 2001 BMW 530i 16" WHEEL OEM
US $180.00
Auction Ends: End Date: Thursday Sep-02-2010 8:18:53 PDT
Bid now | Buy it now | Add to watch list