Developers Program

Finding API: specify multiple CategoryIDs in findingItemsAdvanced request

Published: June 06 2011, 4:22:00 PMยทUpdated: September 07 2022, 7:10:49 AM

Products

Question

Does findItemsAdvanced support searches in multiple category ids?

Answer

findItemsAdvanced API allows search for multiple category Ids. You can specify up to three categoryIDs in your request as below:

HTTP GET:

http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&GLOBAL-ID=EBAY-US&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=YOUR APPID&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&paginationInput.entriesPerPage=100&paginationInput.pageNumber=1&categoryId[0]=9355&categoryId[1]=111422

XML POST

<?xml version="1.0" encoding="utf-8"?>
<findItemsAdvancedRequest xmlns="http://www.ebay.com/marketplace/search/v1/services">
<paginationInput>
<entriesPerPage>100</entriesPerPage>
<pageNumber>1</pageNumber>
</paginationInput>
<categoryId>9355</categoryId>
<categoryId>111422</categoryId>
</findItemsAdvancedRequest>
How well did this answer your question?