[{"data":1,"prerenderedAt":286},["ShallowReactive",2],{"article-how-to-obtain-your-steam-api-key":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"image":11,"tags":12,"body":15,"_type":280,"_id":281,"_source":282,"_file":283,"_stem":284,"_extension":285},"\u002Farticles\u002Fhow-to-obtain-your-steam-api-key","articles",false,"","How to Obtain Your Steam API Key: A Step-by-Step Guide","Create a Steam Web API key for your Steam account, and remove the account restriction that can block registration.","2024-03-26","\u002Fimg\u002Farticles\u002Fhow-to-obtain-your-steam-api-key\u002Fapikey.jpg",[13,14],"Steam","Education",{"type":16,"children":17,"toc":271},"root",[18,27,33,40,45,85,91,104,110,121,129,136,149,155,160,168,174,179,185,190,198,204,209,215,220,228,234,246,250],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23],{"type":19,"tag":24,"props":25,"children":26},"img",{"alt":8,"src":11},[],{"type":19,"tag":20,"props":28,"children":29},{},[30],{"type":31,"value":32},"text","The Steam API key is a necessary component both for developers building applications utilizing the Steam API, but also increasingly for individuals using trading websites\u002Fservices where their trade offers must be tracked. In this guide, I'll show you how to create a Steam API key for your Steam account and help you remove an account restriction that might be stopping you.",{"type":19,"tag":34,"props":35,"children":37},"h2",{"id":36},"prerequisites",[38],{"type":31,"value":39},"Prerequisites",{"type":19,"tag":20,"props":41,"children":42},{},[43],{"type":31,"value":44},"Before creating a Steam API key, there are certain prerequisites that must be met:",{"type":19,"tag":46,"props":47,"children":48},"ul",{},[49,55,71],{"type":19,"tag":50,"props":51,"children":52},"li",{},[53],{"type":31,"value":54},"You must have a Steam account.",{"type":19,"tag":50,"props":56,"children":57},{},[58,60,69],{"type":31,"value":59},"Your account must not be limited (it must have spent $5.00 on games, see ",{"type":19,"tag":61,"props":62,"children":66},"a",{"href":63,"rel":64},"https:\u002F\u002Fhelp.steampowered.com\u002Fen\u002Ffaqs\u002Fview\u002F71D3-35C2-AD96-AA3A",[65],"nofollow",[67],{"type":31,"value":68},"this support article",{"type":31,"value":70},").",{"type":19,"tag":50,"props":72,"children":73},{},[74,76,83],{"type":31,"value":75},"You should have read the ",{"type":19,"tag":61,"props":77,"children":80},{"href":78,"rel":79},"https:\u002F\u002Fsteamcommunity.com\u002Fdev\u002Fapiterms",[65],[81],{"type":31,"value":82},"Steam Web API Terms of Use",{"type":31,"value":84}," to avoid breaches.",{"type":19,"tag":34,"props":86,"children":88},{"id":87},"obtaining-your-steam-api-key",[89],{"type":31,"value":90},"Obtaining your Steam API key",{"type":19,"tag":20,"props":92,"children":93},{},[94,96,102],{"type":31,"value":95},"Firstly, navigate to ",{"type":19,"tag":61,"props":97,"children":100},{"href":98,"rel":99},"https:\u002F\u002Fsteamcommunity.com\u002Fdev\u002Fapikey",[65],[101],{"type":31,"value":98},{"type":31,"value":103},", which is Steam's official page for registering for an API key.",{"type":19,"tag":34,"props":105,"children":107},{"id":106},"step-1-unrestrict-your-account",[108],{"type":31,"value":109},"Step 1 — Unrestrict your account",{"type":19,"tag":20,"props":111,"children":112},{},[113,115],{"type":31,"value":114},"If you are met with the following text when you navigate to the Steam API registration page linked above, your first step will be to remove the restriction on the account. If your account is not restricted, move along to ",{"type":19,"tag":116,"props":117,"children":118},"strong",{},[119],{"type":31,"value":120},"Step 2.",{"type":19,"tag":20,"props":122,"children":123},{},[124],{"type":19,"tag":24,"props":125,"children":128},{"alt":126,"src":127},"A restricted account cannot use the Steam Web API","\u002Fimg\u002Farticles\u002Fhow-to-obtain-your-steam-api-key\u002Frestricted-account.png",[],{"type":19,"tag":20,"props":130,"children":133},{"className":131},[132],"img-caption",[134],{"type":31,"value":135},"A restricted account cannot use the Steam Web API.",{"type":19,"tag":20,"props":137,"children":138},{},[139,141,147],{"type":31,"value":140},"My preferred way to solve this is by adding $5 to the Steam wallet, which can later be spent on buying skins on the Steam market, thereby giving an effective \"cost\" of around a dollar. Head over to ",{"type":19,"tag":61,"props":142,"children":145},{"href":143,"rel":144},"https:\u002F\u002Fstore.steampowered.com\u002Fsteamaccount\u002Faddfunds",[65],[146],{"type":31,"value":143},{"type":31,"value":148}," to add funds to the account, and select the minimum fund level, in my case it is €5.",{"type":19,"tag":34,"props":150,"children":152},{"id":151},"step-2-enter-a-domain-name",[153],{"type":31,"value":154},"Step 2 — Enter a domain name",{"type":19,"tag":20,"props":156,"children":157},{},[158],{"type":31,"value":159},"Seeing as the API key is a \"Web\" API key, Steam wants a domain name for the application that will utilize the API key.",{"type":19,"tag":20,"props":161,"children":162},{},[163],{"type":19,"tag":24,"props":164,"children":167},{"alt":165,"src":166},"Steam requires a domain name for the application that will use the Steam API key","\u002Fimg\u002Farticles\u002Fhow-to-obtain-your-steam-api-key\u002Fdomain-name.png",[],{"type":19,"tag":20,"props":169,"children":171},{"className":170},[132],[172],{"type":31,"value":173},"Steam requires a domain name for the application that will use the Steam API key.",{"type":19,"tag":20,"props":175,"children":176},{},[177],{"type":31,"value":178},"From my experience, this is not enforced, meaning any domain can be inserted. However, if you are giving the API key to someone else's application, e.g., a trading website, or using it for your own development project, it is recommended to use the domain \"localhost\".",{"type":19,"tag":34,"props":180,"children":182},{"id":181},"step-3-mobile-authenticator-confirmation",[183],{"type":31,"value":184},"Step 3 — Mobile authenticator confirmation",{"type":19,"tag":20,"props":186,"children":187},{},[188],{"type":31,"value":189},"After entering a domain name, you will be met with the following prompt:",{"type":19,"tag":20,"props":191,"children":192},{},[193],{"type":19,"tag":24,"props":194,"children":197},{"alt":195,"src":196},"Creating an API key requires confirmation in the Steam Authenticator app","\u002Fimg\u002Farticles\u002Fhow-to-obtain-your-steam-api-key\u002Fauthenticator-confirm.png",[],{"type":19,"tag":20,"props":199,"children":201},{"className":200},[132],[202],{"type":31,"value":203},"Creating an API key requires confirmation in the Steam Authenticator app.",{"type":19,"tag":20,"props":205,"children":206},{},[207],{"type":31,"value":208},"This is a relatively new security addition by Steam, which probably was implemented as a safeguard against the increasing number of \"API scams\" that were conducted. Just confirm the action in your app like you would any other Steam trade.",{"type":19,"tag":34,"props":210,"children":212},{"id":211},"step-4-copy-api-key",[213],{"type":31,"value":214},"Step 4 — Copy API key",{"type":19,"tag":20,"props":216,"children":217},{},[218],{"type":31,"value":219},"After confirmation, your Steam Web API key has been generated!",{"type":19,"tag":20,"props":221,"children":222},{},[223],{"type":19,"tag":24,"props":224,"children":227},{"alt":225,"src":226},"Steam API key visible for an account after confirming in the Steam Authenticator app","\u002Fimg\u002Farticles\u002Fhow-to-obtain-your-steam-api-key\u002Fapi-key-result.png",[],{"type":19,"tag":20,"props":229,"children":231},{"className":230},[132],[232],{"type":31,"value":233},"Steam API key visible for an account after confirming in the Steam Authenticator app.",{"type":19,"tag":20,"props":235,"children":236},{},[237,239,244],{"type":31,"value":238},"Now, you should ",{"type":19,"tag":116,"props":240,"children":241},{},[242],{"type":31,"value":243},"NEVER",{"type":31,"value":245}," share your Steam API key with the public as I have done in this image. This will give attackers information about trades you are conducting, items you received, and other information. Steam is limiting the API key's use cases to prevent scams, but this is still not something you want to share with the world. Always think twice (and ask why) if someone asks you to provide them with your API key.",{"type":19,"tag":247,"props":248,"children":249},"hr",{},[],{"type":19,"tag":20,"props":251,"children":252},{},[253,255,261,263,269],{"type":31,"value":254},"And that's it! I hope you found this guide useful. If you need any help, don't hesitate to ",{"type":19,"tag":61,"props":256,"children":258},{"href":257},"\u002Fcontact",[259],{"type":31,"value":260},"get in touch",{"type":31,"value":262},". If you are interested in hiring us to build a web application utilizing the Steam API — e.g. trading websites, gambling websites, keys-to-crypto trading bots, and other applications — see ",{"type":19,"tag":61,"props":264,"children":266},{"href":265},"\u002F#services",[267],{"type":31,"value":268},"what we build",{"type":31,"value":270},".",{"title":7,"searchDepth":272,"depth":272,"links":273},2,[274,275,276,277,278,279],{"id":36,"depth":272,"text":39},{"id":87,"depth":272,"text":90},{"id":106,"depth":272,"text":109},{"id":151,"depth":272,"text":154},{"id":181,"depth":272,"text":184},{"id":211,"depth":272,"text":214},"markdown","content:articles:how-to-obtain-your-steam-api-key.md","content","articles\u002Fhow-to-obtain-your-steam-api-key.md","articles\u002Fhow-to-obtain-your-steam-api-key","md",1786464664065]