Developer_API

Old: ChuanHsing 2023-01-24 11:41:25

New: ChuanHsing 2023-01-24 11:47:33

OldNewDifferences
2020
2121
2222
23-## Public stash API
2423
25-[Public stash API](https://www.pathofexile.com/developer/docs/reference#publicstashes) 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.
26-
27-Every request will return a `next_change_id` and put it on next `id=` parameter. You will fetch the Json by sequence, for example
28-```
29-http://www.pathofexile.com/api/public-stash-tabs
30-http://www.pathofexile.com/api/public-stash-tabs?id=342209785-336957592-338826328
31-http://www.pathofexile.com/api/public-stash-tabs?id=342209792-336957596-338826330
32-http://www.pathofexile.com/api/public-stash-tabs?id=342209797-336957599-338826336
33-```
34-
35-Using deflate parameter in request header will save a lot of traffic.
36-
37-### Rate Limit
38-
39-Be aware there is a [rate limit](https://www.pathofexile.com/forum/view-thread/2079853#p15244273).
40-
41-```
42-curl -XGET -s -D - http://www.pathofexile.com/api/public-stash-tabs | grep -i 'x-rate-limit'
43-```
4424
4525 ### Next change id
4626
7555 [API:Passive_Skill_Tree](API%3APassive_Skill_Tree)
7656 [API:OAuth](API%3AOAuth)
7757 [API:Ladder](API%3ALadder)
78-[API:Trade](API%3ATrade)
58+[API:Trade](API%3ATrade)
59+[API:Public_Stashes](API%3APublic_Stashes)