]>
AchStats features a RESTful API similar to the Steam Web API. Collected data is made available for interested developers to be fetched this way. The usage requires an access key, which can be requested here. A documentation of all features can be found below.
Access keys are secret and bound to email addresses. Please provide your email address below to receive a 25 digits key. In case you lost it, you may also get it again the same way.
Access keys can be revoked due to longer inactivity or massive requests. You will be informed if this is the case. You may also delete your key anytime on your own.
All calls are done via the URL api.achievementstats.com/ and api.achstats.com/ respectively and the mapping of the further terminology. The URL has to end always with the stated 25 digits access key in the form of "/?key=…".
The reponse is always in JSON format. Calls with an invalid access key result in a HTTP status code 403 and unknown calls result in a HTTP status code 404.
Part of URL | Method | Explanation | Example |
---|---|---|---|
profiles/<Steam64ID>/ | GET | Data of a profile with the stated Steam64ID. | profiles/76561197968240913/ |
profiles/<Steam64ID>/games/ | GET | Owning games as AppIDs of a profile with the stated Steam64ID. | profiles/76561197968240913/games/ |
profiles/<Steam64ID>/achievements/ | GET | Unlocked achievements as API name and their AppID of a profile with the stated Steam64ID. Uses an optional parameter "appIds" as a filter for certain games only. | |
profiles/<Steam64ID>/friends/ | GET | Friends as Steam64IDs of a profile with the stated Steam64ID. | profiles/76561197968240913/friends/ |
profiles/<Steam64ID>/badges/ | GET | Unlocked badges with BadgeID of a profile with the stated Steam64ID. | profiles/76561197968240913/badges/ |
profiles/<Steam64ID>/update/ | POST | Triggers update of a profile with the stated Steam64ID. | profiles/76561197968240913/update/ |
games/ | GET | List of available games as AppIDs. | games/ |
games/<AppID>/ | GET | Data of a game with the stated AppID. This also applies for DLCs, however external DLCs (not available at Steam) have negative AppIDs. | |
games/<AppID>/achievements/ | GET | Achievements of a game or DLC with the stated AppID. | games/1250/achievements/ |
games/<AppID>/badges/ | GET | Badges of a game with the stated AppID. | games/1250/badges/ |
games/<AppID>/dlcs/ | GET | DLCs as AppIDs of a game with the stated AppID. | games/1250/dlcs/ |
badges/ | GET | List of available badges as BadgeIDs and AppIDs. | badges/ |
badges/<BadgeID>/ | GET | Data of a badge with the stated BadgeID, not being related to trading cards of games. | badges/1/ |
badges/<BadgeID>/stages/ | GET | Stages of a badge with the stated BadgeID. | badges/1/stages/ |