rektdie Posted April 18, 2023 Report Posted April 18, 2023 I want to get a steam user's CSGO inventory with this steam API and it works fine for the first 5-6 call. After that I get the error code 429, but I don't understand how I exceed the rate limit with this low amount of requests. I found this on steam: "You are limited to one hundred thousand (100,000) calls to the Steam Web API per day.", but I clearly did not make more than 100.000 calls. import requests import json steamIDs = [ 76561198323251063, # Enyém 76561199013264816 # Rolié ] gameID = "730" with open("valid_proxies.txt", "r") as f: proxies = f.read().split("\n") def jprint(obj): text = json.dumps(obj, sort_keys=True, indent=4) return text response = requests.get(f"http://steamcommunity.com/inventory/{steamIDs[1]}/{gameID}/2") print(response.status_code) with open("data.txt", "w") as f: f.write(jprint(response.json())) Quote
rektdie Posted April 18, 2023 Author Report Posted April 18, 2023 I noticed I opened the help in the wrong topic. Sorry for that. Quote
Dr. McKay Posted April 19, 2023 Report Posted April 19, 2023 The inventory endpoint doesn't fall under the Steam Web API, and the 100k request limit doesn't apply to it. Check the headers that your browser is sending, and make sure you send as many of them as you can in your own requests. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.