The Other Phill Jan 7, 2013 @ 12:08am
Steam Community XML API Broken
Hey Valve peeps, can someone take a look at the XML API Feeds? They're throwing 503 errors randomly. You might have to refresh 10-15 times for it to occur.

http://steamcommunity.com/id/pcmadness/statsfeed/440?xml=1
----------------------
Sorry
The Steam Community is currently unavailable. Please try again later.

Error 503 Service Unavailable
XID: 2999088660
----------------------

Thanks
Showing 1-15 of 28 comments
< >
Lumiukko ☃ Jan 9, 2013 @ 8:58am 
Just to connect the dots a bit. I experience the same thing. Not only is it throwing this error quite often (10-15 for one error, you can consider yourself lucky), but it is also extremely slow if it works (at least for me, with a location in Germany).

Here is my forum post, but apparently I posted it in the wrong forums:
http://steamcommunity.com/discussions/forum/1/846941710450937715/

Also there is another post about issues with the API from Dec 2012, I'm trying to cross reference our postings there as well.

http://steamcommunity.com/discussions/forum/1/846940248078645982/
roadrunner Jan 9, 2013 @ 5:16pm 
Yeah, I'm having the same issues for my web apps. It's pretty frustrating. My users are getting fed up here.

It's extremely slow and gives me an error usually on the 2-3 try.
The Other Phill Jan 9, 2013 @ 5:32pm 
I spoke to FireSlash about this yesterday and he said he'd look into it. Technically we're supposed to be using the new Steam Web API's,
https://developer.valvesoftware.com/wiki/Steam_Web_API
which seem to have everything we need.
roadrunner Jan 9, 2013 @ 5:37pm 
Right. Either the API or the documentation is incomplete though. Is there a way to get the persons games and its info through the new API.

Sort of like this. https://steamcommunity.com/id/roadrunner09/games?xml=1
Lumiukko ☃ Jan 10, 2013 @ 1:59am 
Originally posted by Yarr! Phill:
I spoke to FireSlash about this yesterday and he said he'd look into it. Technically we're supposed to be using the new Steam Web API's,
https://developer.valvesoftware.com/wiki/Steam_Web_API
which seem to have everything we need.

Actually I'm using this part of the API partially. Especially for retrieving a bunch of userdata for user-lists, it comes in quite handy.
It does not throw the 503 error, but it is still extremely slow. Further, it does by far not contain all "we" need, unfortunately. Even on the page itself it is written: "Most of Steam Community information can be returned in XML format by appending ?xml=1 to their URLs. This method does not require API key" - this way you get the 503 error issue again. :\
Last edited by Lumiukko ☃; Jan 10, 2013 @ 2:00am
Heffebaycay Jan 10, 2013 @ 2:16am 
Originally posted by Yarr! Phill:
Hey Valve peeps, can someone take a look at the XML API Feeds? They're throwing 503 errors randomly. You might have to refresh 10-15 times for it to occur.

http://steamcommunity.com/id/pcmadness/statsfeed/440?xml=1
----------------------
Sorry
The Steam Community is currently unavailable. Please try again later.

Error 503 Service Unavailable
XID: 2999088660
----------------------

Thanks
Hello,

AFAIK this is by design. Steam Community XML feeds are rate limited.

Here's what Tony P. told me when I asked him about these 503 errors back in April:
We have changed the way Steam Community XML feeds work and there is now effectively a global rate limit at which the XML feeds can be requested. If you or others make feed requests quickly, then yes, some of them will get 503 errors. We had to make this change to reduce load and to allow Steam Community to be responsive even when there are lots of XML feed requests. I’d recommend moving to the Steam web APIs as we plan on deprecating the community XML feeds soon.


As for Steam Web APIs, I recommend you to use the following WebAPI method to get the list of all available interfaces & their methods: http://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v0001/?format=xml

Add your API key to this URL to get the list of all methods you can call with your key.
un'ed Jan 10, 2013 @ 2:46am 
Just tried the new Web API, and it's blazing fast. Is there a way to convert the vanity URL's to steam ID though?
Heffebaycay Jan 10, 2013 @ 4:09am 
Originally posted by EUSS Universe:
Just tried the new Web API, and it's blazing fast. Is there a way to convert the vanity URL's to steam ID though?
Try ISteamUser::ResolveVanityURL (v1). It requires a valid API key.

http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=XXXXX&vanityurl=heffebaycay
Lumiukko ☃ Jan 10, 2013 @ 4:57am 
Originally posted by Heffebaycay:
[...]

As for Steam Web APIs, I recommend you to use the following WebAPI method to get the list of all available interfaces & their methods: http://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v0001/?format=xml

Add your API key to this URL to get the list of all methods you can call with your key.

This was actually helpful, thank you :)
Lumiukko ☃ Jan 10, 2013 @ 5:47am 
Ah... maybe I have been a bit fast.

Heffebaycay: Do you have any idea when the community pages will be added? So far it seems I can't get any user profile information, except those I get with GetPlayerSummaries.
And I can't get group pages whatsoever, is that correct? Or am I missing something?

Also blazing fast is something else, a current example: I am fetching a users friendlist and the respective player summaries (just 25 people) and it takes 5-6 seconds, which is quite some time.

Anyway I hope there is still room for improvmenet, especially when it comes to complete the interfaces and methods.

By the way: Is there a documentation for all the methods? What the heck is "IEconItems_440" etc. ? :D
Last edited by Lumiukko ☃; Jan 10, 2013 @ 5:48am
Heffebaycay Jan 10, 2013 @ 6:51am 
Originally posted by Lumiukko:
Do you have any idea when the community pages will be added? So far it seems I can't get any user profile information, except those I get with GetPlayerSummaries.
And I can't get group pages whatsoever, is that correct? Or am I missing something?
Valve rarely give details on the features they are working on, so I have no idea when and if the data not available in the current Web API methods will be added.

There is no method to find the details of a group or user.


Originally posted by Lumiukko:
Also blazing fast is something else, a current example: I am fetching a users friendlist and the respective player summaries (just 25 people) and it takes 5-6 seconds, which is quite some time.
Keep in mind that you can use the GetPlayerSummaries method with up to 100 steamIds at once. Maybe that will help you.

Originally posted by Lumiukko:
By the way: Is there a documentation for all the methods? What the heck is "IEconItems_440" etc. ? :D
The only documentation I know of is the Valve Developer Wiki, and the GetSupportedAPIList method I mentioned before. You could easily create a page to generate a detailed list of interfaces, methods and arguments: http://i.imgur.com/De7Bx.png

IEconItems_440 is the interface you'll want to use for anything related to TF2 items (TF2's AppId is 440).
Lumiukko ☃ Jan 10, 2013 @ 7:15am 
Thanks a bunch! So the number is the AppID, I didn't notice this before.

Yes, at the moment I'm using the get summaries method with up to 100 entries at the same time, if there are more than 100, I'm looping through them, 100 at a time, this all works very well. But one single response takes up to 5 seconds to get, which is a long time. But maybe this is due to my location in Europe (but you would have the same issue then I guess) :D
Lumiukko ☃ Jan 10, 2013 @ 7:51am 
Nevermind, I noticed that it is quite unwise to use the PHP function get_file_contents to retrieve the data. I replaced it with a cURL call and now it's running smoothly.
roadrunner Jan 10, 2013 @ 10:38am 
Originally posted by Heffebaycay:
As for Steam Web APIs, I recommend you to use the following WebAPI method to get the list of all available interfaces & their methods: http://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v0001/?format=xml

Add your API key to this URL to get the list of all methods you can call with your key.

Great info, Heffebaycay, but I'm blocked at the moment. I looked through the list, but I can't seem to find a method to get the library of a specified steam user. There doesn't seem a way to get this in their new API.
http://steamcommunity.com/id/roadrunner09/games?xml=1

Can anyone help me out here? :(
Lumiukko ☃ Jan 10, 2013 @ 10:54am 
Yes, it seems you can get a global App List (ISteamApps::GetAppList) and Stats for a certain AppID for a user (ISteamUserStats::....) - but a AppList per Player does not seem to be included in the API yet. I just hope missing methods will be added in the near futue :)
Showing 1-15 of 28 comments
< >
Per page: 15 30 50
Date Posted: Jan 7, 2013 @ 12:08am
Posts: 28