Welcome to the unofficial JSON API for Counter-Strike 2. This API provides access to various data aspects of the game, parsed into JSON format for easier integration and use.
You can find this project source code on GitHub.
The hosted API currently ships
2 languages (out of
28 available). Replace
{language}
in the URL with one of the folder codes below:
Languages are selected by folder code
(en, ru,
zh-CN, ...).
Locally
npm install
node update.js --languages en,ru,uk
node group.js --languages en,ru,uk
Use --languages all to run every
available language. --force skips
the manifest cache check.
In a fork
Set LANGUAGES under
Settings → Secrets and variables → Actions → Variables
(value: en,ru,uk, or all).
Scheduled runs use it.
To override once: Actions → Update and Group JSON API → Run workflow,
fill the languages input (takes priority
over the variable).
Available folder codes:
Object with all items accessible by their id.
Returns an array of all weapon skins grouped by pattern and wear condition.
Returns an array of all weapon skins with each wear condition as a separate item.
Returns an array of all available stickers.
Returns an array of sticker slabs (sealed stickers that can be opened).
Returns an array of all weapon charms/keychains.
Returns an array of all weapon skin collections.
This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.
Returns an array of all case keys.
Returns an array of all collectible items (coins, medals, etc.).
Returns an array of all player agents/characters.
Returns an array of all agent patches.
Returns an array of all graffiti items.
Returns an array of all music kits.
Returns an array of all base weapons and default items (gloves, knives, etc.).
Returns an array of tournament highlight charms.
All items grouped by category for easy lookup. Skins use weapon_id and paint_index as keys, while other categories use def_index.