SteamID API

Link Back


If you use the steamid.uk API - Ensure a link back is given on your website, Application or other development

API Manager - get your API key here



Steamid has its own API's which you can use.
Profile feed
SteamID data
SteamID Rating
Steamid / Steam3 / CommunityID converter
/id/ history
friend history
Example API calls

XML


Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3
Api 4: https://api.steamid.uk/apiconvert.php?api=test&input=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340
Api 5: https://api.steamid.uk/apirequest.php?api=flower&player=76561197977933359&request_type=5
Api 6: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=6

JSON


Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1&format=json
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2&format=json
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3&format=json
Api 4: https://api.steamid.uk/apiconvert.php?api=test&input=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340&format=json
Api 5: https://api.steamid.uk/apirequest.php?api=flower&player=76561197977933359&request_type=5&format=json
Api 6: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=6&format=json

VDF (Valve Data format)


Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1&format=vdf
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2&format=vdf
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3&format=vdf
Api 4: https://api.steamid.uk/apiconvert.php?api=test&input=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340&format=vdf


AP1 Profile lookup

The response is given in XML and all you require is:
*Api Key *64bit ID to look up (example:76561197977933359)


Example XML request:
Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1
Example JSON request:
Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1&format=json
Example VDF request:
Api 1: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=1&format=vdf
Example Response:


Example Error Response:


Error codes:
1) Player / ID not found
2) ID Incorrect / too long
3) Api Key not recognised
4) You are over the API threshold contact the site to get more "credits"
5) No ID
6) No API key

If there is no name history, it will throw an error previous_name->error->"None found"

API2 SteamID Stats

The response is given in XML and all you require is:
*Api Key
*64bit ID to look up (example:76561197977933359)

Example XML request:
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2
Example JSON request:
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2&format=json
Example VDF request:
Api 2: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=2&format=vdf
Example Response:


Example Error Response:


API3 SteamID Rating

The response is given in XML and all you require is:
*Api Key
*64bit ID to look up (example:76561197977933359)

Example XML request:
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3
Example JSON request:
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3&format=json
Example VDF request:
Api 3: https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=3&format=vdf
Example Response:


Example Error Response:


Profile converter




This is GET and POST - You can post in the api and the input fields.
The response is given in XML and all you require is:
*64bit ID to look up (example:76561197977933359) OR
*32bit ID to lookup (example: STEAM_0:0:84356)
*Api Key

API Manager - get your API key here



Example GET XML request:
https://api.steamid.uk/convert.php?iapi=test&nput=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340

Example GET JSON request:
https://api.steamid.uk/convert.php?iapi=test&nput=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340&format=json

Example GET VDF request:
https://api.steamid.uk/convert.php?iapi=test&nput=STEAM_0:0:84356,[U:1:17667631],76561197981465414,STEAM_0:1:37787340&format=vdf


Example POST XML request:
Post: https://api.steamid.uk/convert.php
key: api
data: SteamID apikey

key: input
data: CSV of input Ids

Example response:

Example error response:

Error codes:
1) No steamid found
2) No communityid found
3) Invalid or no API key
4) No data found

/id/ community url history




The response is given in XML and all you require is:
*Community ID to look up (example:msart) *Api Key
Example XML request:
https://api.steamid.uk/apirequest.php?api=flower&player=76561197977933359&request_type=5
Example JSON request:
https://api.steamid.uk/apirequest.php?api=flower&player=76561197977933359&request_type=5&format=json

Example response:

Example error response:

Error codes:
3) Invalid or no API key
4) No data found
7) Custom ID / URL not found
8) Custom ID / URL found but no data

Friend history




The response is given in XML and all you require is:
*Steamid64 (example:76561197977933359) *Api Key
Example XML request:
https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=6
Example JSON request:
https://api.steamid.uk/apirequest.php?api=test&player=76561197977933359&request_type=6&format=json

Example response:

Example error response:

Error codes:
3) Invalid or no API key
4) No data found