Goldmine
Inventory

Fetch a single inventory item by ID

POST
/contracts.v1.Contracts/GetInventoryItem

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.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/contracts.v1.Contracts/GetInventoryItem" \  -H "Content-Type: application/json" \  -d '{    "inventoryItemId": "aW52ZW50b3J5LWl0ZW0tMDAx"  }'

{
  "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."
}