API Reference / Inventory
List the Steam asset ID chain for an inventory item
Returns the ordered chain of Steam asset IDs for a single inventory item, tracing each rotation across the three trade steps: the original listing, the purchase trade, and the sale trade. The chain is append-only and supports profit attribution across Steam's asset_id rotation on every trade.
/ contracts. v1. Contracts/ ListAssetIDLinksRequest body
application/jsonRequired
Request for one page of the Steam asset ids an inventory item has had, in the order the item moved through trades.
cursor?stringOpaque pagination cursor from a previous ListAssetIDLinksResponse. Empty for the first page.
inventoryItemIdstringInventory item whose asset_id chain should be returned.
Format"byte" base64
limit?integerMaximum number of links to return. Server caps this at a service-defined upper bound.
Format"int32"
Response body
application/json
Success
assetIdLinks?array<AssetIDLink>Asset ID links for this page, ordered by step.
Show attributes
assetId?stringSteam asset_id at this step.
createdAt?stringWhen the link was recorded.
Format"date-time"
deletedAt?stringWhen the link was soft-deleted. Unset for active links.
Format"date-time"
id?stringOpaque 16-byte link identifier.
Format"byte" base64
inventoryItemId?stringInventory item this link belongs to.
Format"byte" base64
previousAssetId?stringAsset_id from the previous step. Empty for the first link in the chain.
purchaseId?stringPurchase the inventory item originated from.
Format"byte" base64
source?stringSource subsystem that produced the link.
Value in"ASSET_"ASSET_"ASSET_
sourceId?stringExternal identifier from the source subsystem, for example, a trade offer ID or marketplace listing ID.
step?integerZero-based append position in the chain: listing=0, purchase_trade=1, sale_trade=2. Higher values are later rotations. Sale_trade is the terminal step.
Format"int32"
workspaceId?stringWorkspace that owns the chain.
Format"byte" base64
nextCursor?stringCursor to pass to fetch the next page. Empty when there are no more results.
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 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/ListAssetIDLinks" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDc3",
"limit": 50,
"cursor": ""
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDc3",
"limit": 50,
"cursor": ""
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDc3",
"limit": 50,
"cursor": ""
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", 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/ListAssetIDLinks",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDc3",
"limit": 50,
"cursor": ""
},
)
data = res.json(){
"assetIdLinks": [],
"nextCursor": ""
}{
"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": "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/ListAssetIDLinks" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"limit": 50,
"cursor": ""
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"limit": 50,
"cursor": ""
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"limit": 50,
"cursor": ""
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", 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/ListAssetIDLinks",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"limit": 50,
"cursor": ""
},
)
data = res.json(){
"assetIdLinks": [
{
"id": "bGluay0xMDE=",
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"purchaseId": "ZmVkY2JhOTg3NjU0MzIxMA==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"step": 0,
"assetId": "35829471002",
"previousAssetId": "",
"source": "listing",
"sourceId": "csfloat-listing-9920",
"createdAt": "2026-05-02T14:05:00Z"
},
{
"id": "bGluay0xMDI=",
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"purchaseId": "ZmVkY2JhOTg3NjU0MzIxMA==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"step": 1,
"assetId": "35829471888",
"previousAssetId": "35829471002",
"source": "purchase_trade",
"sourceId": "trade-offer-5567",
"createdAt": "2026-05-02T15:20:00Z"
},
{
"id": "bGluay0xMDM=",
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDQy",
"purchaseId": "ZmVkY2JhOTg3NjU0MzIxMA==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"step": 2,
"assetId": "35829472555",
"previousAssetId": "35829471888",
"source": "sale_trade",
"sourceId": "trade-offer-6680",
"createdAt": "2026-05-09T11:47:00Z"
}
],
"nextCursor": ""
}{
"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": "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/ListAssetIDLinks" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"limit": 50,
"cursor": ""
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"limit": 50,
"cursor": ""
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"limit": 50,
"cursor": ""
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/ListAssetIDLinks", 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/ListAssetIDLinks",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"limit": 50,
"cursor": ""
},
)
data = res.json(){
"assetIdLinks": [
{
"id": "bGluay0wMDE=",
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"purchaseId": "MDEyMzQ1Njc4OWFiY2RlZg==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"step": 0,
"assetId": "29384710293",
"previousAssetId": "",
"source": "listing",
"sourceId": "csfloat-listing-8731",
"createdAt": "2026-04-10T08:30:00Z"
},
{
"id": "bGluay0wMDI=",
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx",
"purchaseId": "MDEyMzQ1Njc4OWFiY2RlZg==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"step": 1,
"assetId": "29384710999",
"previousAssetId": "29384710293",
"source": "purchase_trade",
"sourceId": "trade-offer-4412",
"createdAt": "2026-04-10T09:12:00Z"
}
],
"nextCursor": ""
}{
"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": "resource_exhausted",
"message": "The request was rate limited. Slow down and retry later."
}{
"code": "internal",
"message": "An internal server error occurred."
}