---
title: "🎯 Retrieve a CS2/CS:GO Collection or Case"
method: GET
path: "/steam/api/cs/collection/{slug}"
tags: ["Info"]
---

# 🎯 Retrieve a CS2/CS:GO Collection or Case

`GET /steam/api/cs/collection/{slug}`

## Request

- Base URL: `https://www.steamwebapi.com`
- URL: `https://www.steamwebapi.com/steam/api/cs/collection/{slug}`
- Auth: API key in query parameter `key`

Baseurl: https://www.steamwebapi.com/steam/api/cs/collection/{slug}

    💬 **What this endpoint does:**
    - Retrieves a list of all collections and their items (skins) from CS2/CS:GO.
    - Provides detailed information about a specific collection or case.

    🛠️ **Features:**
    - Fetches all items (skins) belonging to a specific collection or case.
    - Supports both CS2 and CS:GO collections.

    🌐 **How to use:**
    - Replace `{slug}` with the collection's unique identifier to fetch the desired data.

## Path parameters

- `slug` string, required

## Query parameters

- `format` string
- `pretty` '0' | '1'

## Response `200`

Request was successful, and the collection data is returned.

## Other responses

- `404`: The specified collection or case was not found.

---

[API](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation.md) · [All operations](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/revisions/f9a4109cbda6?raw)
