cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get all active listings using eBay API

I'm wondering if there is a recent addition to the RESTFUL API to allow a seller to obtain all of their active listings. I am currently using the Traditional API getSellerList which is often painfully useless as it does not simply return all active listings - one must request multiple pages and input a start or end date range (for us over 300 pages must be called for to get all of our listings). Lately, the call has been failing so we have been unable to get our active listings data for a few days. I can get the active listings data by running a report on eBay, but the idea of using the API is to automate this so the data is ready for me each morning to work with.

 

Come on eBay, just give us a simple "get all active listings" call that will return the same data as the "All active listings" report available from the Seller Hub / Reports tab.

Message 1 of 12
latest reply
11 REPLIES 11

Get all active listings using eBay API

Closest I've gotten is this, but it doesn't always return all listings at times it seems...hopefully it's a start though. Replace the stuff inside the underlined "<...>" with your own info (as well as the format=JSON if wanted, I just prefer it):
https://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsAdvanced&SERVICE-VER...<YOUR-APP-ID>&RESPONSE-DATA-FORMAT=JSON&REST-PAYLOAD&itemFilter.name=Seller&itemFilter.value=<YOUR-EBAY-SELLER-NAME>

Give a man a fire, he'll be warm for a night.
Set the man on fire...
Message 2 of 12
latest reply

Get all active listings using eBay API

gottasellemall69, how do you include credentials for this? Is it the REST API credentials?

Message 3 of 12
latest reply

Get all active listings using eBay API

The issue I am having with the getSellerList call is since Thursday 5th October I have been receiving an XML response like the following:

 

<GetSellerListResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2023-10-07T05:46:36.399Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Input transfer has been terminated because your request timed out.</ShortMessage>
<LongMessage>Input transfer has been terminated because your request timed out.</LongMessage>
<ErrorCode>21359</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Please try again.</Value>
</ErrorParameters>
<ErrorClassification>SystemError</ErrorClassification>
</Errors>
<Version>1271</Version>
<Build>E1271_CORE_APISELLING_19187371_R1</Build>
</GetSellerListResponse>
 
This is possibly due to the fact that I have to run hundreds of calls to obtain all of our listings, but the response doesn't specifically say that. I'd like to point out that this response is immediate, so it is not like it is taking ages then timing out.
Message 4 of 12
latest reply

Get all active listings using eBay API

Anyone.......

Message 5 of 12
latest reply

Get all active listings using eBay API


@fos1133 wrote:

gottasellemall69, how do you include credentials for this? Is it the REST API credentials?


The FindingAPI requires only your AppID, and no other tokens or credentials. However, it returns only 100 items per page with a maximum of 100 pages (10,000 items max). Large item lists can be returned by using category filters, newest vs oldest sort orders, and keywords, all of which have the potential for duplication or dropping items, depending on the direction of the sort.

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 6 of 12
latest reply

Get all active listings using eBay API


@fos1133 wrote:
<LongMessage>Input transfer has been terminated because your request timed out.</LongMessage>


@fos1133 

 

Is it possible you have hit the burst limit?

https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetSellerList.html  

 

Quoted below:

Short-duration call rate limit: The GetSellerList call is one of five Trading API calls where eBay has implemented a short-duration call rate limit to restrict bursts of very high traffic, and to protect eBay's infrastructure and servers from being overloaded and/or destabilized.

Per (seller) user ID, no more than 300 GetSellerList calls can be executed within any 15-second interval. If this call rate limit is exceeded at any time, the application making the called is blocked. Each time an application is blocked, the user/application must wait until the block is reset after 15 seconds. This short-duration call rate limit applies to all seller accounts, and sellers/developers cannot appeal or request for a higher limit.

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 7 of 12
latest reply

Get all active listings using eBay API

It is possible that I hit the limit when retrieving pages, but after 15 seconds it should start working again. However, I always get this response now, even when I have not attempted the call for hours or days. I have a computer running this call daily and it is only getting a single response like the one above so only a single call is made. I wonder if eBay is blocking my IP address, but I don't think so as it still doesn't work after my ISP change it. I doubt I'd be able to find this out without getting developer support by paying a lot of money (the last time I did they were completely useless and I got my money back).

Message 8 of 12
latest reply

Get all active listings using eBay API

Hi @fos1133 

 

To download price and quantity information for all or a subset of the seller's active listings, use the the createInventoryTask method with the feed type LMS_ACTIVE_INVENTORY_REPORT, along with

the getResultFile method. The SKU details include ItemID and/or SKUPriceQuantity, and SiteID.

 

Overview of active inventory report flow: https://developer.ebay.com/api-docs/sell/static/feed/merchant-data-downloadable-reports-flow.html#ac... 

Best Regards,
eBay Developer Support
Message 9 of 12
latest reply

Get all active listings using eBay API

Unfortunately, the LMS_ACTIVE_INVENTORY_REPORT report does not return nearly enough information for my needs. The only way around it just now is to manually run the All active listings report on the ebay site from the reports tab in Seller hub. It returns enough data and is quick enough, but I prefer automation using API.

Message 10 of 12
latest reply

Get all active listings using eBay API

Hello, 

 

Is there anyway to notify ebay that their api is broken after I am assuming some update? 

 

I am using your .net Assembly eBay.Service, Version=3.661.0.0 and getting this:

 

{"Instance validation error: 'ReleaseConfirmed' is not a valid value for PaymentHoldStatusCodeType."}

 

when calling GetSellerTransactions

 

This is literally nothing I can do because it errors when calling the method. Been using the same call for 10+ years

Message 11 of 12
latest reply

Get all active listings using eBay API

Please do not private message me asking if I have found a solution as I have not. I will not reply directly to any more private messages - this would be the reply:

 

I now just get a report from the eBay web site at https://www.ebay.co.uk/sh/reports/downloads

Download report / Listings / All Active Listings

Then I use the CSV file to get the data I need.

Message 12 of 12
latest reply