Skip to content

API Reference / Steam accounts

Get recent Steam request timing for several accounts

Read up to 24 hours of request timing for up to 100 active Steam accounts in one call, in five-minute or hourly buckets, so an account list draws every latency sparkline from one read. Missing buckets are unknown rather than zero. Never contacts Steam.

POST/steam.v1.Steam/GetAccountRequestLatencies

Request body

application/jsonRequired

Request for up to 24 hours of Steam request timing for a page of active accounts in one read.

accountNames?array<string>

Active Steam accounts in the authorized workspace, 1 to 100 names. An unknown or deleted account is not found.

granularity?string

Bucket width. Unspecified is five minutes.

Value in"REQUEST_LATENCY_GRANULARITY_FIVE_MINUTES""REQUEST_LATENCY_GRANULARITY_HOUR"

Response body

application/json

Success

accounts?array<AccountRequestLatency>

One entry per requested account, in request order with repeats removed.

Show attributes
accountName?string

The account these buckets are for.

buckets?array<RequestLatencyBucket>

Nonempty buckets ordered by started_at ascending: at most 288 five-minute or 24 hourly buckets. An account with no retained samples has none.

Show attributes
latest?string

Request timing of the latest retained response in this bucket.

latestObservedAt?string

Actual observation time of the latest retained response.

Format"date-time"

maximum?string

Largest retained request timing in milliseconds.

mean?string

Mean time from sending a correlated request to its first response, excluding local send queue time.

minimum?string

Smallest retained request timing in milliseconds.

sampleCount?string

Number of timing samples retained in this bucket.

Format"int64"

startedAt?string

Inclusive UTC start of this five-minute bucket, assigned by response observation time.

Format"date-time"

windowEnd?string

Read time. The current bucket may be partial.

Format"date-time"

windowStart?string

Inclusive bucket boundary at or after 24 hours before the read, shared by every account.

Format"date-time"

curl -X POST "https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatencies" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNames": [
      "flip_eu_02"
    ],
    "granularity": "REQUEST_LATENCY_GRANULARITY_FIVE_MINUTES"
  }'
{
  "accounts": [
    {
      "accountName": "flip_eu_02",
      "buckets": [
        {}
      ]
    }
  ],
  "windowEnd": "2026-11-03T16:10:00Z",
  "windowStart": "2026-11-03T16:10:00Z"
}