In the last year, Valve implemented a way to buy in-game items in Steam. On this page you can see a link to buy keys on the right side, which links to here
But going to that link gives an error:
One or more of the items requested are not for sale.
How do you buy TF2 items (keys) on Steam and not in TF2?
24 Answers
While this may not be the only way, this is a way that works:
Go to this site, and scoll down until you see the "Contact us" box on the right hand side of the webpage. Right above it will be another, smaller box with "Supply Crate Keys" on it. Click the link, and you should be able to buy a key (Tested myself)
As to why the wiki site link didn't work, I would guess that the sites link is broken, possibly linking to a old store page
1Once you make your first purchase, you get the Mann Co Online Cap (different from the Mann Co. Cap).
Since your post also references keys, you can also try Steam Marketplace. Think of it as a community market for the sale of certain TF2 items, and it's accessible from the main Steam panel.
You want to buy TF2 keys outside the game client, throught the web browser ?
The online store, at TF2 website, is currently closed: store.teamfortress.com .
Currently, there are no way to browse or find TF2 keys in Steam Store: store.steampowered.com .
But, you can buy using specific links to the items, which will add the items to your cart on Steam Store.
The link to buy a key is: . (Note the item id "5021" at the end, not "5079" as you provided.) (This is a official and safe way to buy, as stated here: )
One way to browse for items, is to look for them in the official TF2 Wiki (ans you did):
So, probably the Wiki was outdated at the time you visited it (or the item id changed).
And, of course, you can buy it from other players at the (also official) Steam Community Market:
marketplace.tf there you go. :-)
1