API Reference / Steam account groups
Fetch a single account group by ID
Returns the account group identified by account_group_id. Soft-deleted account groups are not returned.
/ contracts. v1. Contracts/ GetAccountGroupRequest body
application/jsonRequired
Request for one account group in the caller's workspace by identifier. A deleted group returns not_found.
accountGroupIdstringAccount group identifier.
Format"byte" base64
Response body
application/json
Success
accountGroup?AccountGroupThe requested account group.
Show attributes
createdAt?stringWhen the account group was created.
Format"date-time"
deletedAt?stringWhen the account group was soft-deleted, if it has been.
Format"date-time"
id?stringOpaque 16-byte account group identifier, base64-encoded in JSON.
Format"byte" base64
members?array<string>Steam account names that belong to the group.
name?stringHuman-readable account group name.
updatedAt?stringWhen the account group was last modified.
Format"date-time"
workspaceId?stringWorkspace the account group belongs to.
Format"byte" base64
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
The request was rate limited. Slow down and retry later.
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/contracts.v1.Contracts/GetAccountGroup" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountGroupId": "ICEiIyQlJicoKSorLC0uLw=="
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountGroupId": "ICEiIyQlJicoKSorLC0uLw=="
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountGroupId": "ICEiIyQlJicoKSorLC0uLw=="
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup", 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/contracts.v1.Contracts/GetAccountGroup",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountGroupId": "ICEiIyQlJicoKSorLC0uLw=="
},
)
data = res.json(){
"accountGroup": {
"id": "ICEiIyQlJicoKSorLC0uLw==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"name": "Butterfly Knife Fade stock accounts",
"createdAt": "2026-06-25T11:00:00Z",
"updatedAt": "2026-06-25T11:00: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": "resource_exhausted",
"message": "The request was rate limited. Slow down and retry later."
}{
"code": "internal",
"message": "An internal server error occurred."
}curl -X POST "https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountGroupId": "EBESExQVFhcYGRobHB0eHw=="
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountGroupId": "EBESExQVFhcYGRobHB0eHw=="
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountGroupId": "EBESExQVFhcYGRobHB0eHw=="
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup", 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/contracts.v1.Contracts/GetAccountGroup",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountGroupId": "EBESExQVFhcYGRobHB0eHw=="
},
)
data = res.json(){
"accountGroup": {
"id": "EBESExQVFhcYGRobHB0eHw==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"name": "AK-47 Redline buyers",
"members": [
"redline_trader_eu",
"redline_trader_us",
"float_hunter_01"
],
"createdAt": "2026-03-12T08:30:00Z",
"updatedAt": "2026-05-20T14:45: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": "resource_exhausted",
"message": "The request was rate limited. Slow down and retry later."
}{
"code": "internal",
"message": "An internal server error occurred."
}