API Reference / Steam accounts
Get recent Steam request timing
Read up to 24 hours of five-minute timing buckets for an active Steam account. Measurements cover observed correlated protocol responses, include Steam processing, and exclude local send queue time. Missing buckets are unknown rather than zero. This bounded history does not require pagination and never contacts Steam.
/ steam. v1. Steam/ GetAccountRequestLatencyRequest body
application/jsonRequired
Request for up to 24 hours of five-minute Steam request timing buckets for one active account.
accountNamestringActive Steam account in the authorized workspace.
Response body
application/json
Success
buckets?array<RequestLatencyBucket>At most 288 nonempty buckets, ordered by started_at ascending. Normal worker aggregation can delay availability by approximately 30 seconds.
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 five-minute bucket may be partial.
Format"date-time"
windowStart?stringInclusive five-minute boundary at or after 24 hours before the read. The partially expired oldest bucket is excluded.
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/GetAccountRequestLatency" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountName": "flip_eu_02"
}'const res = await fetch("https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatency", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountName": "flip_eu_02"
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountName": "flip_eu_02"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/steam.v1.Steam/GetAccountRequestLatency", 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/GetAccountRequestLatency",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountName": "flip_eu_02"
},
)
data = res.json(){
"buckets": [
{
"latest": "212",
"latestObservedAt": "2026-11-03T16:10:00Z",
"maximum": "640",
"mean": "238",
"minimum": "141",
"sampleCount": "3",
"startedAt": "2026-11-03T16:10:00Z"
}
],
"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."
}