Community Wiki

Edit

Public stash API

Before accessing this API, you need to apply the official OAuth form and require scope: service:psapi.

Public stash API doesn't contain any historical data and always returns the current state of stash tabs. Using ajax from a browser got blocked by CORS, you need to setup a basic proxy to fetch it.

Every request will return a next_change_id and put it on next id= parameter. You will fetch the Json by sequence, for example

http://www.pathofexile.com/api/public-stash-tabs
http://www.pathofexile.com/api/public-stash-tabs?id=342209785-336957592-338826328
http://www.pathofexile.com/api/public-stash-tabs?id=342209792-336957596-338826330
http://www.pathofexile.com/api/public-stash-tabs?id=342209797-336957599-338826336

Using deflate parameter in request header will save a lot of traffic.

Rate Limit

Be aware there is a rate limit.

curl -XGET -s -D - http://www.pathofexile.com/api/public-stash-tabs | grep -i 'x-rate-limit'

Next change id

You can get latest change id at https://www.pathofexile.com/api/trade/data/change-ids


Wikis Content is available under CC BY-NC-SA 3.0 unless otherwise noted.