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.
/ steam. v1. Steam/ GetAccountRequestLatenciesRequest 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?stringBucket width. Unspecified is five minutes.
Value in"REQUEST_"REQUEST_
Response body
application/json
Success
accounts?array<AccountRequestLatency>One entry per requested account, in request order with repeats removed.
Show attributes
accountName?stringThe 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?stringRequest timing of the latest retained response in this bucket.
latestObservedAt?stringActual observation time of the latest retained response.
Format"date-time"
maximum?stringLargest retained request timing in milliseconds.
mean?stringMean time from sending a correlated request to its first response, excluding local send queue time.
minimum?stringSmallest retained request timing in milliseconds.
sampleCount?stringNumber of timing samples retained in this bucket.
Format"int64"
startedAt?stringInclusive UTC start of this five-minute bucket, assigned by response observation time.
Format"date-time"
windowEnd?stringRead time. The current bucket may be partial.
Format"date-time"
windowStart?stringInclusive bucket boundary at or after 24 hours before the read, shared by every account.
Format"date-time"
application/json
The request was malformed, such as a missing required field or an unparseable cursor.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The request lacks a valid API key in the Authorization header.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The API key is not allowed to perform this action on this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The requested resource does not exist in this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
An internal server error occurred.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
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"
}'const res = await fetch("https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatencies", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountNames": [
"flip_eu_02"
],
"granularity": "REQUEST_LATENCY_GRANULARITY_FIVE_MINUTES"
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountNames": [
"flip_eu_02"
],
"granularity": "REQUEST_LATENCY_GRANULARITY_FIVE_MINUTES"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatencies", body)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("CSTRADER_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)import os, requests
res = requests.post(
"https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatencies",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountNames": [
"flip_eu_02"
],
"granularity": "REQUEST_LATENCY_GRANULARITY_FIVE_MINUTES"
},
)
data = res.json(){
"accounts": [
{
"accountName": "flip_eu_02",
"buckets": [
{}
]
}
],
"windowEnd": "2026-11-03T16:10:00Z",
"windowStart": "2026-11-03T16:10:00Z"
}{
"code": "invalid_argument",
"message": "The request was malformed, such as a missing required field or an unparseable cursor."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "not_found",
"message": "The requested resource does not exist in this workspace."
}{
"code": "internal",
"message": "An internal server error occurred."
}