Age of Empires Official API
Documentation for the official Age of Empires API at ageofempires.com.
API Root
- Production:
https://api.ageofempires.com - Development:
https://api-dev.ageofempires.com(for /Poll only)
Endpoints
Main APIs
- API v1 - Version 1 endpoints (bugs, mods)
- API v2 - Version 2 endpoints (leaderboards)
- API v4 - Version 4 endpoints (mods)
Game-Specific APIs
- Age I: DE - Age of Empires: Definitive Edition
- Age II: DE - Age of Empires II: Definitive Edition
- Age III: DE - Age of Empires III: Definitive Edition
- Age IV - Age of Empires IV
Other Endpoints
Special
Mod Pictures
Server Status
CountryList
errorMessaging
wordpressAjax
Recorded games
https://aoe.ms/replay/?gameId=<game_id>&profileId=<profile_id>
| parameter | type | value | comments |
|---|---|---|---|
| gameId | int64 | 156900198 | |
| profileId | int64 | 2858362 |
Where <profile_id> is the perspective of the recorded game. Basically from which client it was uploaded. Matters for view lock.