Skip to content

Latest commit

 

History

History
407 lines (366 loc) · 8.16 KB

README.md

File metadata and controls

407 lines (366 loc) · 8.16 KB

Introduction

An unofficial JSON API for Counter-Strike: Global Offensive.

All data are retrieved from items_game.txt and csgo_english.txt. These files use Valve's KeyValue text file format and have to be parsed with vdf-parser.

Usage

By default the data is in english, if you want to get the data in another language, you can add the language to the BASE URL.

GET https://bymykel.github.io/CSGO-API/api/{language}

Language

Can be one of the following: bg cs da de el en es-ES es-MX fi fr hu it ja ko nl no pl pt-BR pt-PT ro ru sk sv th tr uk zh-CN zh-TW vi

All items

GET https://bymykel.github.io/CSGO-API/api/en/all.json

Object with all items accessible by their id.

List skins

GET https://bymykel.github.io/CSGO-API/api/en/skins.json
array[object]
id string
name string
name_original string
description string
weapon string
pattern string
min_float number
max_float number
rarity string
stattrak boolean
image string

List stickers

GET https://bymykel.github.io/CSGO-API/api/en/stickers.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List collections

GET https://bymykel.github.io/CSGO-API/api/en/collections.json
array[object]
id string
name string
name_original string
image string

List crates

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

GET https://bymykel.github.io/CSGO-API/api/en/crates.json
array[object]
id string
name string
name_original string
description string or null
type string
first_sale_date string
image string

List keys

GET https://bymykel.github.io/CSGO-API/api/en/keys.json
array[object]
id string
name string
name_original string
description string or null
image string

List collectibles

GET https://bymykel.github.io/CSGO-API/api/en/collectibles.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
type string or null
image string

List agents

GET https://bymykel.github.io/CSGO-API/api/en/agents.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List patches

GET https://bymykel.github.io/CSGO-API/api/en/patches.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List graffiti

GET https://bymykel.github.io/CSGO-API/api/en/graffiti.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
image string

List music kits

GET https://bymykel.github.io/CSGO-API/api/en/music_kits.json
array[object]
id string
name string
name_original string
description string or null
rarity string or null
exclusive boolean
image string