# Get crate (/api-reference/cs2/items/get-crate)

`GET /v1/cs2/crates/{slug}`

One CS2 crate with everything it drops and, for a case or a souvenir package, what opening it costs and gives. Costs 1 credit. Every plan includes it.

```json
{
  "servers": [
    {
      "url": "https://api.steambuff.app"
    }
  ],
  "paths": {
    "/v1/cs2/crates/{slug}": {
      "get": {
        "tags": [
          "CS2 items"
        ],
        "operationId": "get-crate",
        "summary": "Get crate",
        "description": "One CS2 crate with everything it drops and, for a case or a souvenir package, what opening it costs and gives.",
        "x-usage": {
          "credits": 1,
          "per": "call",
          "plan": "free",
          "planName": "Free"
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "The crate's slug, as `/v1/cs2/crates` and an item's `crates` give it",
              "example": "chroma-2-case"
            },
            "required": true,
            "description": "The crate's slug, as `/v1/cs2/crates` and an item's `crates` give it",
            "name": "slug",
            "in": "path",
            "example": "{slug}"
          }
        ],
        "responses": {
          "200": {
            "description": "The crate",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "X-Credits-Limit": {
                "schema": {
                  "type": "integer",
                  "description": "The plan's monthly credits"
                },
                "required": true,
                "description": "The plan's monthly credits"
              },
              "X-Credits-Remaining": {
                "schema": {
                  "type": "integer",
                  "description": "Credits left in the current monthly window"
                },
                "required": true,
                "description": "Credits left in the current monthly window"
              },
              "X-Credits-Reset": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds until the credits reset"
                },
                "required": true,
                "description": "Seconds until the credits reset"
              },
              "X-Credits-Cost": {
                "schema": {
                  "type": "integer",
                  "description": "Credits this request cost; 0 when it didn't succeed"
                },
                "required": true,
                "description": "Credits this request cost; 0 when it didn't succeed"
              }
            },
            "content": {
              "application/json": {
                "example": {
                  "slug": "chroma-2-case",
                  "name": "Chroma 2 Case",
                  "image": "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bj35VTqVBP4io_fqmwOuKD2PqI6caDBWDeUkO8uteM9SnDglklw6miEn9j6IHKfblNxA5pxW6dU5UH4LtBe",
                  "kind": "case",
                  "releaseDate": "2015-04-15",
                  "itemCount": 75,
                  "minPrice": 228,
                  "minMarketplace": "skinport",
                  "steamPrice": 289,
                  "listings": 29966,
                  "change24h": 0.87,
                  "change7d": -3.12,
                  "change30d": 5.4,
                  "opening": {
                    "cost": 477,
                    "key": {
                      "name": "Chroma 2 Case Key",
                      "price": 249
                    },
                    "expectedValue": 240,
                    "profitChance": 4.94,
                    "stattrakChance": 10,
                    "tiers": [
                      {
                        "tier": "rare",
                        "name": "Rare special items",
                        "color": "#e4ae39",
                        "chance": 0.26,
                        "itemChance": 0.008667,
                        "minPrice": 3763,
                        "maxPrice": 2994893,
                        "averageValue": 30493,
                        "expectedValue": 79
                      },
                      {
                        "tier": "Covert",
                        "name": "Covert",
                        "color": "#eb4b4b",
                        "chance": 0.64,
                        "itemChance": 0.32,
                        "minPrice": 8236,
                        "maxPrice": 31475,
                        "averageValue": 8766,
                        "expectedValue": 56
                      },
                      {
                        "tier": "Classified",
                        "name": "Classified",
                        "color": "#d32ce6",
                        "chance": 3.2,
                        "itemChance": 1.066667,
                        "minPrice": 814,
                        "maxPrice": 10947,
                        "averageValue": 990,
                        "expectedValue": 32
                      },
                      {
                        "tier": "Restricted",
                        "name": "Restricted",
                        "color": "#8847ff",
                        "chance": 15.98,
                        "itemChance": 3.995,
                        "minPrice": 90,
                        "maxPrice": 996,
                        "averageValue": 150,
                        "expectedValue": 24
                      },
                      {
                        "tier": "Mil-Spec Grade",
                        "name": "Mil-Spec",
                        "color": "#4b69ff",
                        "chance": 79.92,
                        "itemChance": 13.32,
                        "minPrice": 17,
                        "maxPrice": 1902,
                        "averageValue": 61,
                        "expectedValue": 49
                      }
                    ]
                  },
                  "items": [
                    {
                      "slug": "bayonet-doppler-phase-2",
                      "name": "★ Bayonet | Doppler",
                      "type": "skin",
                      "category": "knife",
                      "weapon": "Bayonet",
                      "image": "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyLzn4_v8ydP0POjV6BiMOCfC3Wv0eZ3o-Q7cCW6khUz_TjRnNesInvCZ1chXsZ0FLZfsEKxltOyZOzitQLdj40WnCSq3SpO5yt1o7FVDNJZV5E",
                      "rarity": {
                        "name": "Covert",
                        "color": "#eb4b4b"
                      },
                      "phase": "Phase 2",
                      "inspectLink": "steam://run/730//+csgo_econ_action_preview%200018F40320A303280630033800164AA3F4",
                      "minPrice": 32500,
                      "maxPrice": 55075,
                      "qualities": [
                        {
                          "quality": "normal",
                          "minPrice": 32500,
                          "maxPrice": 49199
                        },
                        {
                          "quality": "stattrak",
                          "minPrice": 38499,
                          "maxPrice": 55075
                        }
                      ],
                      "listings": 350,
                      "variantCount": 4,
                      "collections": [],
                      "crates": [
                        {
                          "slug": "chroma-case",
                          "name": "Chroma Case"
                        },
                        {
                          "slug": "chroma-2-case",
                          "name": "Chroma 2 Case"
                        },
                        {
                          "slug": "chroma-3-case",
                          "name": "Chroma 3 Case"
                        }
                      ],
                      "rare": true,
                      "chance": 0.001952
                    },
                    {
                      "slug": "bayonet-doppler-ruby",
                      "name": "★ Bayonet | Doppler",
                      "type": "skin",
                      "category": "knife",
                      "weapon": "Bayonet",
                      "image": "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyLzn4_v8ydP0POjV7Z4IumsA2aCw-JzuftsSxa_nBovp3PWnomsdn2QPVN0D5UiEOUP50LtltTvY-Ll4g3YjItFmSv-2i9A6X4-_a9cBu2YVmHc",
                      "rarity": {
                        "name": "Covert",
                        "color": "#eb4b4b"
                      },
                      "phase": "Ruby",
                      "inspectLink": "steam://run/730//+csgo_econ_action_preview%200018F403209F03280630033800ECB5FF7E",
                      "minPrice": 134420,
                      "maxPrice": 199800,
                      "qualities": [
                        {
                          "quality": "normal",
                          "minPrice": 134420,
                          "maxPrice": 149915
                        },
                        {
                          "quality": "stattrak",
                          "minPrice": 199800,
                          "maxPrice": 199800
                        }
                      ],
                      "listings": 116,
                      "variantCount": 4,
                      "collections": [],
                      "crates": [
                        {
                          "slug": "chroma-case",
                          "name": "Chroma Case"
                        },
                        {
                          "slug": "chroma-2-case",
                          "name": "Chroma 2 Case"
                        },
                        {
                          "slug": "chroma-3-case",
                          "name": "Chroma 3 Case"
                        }
                      ],
                      "rare": true,
                      "chance": 0.00039
                    }
                  ]
                },
                "schema": {
                  "$ref": "#/components/schemas/CrateDetail"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing, invalid or revoked",
            "content": {
              "application/json": {
                "examples": {
                  "API_KEY_MISSING": {
                    "summary": "No API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_MISSING",
                      "message": "Send your API key in the x-api-key header or as Authorization: Bearer <key>.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "API_KEY_INVALID": {
                    "summary": "An invalid or revoked API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_INVALID",
                      "message": "The API key is invalid or has been revoked.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No crate has that slug",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "NOT_FOUND",
                  "message": "No crate has that slug.",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "A parameter is invalid; `details` lists each failure",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "VALIDATION_ERROR",
                  "message": "Request validation failed",
                  "details": [
                    {
                      "path": "slug",
                      "message": "Too big: expected string to have <=200 characters"
                    }
                  ],
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests this minute, or this month's credits are used up",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds to wait before retrying"
                },
                "required": true,
                "description": "Seconds to wait before retrying"
              }
            },
            "content": {
              "application/json": {
                "examples": {
                  "RATE_LIMITED": {
                    "summary": "Too many requests this minute",
                    "value": {
                      "error": true,
                      "code": "RATE_LIMITED",
                      "message": "The Free plan allows 10 requests per minute.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "MONTHLY_QUOTA_EXCEEDED": {
                    "summary": "This month's credits are used up",
                    "value": {
                      "error": true,
                      "code": "MONTHLY_QUOTA_EXCEEDED",
                      "message": "The Free plan's 1,000 monthly credits are used up. They reset at 2026-12-01T00:00:00.000Z. A bigger plan has more: https://steambuff.app/api.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CrateDetail": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Crate"
          },
          {
            "type": "object",
            "properties": {
              "opening": {
                "$ref": "#/components/schemas/Opening"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CrateItem"
                },
                "description": "Everything it drops that trades, each as `/v1/cs2/grouped-items` lists it: the rare special items first, then the rarest grade first, then by name"
              }
            },
            "required": [
              "opening",
              "items"
            ]
          }
        ]
      },
      "Crate": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Its id here, as `/v1/cs2/crates/{slug}` and an item's `crates` give it. A crate is an item too: `/v1/cs2/grouped-items/{slug}` has its prices on every marketplace",
            "example": "chroma-2-case"
          },
          "name": {
            "type": "string",
            "example": "Chroma 2 Case"
          },
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string",
            "enum": [
              "case",
              "souvenir-package",
              "collection-package",
              "sticker-capsule",
              "autograph-capsule",
              "music-kit-box",
              "patch-pack",
              "graffiti-box",
              "collectible-capsule"
            ],
            "description": "`case` holds the Sealed Terminals too, `souvenir-package` the highlight packages, `collectible-capsule` the pins capsules"
          },
          "releaseDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "First day on sale, YYYY-MM-DD; null for most souvenir packages"
          },
          "itemCount": {
            "type": "integer",
            "description": "What it drops, the rare special items included"
          },
          "minPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Its lowest offer outside Steam; null when nothing but Steam lists it, integer USD cents"
          },
          "minMarketplace": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "skinport",
              "dmarket",
              "csmoney",
              "buff163",
              "lisskins",
              "csfloat",
              "marketcsgo",
              "avanmarket",
              "waxpeer",
              "shadowpay",
              null
            ],
            "description": "Where `minPrice` is"
          },
          "steamPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Steam's lowest listing, in Steam Wallet funds, which can't be cashed out; null when Steam lists none, integer USD cents"
          },
          "listings": {
            "type": "integer",
            "description": "Offers on sale outside Steam"
          },
          "change24h": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percent move of `minPrice` over 24 hours; null without a baseline"
          },
          "change7d": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percent move of `minPrice` over 7 days; null without a baseline"
          },
          "change30d": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percent move of `minPrice` over 30 days; null without a baseline"
          }
        },
        "required": [
          "slug",
          "name",
          "image",
          "kind",
          "releaseDate",
          "itemCount",
          "minPrice",
          "minMarketplace",
          "steamPrice",
          "listings",
          "change24h",
          "change7d",
          "change30d"
        ]
      },
      "Opening": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "cost": {
            "type": "integer",
            "description": "`minPrice` and the key at Steam's store price, integer USD cents"
          },
          "key": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "name": {
                "type": "string",
                "example": "Chroma 2 Case Key"
              },
              "price": {
                "type": "integer",
                "description": "Steam's store price, integer USD cents"
              }
            },
            "required": [
              "name",
              "price"
            ],
            "description": "A case's key; a souvenir package needs none"
          },
          "expectedValue": {
            "type": "integer",
            "description": "What an opening gives on average, integer USD cents: each drop at the lowest offer outside Steam of the exterior and quality it comes in"
          },
          "profitChance": {
            "type": "number",
            "description": "The chance a drop is worth more than `cost`, percent"
          },
          "stattrakChance": {
            "type": "number",
            "description": "The chance a drop is StatTrak™, percent: 10 from a case, 0 from a package"
          },
          "tiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTier"
            },
            "description": "The rarest first"
          }
        },
        "required": [
          "cost",
          "key",
          "expectedValue",
          "profitChance",
          "stattrakChance",
          "tiers"
        ],
        "description": "What opening it costs and gives; null for a crate that isn't a case or a souvenir package, or that nothing lists. A case's odds are Valve's published ones. A souvenir package's grades are each a fifth as likely as the one below, as Valve publishes none, and its stickers aren't counted, so its value is a floor. An exterior's chance follows the floats players have measured, scaled into the skin's range"
      },
      "OpeningTier": {
        "type": "object",
        "properties": {
          "tier": {
            "type": "string",
            "description": "`rare` for the rare special items, the knives or gloves; else the grade's name",
            "example": "Covert"
          },
          "name": {
            "type": "string",
            "example": "Covert"
          },
          "color": {
            "type": [
              "string",
              "null"
            ],
            "description": "Its hex colour"
          },
          "chance": {
            "type": "number",
            "description": "Its chance per opening, percent"
          },
          "itemChance": {
            "type": "number",
            "description": "Each of its finishes' chance, percent; a Doppler's phases split their finish's"
          },
          "minPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Its cheapest finish's lowest offer outside Steam, in the crate's quality, integer USD cents"
          },
          "maxPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Its dearest finish's, integer USD cents"
          },
          "averageValue": {
            "type": "integer",
            "description": "What one of its drops is worth on average, integer USD cents"
          },
          "expectedValue": {
            "type": "integer",
            "description": "What it adds to an opening's `expectedValue`, integer USD cents"
          }
        },
        "required": [
          "tier",
          "name",
          "color",
          "chance",
          "itemChance",
          "minPrice",
          "maxPrice",
          "averageValue",
          "expectedValue"
        ]
      },
      "CrateItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/GroupedItem"
          },
          {
            "type": "object",
            "properties": {
              "rare": {
                "type": "boolean",
                "description": "One of the rare special items, a knife or gloves, rather than an ordinary drop"
              },
              "chance": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Its chance per opening, percent; a Doppler phase's is its share of the finish's. Null when the crate has no `opening`"
              }
            },
            "required": [
              "rare",
              "chance"
            ]
          }
        ]
      },
      "GroupedItem": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Its id here, as `/v1/cs2/grouped-items/{slug}` and `itemSlug` in `/v1/cs2/items` give it",
            "example": "ak-47-redline"
          },
          "name": {
            "type": "string",
            "example": "AK-47 | Redline"
          },
          "type": {
            "type": "string",
            "description": "The catalog's kind: \"skin\", \"sticker\", \"crate\", \"keychain\", \"agent\", …"
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "knife",
              "gloves",
              "pistol",
              "rifle",
              "sniper-rifle",
              "smg",
              "shotgun",
              "machinegun",
              "sticker",
              "container",
              "charm",
              "agent",
              "music-kit",
              "equipment",
              null
            ],
            "description": "Its category, as the `category` filter names it; null for one in none",
            "example": "rifle"
          },
          "weapon": {
            "type": [
              "string",
              "null"
            ],
            "example": "AK-47"
          },
          "image": {
            "type": [
              "string",
              "null"
            ]
          },
          "rarity": {
            "$ref": "#/components/schemas/Rarity"
          },
          "phase": {
            "type": [
              "string",
              "null"
            ],
            "description": "A Doppler's phase (\"Phase 4\", \"Ruby\"…); each phase is an item of its own"
          },
          "inspectLink": {
            "type": [
              "string",
              "null"
            ],
            "description": "Its `steam://` Inspect in Game link; null for kinds CS2 can't preview"
          },
          "minPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The lowest offer outside Steam across every exterior and quality, integer USD cents; null when nothing is listed"
          },
          "maxPrice": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The lowest offer outside Steam of its dearest version, integer USD cents; null when nothing is listed"
          },
          "qualities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupedItemQuality"
            },
            "description": "The price range of each quality it's listed in"
          },
          "listings": {
            "type": "integer",
            "description": "Offers on sale outside Steam across every version"
          },
          "variantCount": {
            "type": "integer",
            "description": "Its tradable versions: each exterior, StatTrak™ and Souvenir counted apart"
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CollectionRef"
            }
          },
          "crates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CrateRef"
            },
            "description": "What it drops from"
          }
        },
        "required": [
          "slug",
          "name",
          "type",
          "category",
          "weapon",
          "image",
          "rarity",
          "phase",
          "inspectLink",
          "minPrice",
          "maxPrice",
          "qualities",
          "listings",
          "variantCount",
          "collections",
          "crates"
        ]
      },
      "Rarity": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "Classified"
          },
          "color": {
            "type": [
              "string",
              "null"
            ],
            "description": "The grade's hex colour"
          }
        },
        "required": [
          "name",
          "color"
        ]
      },
      "GroupedItemQuality": {
        "type": "object",
        "properties": {
          "quality": {
            "type": "string",
            "enum": [
              "normal",
              "stattrak",
              "souvenir"
            ]
          },
          "minPrice": {
            "type": "integer",
            "description": "The lowest offer outside Steam across this quality's exteriors, integer USD cents"
          },
          "maxPrice": {
            "type": "integer",
            "description": "The lowest offer outside Steam of this quality's dearest exterior, integer USD cents"
          }
        },
        "required": [
          "quality",
          "minPrice",
          "maxPrice"
        ]
      },
      "CollectionRef": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "example": "the-phoenix-collection"
          },
          "name": {
            "type": "string",
            "example": "The Phoenix Collection"
          }
        },
        "required": [
          "slug",
          "name"
        ]
      },
      "CrateRef": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "example": "operation-phoenix-weapon-case"
          },
          "name": {
            "type": "string",
            "example": "Operation Phoenix Weapon Case"
          }
        },
        "required": [
          "slug",
          "name"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "details": {},
          "requestId": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "code",
          "message"
        ]
      }
    }
  }
}
```