Counter-Strike 2

Counter-Strike 2

View Stats:
AlieNiZeD May 5, 2014 @ 9:26pm
CS:GO Steam API inventory (retrieving skins)
Hello guys,
I wanna use the SteamBot (which is awesome btw ). I want to create a webpage where I can view my Bot's or my inventory.
I'm actually unable to figure out which skin is which. (testing with my inventory)
For example: Tec9 has a defindex of 30. I have 5 Tec9 of which 3 have the same skin, the 2 others I don't know. How do I figure out what skin I am dealing with.
I've checked the ItemSchema, the gameschema, other api calls (getassetprices, getassetclassinfo,...).
The attribute with defindex 6 (set item texture prefab) gave me a clue of how to find identical skins (As I said I have 3 tec 9 with the same skin and they have the same value for this attribute).
Tec9 1 attribute 6 value: 1073741824
Tec9 2 attribute 6 value: 1133543424 (Sandstorm tec9)
Tec9 3 attribute 6 value: 1133543424 (Sandstorm tec9)
Tec9 4 attribute 6 value: 1134002176
Tec9 5 attribute 6 value: 1133543424 (Sandstorm tec9)
Note: I'm not asking for any programming advice. I am fully capable of programming myself. I just need a push in the right direction!
Thanks a lot for any reply ! :)

Something went wrong while displaying this content. Refresh

Error Reference: Community_9708323_
Loading CSS chunk 7561 failed.
(error: https://community.fastly.steamstatic.com/public/css/applications/community/communityawardsapp.css?contenthash=789dd1fbdb6c6b5c773d)
Showing 1-6 of 6 comments
Simon Sep 29, 2014 @ 5:32am 
I'm sorry no one ever replied. I just started doing this stuff today and found out that you can tell the difference through the defindex of each item. Just change the 440 to 730 in the inventory.cs here: "http://api.steampowered.com/IEconItems_440/GetPlayerItems/v0001/?key=" + apiKey + "&steamid=" + steamId; Have fun
AlieNiZeD Sep 29, 2014 @ 6:06pm 
Thanks for your reply, I actually figured out everything I needed to know. Was making some kind of a betting website, but quit, because adding another bulk of steam bots will just hog the API even more.
P337 Feb 3, 2015 @ 11:07pm 
Sorry to dig up an old thread, but did you work out how to create a database of skin defindex values? I want to make a application myself and there appears to be no way to search the scheme for skin ID's :(
Last edited by P337; Feb 3, 2015 @ 11:07pm
AlieNiZeD Feb 4, 2015 @ 7:05pm 
Add me and i'll help when I have time
Tommy Shelby Dec 22, 2017 @ 9:12pm 
Guys can anyone just help me to have a clear idea of how to retrieve a skin from a user. I am also creating a betting website. I figured out how to get the steamid, I just need the way to do it after, not the coding since I can code it myself. Thanks I appreciate it
Kimns Feb 24, 2021 @ 10:33am 
hi AlieNiZeD I am trying to build a skin trading website, I had lots of question I couldnt find answer hope you can help me a little, I had added you on steam if you see my message kindly accept it thanks a lot
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: May 5, 2014 @ 9:26pm
Posts: 6