Jump to content
  • Sign Up

Rate limiting and Expiration Header


Karasu.9483

Recommended Posts

Wanted to continue a discussion on this topic and get some answers to questions I have:

 

1. [Listings are cached for 30 seconds but can only be polled every 20 minutes?](https://forum-en.guildwars2.com/forum/community/api/HEADS-UP-rate-limiting-is-coming/page/2#post6748536 )

2. Some endpoints like [delivery](https://wiki.guildwars2.com/wiki/API:2/commerce/delivery "https://wiki.guildwars2.com/wiki/API:2/commerce/delivery") are cached server-side but do not contain an expiration header. What is the rate for these and could you add the expiration header to these endpoints?

Link to comment
Share on other sites

Everything that returns account/character info is cached between 5-10 minutes (range depends on whether you're logged in or not).

 

You can fetch multiple listing entries by using the pagination parameters (e.g., `?page_size=200&page=N`). IIRC the rate limit is set up so you can pull all the listing data every minute or so using the paginated requests.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...