Developer API

CS2 Collection API

Chaque case CS2, capsule et collection — avec leurs drop pools, distribution rareté et prix en direct — via un endpoint REST.

Endpoints

All endpoints return JSON, accept the same auth header, and degrade with a normalised error envelope.

GET /steam/api/cs/collections
GET /steam/api/cs/collection/{slug}
GET /steam/api/cs/containers

CS2 Collection API — quickstart

Same auth header as every other endpoint we ship. Get an API key from the dashboard and you're querying inside two minutes.

  • Single auth header, JSON response.
  • Rate limits scale with your plan tier.
  • Full schema in the API reference.
API Request
# curl with API key
curl "https://www.steamwebapi.com/steam/api/cs/collections?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/steam/api/cs/collections?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/cs/collections?key=${KEY}`);
const data = await r.json();

About this API

La Collection API vous donne la liste complète de set pour n'importe quel container CS2, capsule ou collection : quels items sont à l'intérieur, leur rareté, poids de drop et prix actuels du marché.

FAQ

Are containers and collections both included?

Yes — both. Containers (cases/capsules) and collections (map drop pools) share the same DTO.

Are prices live?

Yes — each item in a collection is joined with its current Steam price.

How do I list every collection?

GET /steam/api/cs/collections. For a single one by slug, GET /steam/api/cs/collection/{slug}.

Start building with the CS2 Collection API

One key, every Steam endpoint.