Skip to Content
Steambuff API
Items

Get crate

1 creditAll plans
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.

Authorization

headerx-api-key<token>

Path Parameters

slug*string

The crate's slug, as /v1/cs2/crates and an item's crates give it

Length1 <= length <= 200

Response Body

The crate

application/json
  1. response
slug*string

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

name*string
image*string|null
kind*string

case holds the Sealed Terminals too, souvenir-package the highlight packages, collectible-capsule the pins capsules

Value in"case""souvenir-package""collection-package""sticker-capsule""autograph-capsule""music-kit-box""patch-pack""graffiti-box""collectible-capsule"
releaseDate*|

First day on sale, YYYY-MM-DD; null for most souvenir packages

Formatdate
itemCount*integer

What it drops, the rare special items included

minPrice*|

Its lowest offer outside Steam; null when nothing but Steam lists it, integer USD cents

minMarketplace*|

Where minPrice is

Value in"skinport""dmarket""csmoney""buff163""lisskins""csfloat""marketcsgo""avanmarket""waxpeer""shadowpay"null
steamPrice*|

Steam's lowest listing, in Steam Wallet funds, which can't be cashed out; null when Steam lists none, integer USD cents

listings*integer

Offers on sale outside Steam

change24h*|

Percent move of minPrice over 24 hours; null without a baseline

change7d*|

Percent move of minPrice over 7 days; null without a baseline

change30d*|

Percent move of minPrice over 30 days; null without a baseline

opening*|

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

items*array<>

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

Example Request
curl -X GET 'https://api.steambuff.app/v1/cs2/crates/%7Bslug%7D'
Example Response
{  "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    }  ]}