Info

๐ŸŽฏ Retrieve all cs2 collections with items

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`
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

Query parameters

Your API key for authentication. Retrieve it from your Dashboard (top-right corner).

Select specific fields to return. Reduces response size and time. Example: "name,logo". Optional.

Limit the number of results returned. Default is 10000.

Offset for pagination. Default is 0.

Set to 1 to bypass cache and fetch fresh data. Default is 0.

formatstring

Response format: json (default), csv, xml, html, gzip, zip, ndjson, mysql, mysql_with_table, pgsql, pgsql_with_table, mongo. Example: ?format=csv

pretty'0' | '1'

Pretty-print JSON (set to 1 for json/gzip/zip formats). Example: ?format=json&pretty=1

Response

Request was successful, and all collections are returned.

Changes

No recorded changes to this operation across all 1 revision of this API.