Economics and War Developers
BUILD FOR ECONOMICS AND WAR
Community developers can build tools for the Economics and War ecosystem without receiving direct access to the authoritative game database. Create a scoped API key, read the world through /api/v1, subscribe to signed webhooks and verify players into your own Discord server.
The server decides
Players and bots request actions. Economics and War computes every authoritative outcome — money, combat, rankings, treasuries.
No database access
Third-party apps never touch PostgreSQL. Everything flows through the versioned public API with scoped keys.
Read-first
v1 is read-only. Irreversible strategic actions are not delegatable to third-party software.
Gameplay first
If the API, webhooks or an external bot fails, the war still happens. Core gameplay always has priority.
My API Keys
Name keys, pick scopes, review usage, revoke instantly.
My Webhooks
Signed, deduplicated event delivery with retries and logs.
Discord Bots
Verify a Discord user against a nation and alliance rank.
PLAYER / BROWSER / DISCORD BOT / EXTERNAL APP -> ECONOMICS AND WAR API (/api/v1) -> AUTHENTICATION (Bearer eaw_live_...) -> RATE LIMITING (per IP / per key) -> PERMISSION + SCOPE VALIDATION -> SERVER-AUTHORITATIVE GAME SERVICES -> POSTGRESQL DATABASE