Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Repository files navigation

Introduction

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.

Data are sourced from files maintained at this repository.

Usage

This API currently supports 2 languages. To access information in a specific language, replace {language} in the URL with one of the supported language codes listed below.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/{language}

Currently Supported Languages

Language NameLanguage Code
Englishen
Chinese (Simplified)zh-CN

Adding More Languages

If you need support for additional languages, you can:

  1. Fork this repository
  2. Uncomment the desired languages in constants.js (lines 24-173)
  3. Run the update scripts to generate the language files:
    npm run update-data-force
    npm run group-data-force

The following languages are available but commented out in the codebase:

  • Bulgarian (bg), Czech (cs), Danish (da), German (de), Greek (el)
  • Spanish Mexico (es-MX), Finnish (fi), French (fr), Hungarian (hu)
  • Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Norwegian (no)
  • Polish (pl), Portuguese Portugal (pt-PT), Romanian (ro)
  • Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk)
  • Chinese Traditional (zh-TW), Vietnamese (vi)

All items

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json

Example response:

[{id: "skin-65604",name: "Desert Eagle | Urban DDPAT",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},stattrak: false,souvenir: true,paint_index: "17",wears: [{id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},// ...],collections: [{id: "collection-set-overpass",name: "The Overpass Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_overpass_png.png",},],crates: [{id: "crate-4028",name: "ESL One Cologne 2014 Overpass Souvenir Package",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_esl14_promo_de_overpass_png.png",},// ...],team: {id: "both",name: "Both Teams",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List skins not grouped

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins_not_grouped.json

Similar to the previous but in this case is not grouped by wear (Factory New, Field-Tested, etc) and state (normal, stattrak, souvenir).

Example response:

[{id: "skin-65604_0",skin_id: "skin-65604",name: "Desert Eagle | Urban DDPAT (Factory New)",description:
"As expensive as it is powerful, the Desert Eagle is an iconic pistol that is difficult to master but surprisingly accurate at long range. It has been painted using a Digital Disruptive Pattern (DDPAT) hydrographic.\\n\\n<i>By the time you're close enough to notice the pixels it's already too late</i>",weapon: {id: "weapon_deagle",weapon_id: 1,name: "Desert Eagle",},category: {id: "csgo_inventory_weapon_category_pistols",name: "Pistols",},pattern: {id: "hy_ddpat_urb",name: "Urban DDPAT",},min_float: 0.06,max_float: 0.8,wear: {id: "SFUI_InvTooltip_Wear_Amount_0",name: "Factory New",},stattrak: false,souvenir: false,paint_index: "17",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},market_hash_name: "Desert Eagle | Urban DDPAT (Factory New)",team: {id: "both",name: "Both Teams",},style: {id: 2,name: "Hydrographic",url: "https://www.counter-strike.net/workshop/workshopfinishes#hydrographic",},legacy_model: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_deagle_hy_ddpat_urb_light_png.png",},// ...]

List stickers

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/stickers.json

Example response:

[{id: "sticker-75",name: "Sticker | Titan | Katowice 2014",description:
"<span style='color:#ffd700;'>This item commemorates the The 2014 EMS One Katowice CS:GO Championship.</span><br/><br/> This sticker can be applied to any weapon you own and can be scraped to look more worn. You can scrape the same sticker multiple times, making it a bit more worn each time, until it is removed from the weapon.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_sticker_pack_kat2014_02_png.png",},],tournament_event: "Katowice 2014",tournament_team: "Titan",type: "Team",market_hash_name: "Sticker | Titan | Katowice 2014",effect: "Other",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/emskatowice2014/titan_png.png",},// ...]

List sticker slabs

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/sticker_slabs.json

Example response:

[{id: "sticker_slab-75",name: "Sticker Slab | Titan | Katowice 2014",description: "The sticker is safely sealed in this slab. You can return the sticker to your inventory at any time by cracking open and discarding this slab.<br><br>This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",def_index: "75",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4015",name: "EMS Katowice 2014 Legends",image: "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSU91dh8bjn_lDkShjjoYbh_ilk5PO6OvQ8dM_DXCnHkOgktbhoHyqxxRh0tWiDnIr4dnKSOAUoC5J1TbJZ4Bi8k9HlY-Li-UWA3NcCqy5X",},],collections: [],type: "Team",market_hash_name: "Sticker Slab | Titan | Katowice 2014",effect: "Other",tournament: {id: 3,name: "2014 EMS One Katowice",},team: {id: 27,tag: "TIT",geo: "FR",name: "Titan",},image: "https://cdn.steamstatic.com/apps/730/icons/econ/stickers/emskatowice2014/titan_1355_37.13ccde686799abb2976807a757a42e144246a28d.png",original: {name: "kat2014_titan",image_inventory: "econ/stickers/emskatowice2014/titan_1355_37",},},// ...]

List keychains (charms)

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keychains.json

Example response:

[{id: "keychain-1",name: "Charm | Lil' Ava",description:
"This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},collections: [{id: "collection-set-kc-missinglink",name: "Missing Link Charm Collection",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_kc_missinglink_png.png",},],market_hash_name: "Charm | Lil' Ava",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png",},// ...]

List collections

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collections.json

Example response:

[{id: "collection-set-community-3",name: "The Huntsman Collection",crates: [{id: "crate-4017",name: "Huntsman Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_3_png.png",},],contains: [{id: "skin-1967292",name: "Tec-9 | Isaac",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "303",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_tec9_cu_tec9_asiimov_light_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_community_3_png.png",},// ...]

List crates

This list includes cases, capsules, graffiti boxes, music kit boxes and souvenir packages.

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/crates.json

Example response:

[{id: "crate-4904",name: "Kilowatt Case",description: null,type: "Case",first_sale_date: "2024-01-16",contains: [{id: "skin-135748",name: "Dual Berettas | Hideout",rarity: {id: "rarity_rare_weapon",name: "Mil-Spec Grade",color: "#4b69ff",},paint_index: "1169",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/default_generated/weapon_elite_dual_berettas_lethal_grin_light_png.png",},// ...],contains_rare: [{id: "skin-vanilla-weapon_knife_kukri",name: "★ Kukri Knife",rarity: {id: "rarity_ancient_weapon",name: "Covert",color: "#eb4b4b",},paint_index: null,phase: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/weapon_knife_kukri_png.png",},// ...],market_hash_name: "Kilowatt Case",rental: true,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_png.png",model_player: "models/props/crates/csgo_drop_crate_community_33.vmdl",loot_list: {name: "★ Kukri Knife ★",footer: "or an Exceedingly Rare Kukri Knife!",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_community_33_rare_item_png.png"}},// ...]

List keys

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/keys.json

Example response:

[{id: "key-generic_valve_key",name: "CS:GO Case Key",description:
"This key will open any Valve Series Weapon Case. Non-Valve Series cases (e.g. eSports Case) require their own key to open.",market_hash_name: "CS:GO Case Key",crates: [{id: "crate-4001",name: "CS:GO Weapon Case",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_valve_1_png.png",},// ...],image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/tools/weapon_case_key_png.png",},// ...]

List collectibles

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/collectibles.json

Example response:

[{id: "collectible-874",name: "5 Year Veteran Coin",description:
"Has been a member of the Counter-Strike community for over 5 years.",rarity: {id: "rarity_ancient",name: "Extraordinary",color: "#eb4b4b",},type: null,genuine: false,market_hash_name: null,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/status_icons/5yearcoin_png.png",},// ...]

List agents

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/agents.json

Example response:

[{id: "agent-4613",name: "Bloody Darryl The Strapped | The Professionals",description:
"Before he was leader of the heist gang 'The Professionals' Sir Bloody Darryl was more simply called, Bloody Darryl. Still your friendly neighborhood psychopath in every sense of the word. Not actually Australian according to Australians. \\n\\n<i>I'm just gonna give them a bit of Razzle Dazzle.</i>",rarity: {id: "rarity_legendary_character",name: "Superior",color: "#d32ce6",},collections: [{id: "collection-set-op11-characters",name: "Operation Riptide Agents",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/set_icons/set_op11_characters_png.png",},],team: {id: "terrorists",name: "Terrorist",},market_hash_name: "Bloody Darryl The Strapped | The Professionals",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/characters/customplayer_tm_professional_varf5_png.png",},// ...]

List patches

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/patches.json

Example response:

[{id: "patch-5126",name: "Patch | FaZe Clan (Gold) | Stockholm 2021",description:
"This patch can be applied to any agent you own. Once applied, it can be removed but not recovered.",rarity: {id: "rarity_mythical",name: "Remarkable",color: "#8847ff",},market_hash_name: "Patch | FaZe Clan (Gold) | Stockholm 2021",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/patches/stockh2021/patch_faze_gold_png.png",},// ...]

List graffiti

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/graffiti.json

Example response:

[{id: "graffiti-1654",name: "Sealed Graffiti | Chabo",description:
"This is a sealed container of a graffiti pattern. Once this graffiti pattern is unsealed, it will provide you with enough charges to apply the graffiti pattern <b>50</b> times to the in-game world.",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},crates: [{id: "crate-4234",name: "Community Graffiti Box 1",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapon_cases/crate_spray_pack_community_1_png.png",},],market_hash_name: "Sealed Graffiti | Chabo",image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/stickers/community_mix01/chicken_png.png",},// ...]

List music kits

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/music_kits.json

Example response:

[{id: "music_kit-39",name: "Music Kit | The Verkkars, EZ4ENCE",description:
"The Verkkars rise through the Finnish charts with a heart-pounding tribute to ENCE. Can it really be so EZ?",rarity: {id: "rarity_rare",name: "High Grade",color: "#4b69ff",},market_hash_name: "Music Kit | The Verkkars, EZ4ENCE",exclusive: false,image:
"https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/music_kits/theverkkars_01_png.png",},// ...]

List base weapons

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/base_weapons.json

Example response:

[{id: "base_weapon-ct_gloves",name: "Default CT Gloves",description: "General-purpose tactical combat gloves designed for military or security personnel.",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/weapons/base_weapons/ct_gloves_png.png"},// ...]

List highlights

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/highlights.json
[{id: "aus2025_chopper2kvsmouzonmirage1",name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",description: "chopper gets a double kill on the A-site defense from Balcony on Mirage.",tournament_event: "Austin 2025",team0: "Team Spirit",team1: "MOUZ",stage: "Quarterfinal",map: "de_mirage",market_hash_name: "Souvenir Charm | Austin 2025 Highlight | chopper Double Kill",image: "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/aus2025/kc_aus2025_png.png",video: "https://cdn.steamstatic.com/apps/csgo/videos/highlightreels/024/081v106_005/024_081v106_005_de_mirage_aus2025_chopper2kvsmouzonmirage1_ww_1080p.webm"},]

Inventory

GET https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/inventory.json

Object with all items organized by category (skins, crates, collectibles, stickers, graffiti, music_kits, keychains, highlights, agents, patches, keys, sticker_slabs, tools). Skins are keyed by weapon_id and paint_index. Other items are keyed by def_index.

Example response:

{skins: {"1": {// weapon_id"17": {// paint_indexname: "Desert Eagle | Urban DDPAT",rarity: {id: "rarity_uncommon_weapon",name: "Industrial Grade",color: "#5e98d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyL1m5fn8Sdk5-uRbKB9IeSsG3WS_uJ_t-l9AXm2kxkk42rWn9egc36UOwYiX5N1EOVYsRLtldC0M77g5QXfiN1Fzn_gznQemk8fKYk",},// ...},// ...},crates: {"1210": {// def_indexname: "Gift Package",rarity: {id: "rarity_common",name: "Base Grade",color: "#b0c3d9",},marketable: true,image:
"https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGJKz2lu_XsnXwtmkJjSQ7FBhpZf460DiU1P1yZfmrSEMu_Gta_w-caSQXTbEwrYh4LY5FyrjlBh0sm2Am4uqcyrDcEZ-XUgUbjls",},// ...},// ...}

About

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages