Neural.1824:

How often is the API data updated with information from the Trading post (such as price or quantity)?
Iā€™d like to use a refresh on a page, but would rather not set the timer for anything less than necessary.

Lawton Campbell.8517:

The current configuration for cache times are:

  • /v2/commerce/listings ā€“ 1 minute
  • /v2/commerce/transactions ā€“ 1 minute
  • Everything else ā€“ 5 minutes

Kinda confused by this; I thought listings was at 5 minutes and prices was at 1 minute. Might switch that around.

The cache times are returned in the Cache-Control and Expires headers in the HTTP response.