Q:
What is the Trading Post rate limit?
I’m not an expert in these things, but I think they’d rather have you send 25 requests every second than 250 requests all at once every tenth second.
search.json returns cached buy order prices. If that’s all you wanted, simply use gw2spidy.
listings.json returns the actual prices.
If you’re trying to gather all the items using search.json, do a blank search and set the count to 0, which will dump everything.
I am fine with doing a request every ~5 seconds… By using search.json and a list if item ids every 10 second you should have no problems. Do you get “flooding error” or the 502 Proxy error?
When I just needed a few pages of items, 5s was fine. As the number of items I was getting grew I had to put it to 10s. I can’t remember exactly what the error was.
I’m now just using count=0, which gets me a lot more than I need but is a lot quicker.
It would be nice to get an official word on what is deemed acceptable though.