Skip to main content
Published: August 12 2010, 9:10:00 PMUpdated: November 28 2020, 8:39:02 PM

How can I find eBay products using categoryID?

 Here are the steps for finding product listings by CategoryID with Shopping FindProducts API :

1. Retrieve ProductID , take CategoryID 279 for example

 http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=YOUR APPID&siteid=0&version=673&CategoryID=279&AvailableItemsOnly=true&MaxEntries=1

If  the category is catalog enabled, the ISBN, UPC or EAN  along with the ReferenceID, the ID for eBay catalog product will be returned as below. Other wise,  'Not catalog enabled' is returned in FindProducts response for the category of interest.

 <?xml version="1.0" encoding="utf-8"?>
<FindProductsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2010-08-13T05:43:34.340Z</Timestamp>
  <Ack>Success</Ack>
  <Build>E681_CORE_BUNDLED_11729342_R1</Build>
  <Version>681</Version>
  <ApproximatePages>4912790</ApproximatePages>
  <MoreResults>true</MoreResults>
  <PageNumber>1</PageNumber>
  <Product>
    <DomainName><![CDATA[Children's & Young Adult Books]]></DomainName>
    <DetailsURL><![CDATA[http://syicatalogs.ebay.com/ws/eBayISAPI.dll?PageSyiProductDetails&IncludeAttributes=1&ShowAttributesTable=1&ProductMementoString=

108476:2:1055:2569080480:261995690:c0cd3906a21079c819a593aaceb5a0cb:1:1:1:1392022975]]></DetailsURL>
    <DisplayStockPhotos>true</DisplayStockPhotos>
    <ProductID type="Reference">72750820</ProductID>
    <ProductID type="ISBN">1433805618</ProductID>
    <ProductID type="ISBN">9781433805615</ProductID>
    <ItemSpecifics>
      <NameValueList>
        <Name>Author</Name>
        <Value>American Psychological Association</Value>
      </NameValueList>-<NameValueList><Name>Binding</Name><Value>Paperback</Value></NameValueList></ItemSpecifics>
    <ReviewCount>100</ReviewCount>
    <StockPhotoURL>http://i.ebayimg.com/11/!!d4ZW,wCGM~$(KGrHgoH-CwEjlLluz7qBJ-R4LPNQQ~~_6.JPG</StockPhotoURL>
    <Title>Publication Manual of the American Psychological Association by American Psychological Association (2009, Paperback)</Title>
  </Product>
  <TotalProducts>4912790</TotalProducts>
</FindProductsResponse>

 

2. Find product listings with the ProductID retrieved in step 2

 http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=YOUR APPID&siteid=0&version=673&ProductID.type=Reference&ProductID.Value=72750820&IncludeSelector=Items

 

 

How well did this answer your question?
Answers others found helpful