Api fair use question
BoyC.2653:
Hi.
I searched around this forum a bit but didn’t find any answers to my question, so here goes.
I’m quite new to web apis so this might be a trivial question, but what constitutes fair use of the api from a load position? For example if I’d like to create my own historical database of the trades of a couple of items, what kind of resolution (ie. api poll frequency) can I go down to before it becomes an issue?
smiley.1438:
See this thread: https://forum-en.guildwars2.com/forum/community/api/How-frequently-is-it-OK-to-access-the-API/2815206
BoyC.2653:
Thanks, and sorry for the repost.
Lawton Campbell.8517:
We cache responses on our end which is, by default, configured for 5 minutes; apparently /v2/commerce/listings is configured with a 1-second cache time. So I guess no more frequently than once/second/item (otherwise you’re just wasting bytes).
We reserve the right to change cache times though
Wizeon.3852:
But if I spam refresh on Silk Scrap url https://api.guildwars2.com/v2/commerce/listings/19748 I can clearly see that the values update every 5 minute or so as well, and not at the same pace I can see them changing in-game.
Lawton Campbell.8517:
…huh
I’ll look into that; not sure what’s going on there.
Pat Cavit.9234: