steaminventory

Why is the API for Steam Trading Cards blank?


I can get the inventory for tf2 by using appID 440 and the inventory for CS:GO by using appID 730, but when I use appID 753 for Steam inventory to view trading cards, it only shows:

{"total_inventory_count":0,"success":1,"rwgrsn":-2}. 

This happens on both my profile and a friend's, despite the fact that we both have trading cards. Do you have any idea why this is happening?

example: https://steamcommunity.com/inventory/76561198043676417/753/2?l=english&count=5000


Solution

  • nevermind, turns out the url is https://steamcommunity.com/inventory/76561198043676417/753/6.

    Somehow changing that 2 to a 6 allows us to see the trading cards