---
title: "🎯 Retrieve all cs2 collections with items"
method: GET
path: "/steam/api/cs/collections"
tags: ["Info"]
---

# 🎯 Retrieve all cs2 collections with items

`GET /steam/api/cs/collections`

## Request

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

Base URL: https://www.steamwebapi.com/steam/api/cs/collections

        💬 **What this endpoint does:**
        - Retrieves a list of all CS2 and CS:GO collections.
        - Each collection includes detailed information about its items (skins) and containers (cases/capsules).

        🛠️ **Features:**
        - Fetches all collections along with the associated skins.
        - Removes duplicate items within a collection based on `groupid`.
        - Includes container information (e.g., cases, souvenir packages).
        - Supports both CS2 and CS:GO collections.

        🌐 **How to use:**
        - No body or path parameters needed.
        - Simply call the endpoint with your `key` as a query parameter.

        **Request URL Example:**
        `https://www.steamwebapi.com/steam/api/cs/collections?key=YOUR_API_KEY`

## Query parameters

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

## Response `200`

Request was successful, and all collections are returned.

## Other responses

- `400`: Missing or invalid parameters.

---

[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)
