API Reference / Inventory
Fetch a single inventory item by ID
Returns the inventory item identified by inventory_item_id. Inventory items track an owned asset from receipt through listing and sale, including the current Steam asset_id.
/ contracts. v1. Contracts/ GetInventoryItemRequest body
application/jsonRequired
Request for one inventory item in the caller's workspace by identifier.
inventoryItemIdstringInventory item identifier.
Format"byte" base64
Response body
application/json
Success
inventoryItem?InventoryItemThe requested inventory item.
Show attributes
accountName?stringThe Steam account holding the item, the account the purchase was delivered to.
acquiredAt?stringWhen the item reached the Steam inventory. Unset while it is still arriving.
Format"date-time"
buyPriceCents?stringPrice paid when this item was purchased, in cents.
Format"int64"
buyPriceMicros?stringPrice paid when this item was purchased, in millionths of a dollar: the exact amount the market charged (Market.CSGO charges $0.005 as 5000). buy_price_cents is the same price rounded up to a cent, kept for limits. Show and sum this field.
Format"int64"
contractId?stringContract that originally bought the item.
Format"byte" base64
createdAt?stringWhen the inventory item was created.
Format"date-time"
currentAssetId?stringCurrent Steam asset_id. Steam rotates this value on every trade. Use ListAssetIDLinks to see the full history.
deletedAt?stringWhen the inventory item was soft-deleted. Unset for active items.
Format"date-time"
delistedAt?stringWhen the newest listing was taken down without a sale. Unset while it is up, after a sale, and when the item was never listed.
Format"date-time"
floatValue?numberThe bought item's real Steam float value, recorded at purchase for sell-side float-window matching and audit. Unset when no real float was recorded, distinct from a 0.0 wear.
Format"double"
iconUrl?stringPer-instance Valve economy icon hash for this exact item, rendered at community.cloudflare.steamstatic.com/economy/image/{icon_url}. Empty falls back to the catalog per-finish base icon.
id?stringOpaque 16-byte inventory item identifier.
Format"byte" base64
listPriceCents?stringThe price the newest listing asks, in cents: the market's list price, or for a listing listing the lowest price of its range. Unset when the item was never listed.
Format"int64"
listedAt?stringWhen the newest listing went up. Unset when the item was never listed.
Format"date-time"
listingContractId?stringThe selling contract pricing the newest listing. Unset when the item was never listed or the listing named no contract. The contract credited with a sale is selling_contract_id.
Format"byte" base64
listingMarketplace?stringThe marketplace of the newest listing: the market the item is listed on, or salespanel for an item the listing lists on several markets at once (the market that sold it is selling_marketplace). Unset when the item was never listed.
lossReason?stringWhy the item was lost. Set only when status is LOST, unspecified otherwise.
Value in"INVENTORY_"INVENTORY_"INVENTORY_"INVENTORY_"INVENTORY_
lostAt?stringWhen the item was lost: it left the account and no money came for it. Set only when status is LOST. Its cost counts as a loss in realised profit.
Format"date-time"
marketHashName?stringCanonical Steam market_hash_name of the owned item.
paidOutAt?stringWhen the market pays the sale's money out: the date it is due while the market still holds it, the date it was paid after. Unset before a sale and when the market gave no date. Profit before this time is pending.
Format"date-time"
paintSeed?integerThe item's pattern index (paint seed, 0 to 1000), from the listing at purchase or decoded from the delivered item's inspect link. Unset when unknown, distinct from seed 0.
Format"int32"
purchaseId?stringPurchase that produced this inventory item.
Format"byte" base64
receipt?stringWhether the item the purchase became has been found in the receiving Steam account. Unspecified until a delivery is accepted.
Value in"INVENTORY_"INVENTORY_"INVENTORY_"INVENTORY_
receiptInterchangeable?booleanTrue when the item was paired as one unit of identical, interchangeable items (a case, a sticker) rather than as the one physical item bought.
receiptReason?stringWhy the item could not be paired or left the account: not_found, ambiguous or left_account. Empty otherwise.
sellPriceCents?stringPrice received when this item was sold, in cents. Unset until the sale completes.
Format"int64"
sellingContractId?stringThe selling contract that sold the item, stamped when the sale closes. Unset until then, and when the sale carried no contract.
Format"byte" base64
sellingMarketplace?stringThe marketplace that sold the item, stamped when the sale closes: the market the sale settled on, also for a sale made through the listing. Unset until then, and when the sale named no market.
soldAt?stringWhen the sale completed. Unset before sale or for legacy sold rows without a recorded sale timestamp. Use updated_at as the display fallback for those legacy rows, matching SOLD_AT_DESC order.
Format"date-time"
status?stringCurrent inventory item lifecycle state.
Value in"INVENTORY_"INVENTORY_"INVENTORY_"INVENTORY_"INVENTORY_
tradable?booleanSteam's authoritative per-item tradable flag. False while the item is under a post-trade hold. The sell-candidate read (ListInventoryItems with sellable_only) excludes any item that is not tradable, so it is the safety floor that keeps a held item off every market.
tradableAfter?stringWhen a held item's post-trade hold lifts, parsed from Steam. Unset when there is no hold or when Steam withheld a parseable date for a held item. The precise reactivation and Tradable-after badge signal.
Format"date-time"
updatedAt?stringWhen the inventory item was last modified.
Format"date-time"
version?stringOptimistic concurrency version. Incremented on every update.
Format"int64"
workspaceId?stringWorkspace that owns the item.
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/GetInventoryItem" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx"
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx"
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", 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/GetInventoryItem",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx"
},
)
data = res.json(){
"inventoryItem": {
"id": "aW52ZW50b3J5LWl0ZW0tMDAx",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"purchaseId": "MDEyMzQ1Njc4OWFiY2RlZg==",
"contractId": "EBESExQVFhcYGRobHB0eHw==",
"marketHashName": "AK-47 | Redline (Field-Tested)",
"status": "INVENTORY_ITEM_STATUS_IN_INVENTORY",
"version": "2",
"currentAssetId": "29384710999",
"buyPriceCents": "4200",
"createdAt": "2026-04-10T09:12:00Z",
"updatedAt": "2026-04-10T09: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."
}curl -X POST "https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDA3"
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDA3"
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDA3"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", 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/GetInventoryItem",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDA3"
},
)
data = res.json(){
"inventoryItem": {
"id": "aW52ZW50b3J5LWl0ZW0tMDA3",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"purchaseId": "YWJjZGVmMDEyMzQ1Njc4OQ==",
"contractId": "MDEyMzQ1Njc4OTo7PD0+Pw==",
"marketHashName": "M4A4 | Howl (Minimal Wear)",
"status": "INVENTORY_ITEM_STATUS_IN_INVENTORY",
"version": "1",
"currentAssetId": "33558120947",
"buyPriceCents": "245000",
"floatValue": 0.0921,
"tradable": false,
"tradableAfter": "2026-07-06T14:30:00Z",
"createdAt": "2026-06-29T14:30:00Z",
"updatedAt": "2026-06-29T14:30: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/GetInventoryItem" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAy"
}'const res = await fetch("https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAy"
}),
});
const data = await res.json();body := strings.NewReader(`{
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAy"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/contracts.v1.Contracts/GetInventoryItem", 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/GetInventoryItem",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAy"
},
)
data = res.json(){
"inventoryItem": {
"id": "aW52ZW50b3J5LWl0ZW0tMDAy",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"purchaseId": "ZmVkY2JhOTg3NjU0MzIxMA==",
"contractId": "ICEiIyQlJicoKSorLC0uLw==",
"marketHashName": "AWP | Asiimov (Field-Tested)",
"status": "INVENTORY_ITEM_STATUS_SOLD",
"version": "5",
"currentAssetId": "31002847551",
"buyPriceCents": "7350",
"sellPriceCents": "9100",
"floatValue": 0.2487,
"tradable": true,
"createdAt": "2026-05-02T18:20:00Z",
"updatedAt": "2026-05-19T11:05: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."
}