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

Is there a way to get aggregate data like total active listings and total quantity of listed items?

Anonymous
Not applicable

I'm using Inventory API but open to any that will return this data.

 

I am trying to find a way to get the sort of data efficiently from API calls and coming up empty. The best I can find is:

 

1. run a bunch of calls to get all of my items

2. run an insane number of calls to get all offers for all of those items

 

I would then have all of the current data to extract and calculate this sort of data but slamming the API that many times for some quick data seems beyond excessive.

Message 1 of 7
latest reply
6 REPLIES 6

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

Could you elaborate which data you need and which you would like to have?

Are you trying to include inventory, or only active listings?

What do you mean by "offers" in this context?

And what do you mean by "quantity"?

 

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

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

Anonymous
Not applicable

@shipscript wrote:

Could you elaborate which data you need and which you would like to have?

 


Well, eBay API's often return all sorts of cool data so if an API has this, I would love to see what's inside of the response. But presently I need:

 

Go to Seller Hub > Listings > Active

Dropdowns: All Categories, All Formats, All Statuses

 

This produces a table with 4,952 results and Quantity 6,179. I need those numbers. 4,952 and 6,179. I do not need the results. Only those numbers.

 

So I need to know how many active listings I have. And the total quantity of items in those listings.

 


@shipscript wrote:

Are you trying to include inventory, or only active listings?

 


ACTIVE Inventory status, I believe is the technical answer. I do not want OUT_OF_STOCK, ENDED or 404 status Inventory items included. But any API which returns the two data points above I'm willing to use.

 

 

>What do you mean by "offers" in this context?

 

Inventory API Offers. Item > Offer > Publish. A very crude way to get this data would be to do GetItem calls, and then GetOffers calls for each item. As GetOffers is what will return the ACTIVE/OUT_OF_STOCK/ENDED etc status. It would be borderline absurd to get the data that way but it's the only way I can think of to do it.

 

Message 3 of 7
latest reply

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

Anonymous
Not applicable

> Dropdowns: All Categories, All Formats, All Statuses

 

That actually may contradict what I said I want as it can include ENDED items. 

 

I specifically want live and active listings where people can buy/bid right now. So excluding ENDED.

Message 4 of 7
latest reply

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

I couldn't see anything in the API endpoints for that. However I am fairly certain you can make a GET call to https://www.ebay.com/sh/lst/active?catType=storeCategories&status=ACTIVE along with a valid cookie and parse the page it gives you for that info. If that method doesn't work you could also use something like Selenium to navigate the sign in page.

Message 5 of 7
latest reply

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

Anonymous
Not applicable

Thanks. Do you know if that's allowed? I certainly don't want to get into any trouble for scraping.

Message 6 of 7
latest reply

Re: Is there a way to get aggregate data like total active listings and total quantity of listed ite

I would try emailing eBay support directly to ask if that would constitute as a violation of the ToS. You could also send in an unsolicited suggestion to add aggregate info like that to an API endpoint.

Message 7 of 7
latest reply