r/pathofexiledev • • Aug 23 '26

Question Are Batch Requests for Stashes possible?

Hello,

I am sorry if this has been answered before but could not find anything on the topic.

I want to index all my stash tabs in Standard, but i have the problem that the API limits me to 100 requests per 30 Minutes, while i have over 150 Stashes (including remove only).

Is there a better way than querying each tab separetely, can i query the content of multiple stashes at once?

I can just wait 1 hour for all my requests to complete, but if i ever wanted to share my project that would not be user friendly at all.

Currently i have to use the legacy API with POESESSID, but if the actual developer API has a better way i will look into that.

Also is there a way to see the last time the stash was modified (item got taken in/out)? This would massively reduce the number of calls in subsequent refreshes.

7 Upvotes

7 comments sorted by

3

u/gerwaric Aug 23 '26 edited Aug 23 '26

There's no way around the API limits and it's worse if you want unique or stash tabs, because each of those tabs has children and each child counts as it's own request. My 270-ish tabs in standard balloons out to over 3,000 stash requests if I include all the map and unique stash tabs--and I've only been playing since 3.10.

If you want someone else to manage downloads, acquisition is a registered public oath application. It will happily download your tabs overnight while keeping track of rate limits. It stores the raw json in a plain sqlite database you can pull from later without worrying about the API.

That said, a fixed rate limit like X tabs per Y minutes based on the most conservative limit for each endpoint will work just as well--although you should add a 60s buffer to Y to account for server-side timing buckets. (This is undocumented, but I confirmed it with GGG while trying to track down some sporadic, unexplained rate limit violations).

2

u/LehmD4938 Aug 23 '26

Hi, thank you for your reply. I will check out acquisition, that sounds really useful for what i wanted to do.

Wish there was at least a way to see the timestamp of last interaction for each tab, seems like GGG could profit from that as well, and i would not be surprised if they already have that internally.

2

u/Sudden-Pineapple-793 Oct 16 '26

Hey wanted to ask you whether you used that solution above? Would you recommend it?

1

u/gerwaric 26d ago

Acquisition is clunky, but AFAIK it's one of the only ways to find obscure items buried in Standard. I think it's also the only program that helps you get items listed on the trade site from non-public stash tabs, read-only tabs, and character inventories. (From what I see on the forums I suspect there are others, but I haven't gone looking for them. Forum shops have largely been replaced by Faustus in modern PoE).

I'm working on a rewrite that will let you copy trade searches from the official site and run them against your downloaded stashes, but it's not ready for prime time yet.

1

u/nawzyah Oct 16 '26

It appears he's the author or one of the contributors, based on his username and the Github contributors list.

1

u/gerwaric 26d ago edited 26d ago

I maintain acquisition now, but it was created in 2014 by Ilya Zhuravlev (see https://github.com/xyzz/acquisition) and has had multiple maintainers and contributors over the years. I got involved in 2023 when GGG blacklisted acquisition for API rate limit violations and have been maintaining it since.

1

u/gerwaric Aug 23 '26

i've also started working on a cli for people like you who may not want the gui, but no timeline for when that might be ready