Skip to Content
Steambuff API
Items

Get collection

1 creditAll plans
GET
/v1/cs2/collections/{slug}

One CS2 collection with every item in it.

Authorization

headerx-api-key<token>

Path Parameters

slug*string

The collection's slug, as /v1/cs2/collections and an item's collections give it

Length1 <= length <= 200

Response Body

The collection

application/json
  1. response
slug*string

Its id here, as /v1/cs2/collections/{slug}, an item's collections and the collection filter of /v1/cs2/items take it

name*string
image*string|null
releaseDate*|

Release day, YYYY-MM-DD

Formatdate
itemCount*integer

Items in the collection

minPrice*|

The lowest offer outside Steam across its items, integer USD cents; null when nothing is listed

maxPrice*|

The lowest offer outside Steam of its dearest item's dearest version, integer USD cents; null when nothing is listed

listings*integer

Offers on sale outside Steam across its items

change7d*|

Percent move of its items' lowest offers over 7 days, each weighted by its listings; null without a baseline

rarities*array<>

Items per grade, the rarest first. Items with no grade are left out, so the counts can add up to less than itemCount

crates*array<>

The crates that drop its items, by name; empty when none does

items*array<>

Every item in it that trades, as /v1/cs2/grouped-items lists it, the rarest first, then by name

Example Request
curl -X GET 'https://api.steambuff.app/v1/cs2/collections/%7Bslug%7D'
Example Response
{  "slug": "the-2021-train-collection",  "name": "The 2021 Train Collection",  "image": "https://cdn.steamstatic.com/apps/730/icons/econ/set_icons/set_train_2021.a000b6d4ae1978aeced8ec31aa8ef5a0014dae29.png",  "releaseDate": "2021-09-22",  "itemCount": 21,  "minPrice": 97,  "maxPrice": 748723,  "listings": 32782,  "change7d": 2.41,  "rarities": [    {      "name": "Covert",      "color": "#eb4b4b",      "count": 6    },    {      "name": "Classified",      "color": "#d32ce6",      "count": 3    },    {      "name": "Restricted",      "color": "#8847ff",      "count": 5    },    {      "name": "Mil-Spec Grade",      "color": "#4b69ff",      "count": 7    }  ],  "crates": [],  "items": [    {      "slug": "glock-18-gamma-doppler-emerald",      "name": "Glock-18 | Gamma Doppler",      "type": "skin",      "category": "pistol",      "weapon": "Glock-18",      "image": "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL2kpnj9h1a4s2rZaF_IfyXMWqR0-x6tehzSi2MkhEosDa6lob-KT-JPwZzA5J4F-8Mt0a-ktTvNeyws1PfjIsQyiX9h3gYvSpr5bwFWash-7qX0V9IgS2WPw",      "rarity": {        "name": "Covert",        "color": "#eb4b4b"      },      "phase": "Emerald",      "inspectLink": "steam://run/730//+csgo_econ_action_preview%2000180420DF0828063004380005D378D4",      "minPrice": 12806,      "maxPrice": 748723,      "qualities": [        {          "quality": "normal",          "minPrice": 12806,          "maxPrice": 25500        },        {          "quality": "souvenir",          "minPrice": 74872,          "maxPrice": 748723        }      ],      "listings": 793,      "variantCount": 10,      "collections": [        {          "slug": "the-2021-train-collection",          "name": "The 2021 Train Collection"        }      ],      "crates": []    }  ]}