Loading documentation…
Loading documentation…
Cache market observations with explicit currency and freshness.
Request price data using an exact market hash name and currency. Store the returned formatted values, currency, retrieval time, and availability state together.
Use controlled concurrency and an application-specific cache window. A missing listing and a transient upstream failure require different product behaviour.
The public response exposes formatted price fields. Do not remove punctuation and perform financial arithmetic unless your application has a reviewed, currency-aware parsing contract. A market observation is not a guaranteed executable trade price.
Correct invalid input or authentication before retrying. Coordinate rate-limit handling across workers, and retry transient upstream outcomes only with a bounded backoff policy. Preserve a missing observation separately from a failed refresh.
Apply cache coalescing for repeated item/currency reads, cap concurrency, and monitor status, duration, cache result, and observation age. Never log the API key. Continue with Currency handling, Caching, and Community Market errors.