javascriptsteamsteam-web-apisteamworks-api

Steam Web API Access is denied


I'm trying to get steam inventory, but getting error "Forbidden Access is denied. Retrying will not help. Please verify your key= parameter." The key is parameter is right its working for others reqs.Its not working only for this one

https://partner.steam-api.com/IInventoryService/GetInventory/v1/?key=<key>&appid=730&steamid=<id>

Maybe this method is deprecated or something?Official docs did not helped me :(


Solution

  • I got the same error and decided to use steam web inventory API. Take a look at https://steamcommunity.com/inventory/{STEAMID_64}/730/2?count=2000

    You can get STEAMID_64 by any login from this API: http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key={STEAM_API_KEY}&vanityurl={login}