API Reference
Economics and War API v1
Read-only. All responses are JSON. Authenticated endpoints require a scoped key sent asAuthorization: Bearer eaw_live_....
Public endpoints
/api/v1/nationspublicpublic.readPaginated nation directory. Supports ?search=, ?region=, ?page=, ?limit=.
/api/v1/nations/{nation_id}publicpublic.readPublic profile of a single nation plus its alliance membership.
/api/v1/alliancespublicpublic.readAlliance directory ordered by strength index.
/api/v1/alliances/{alliance_id}publicpublic.readPublic alliance profile and recruitment posture.
/api/v1/alliances/{alliance_id}/memberspublicalliance.members.readPublic roster: nation, rank, join date. War assignments and bank balances are never returned.
/api/v1/warspublicwars.readWar list. Filter with ?status= and ?nation_id=.
/api/v1/wars/{war_id}publicwars.readA single war with resistance and score state.
/api/v1/wars/{war_id}/battlespublicwars.readBattle log for a war (public results only).
/api/v1/marketpublicmarket.readMarket feed. Stable placeholder until the market system ships.
/api/v1/rankingspublicpublic.readLeaderboards. ?board=nations|alliances.
/api/v1/worldpublicpublic.readWorld-level counters and platform health snapshot.
/api/v1/eraspublicpublic.readWorld eras. Stable placeholder until eras ship.
/api/v1/newspublicpublic.readWorld news dispatches.
/api/v1/regionspublicpublic.readStatic region reference data.
/api/v1/global-conflictspublicpublic.readGlobal conflicts. Stable placeholder until the system ships.
/api/v1/eventspublicpublic.readAppend-only public event stream, the same feed webhooks are built from.
/api/v1/discord/verify/{token}publicpublic.readRedeem a single-use verification code and receive nation + alliance rank for Discord role assignment.
Private endpoints (key owner only)
/api/v1/me/nationkey requirednation.readThe full nation record for the key owner.
/api/v1/me/resourceskey requiredresources.readExact resource reserves for the key owner only.
/api/v1/me/militarykey requiredmilitary.readOwn forces and commanders.
/api/v1/me/warskey requiredwars.readWars the owner's nation is party to.
/api/v1/me/transactionskey requiredalliance.treasury.readOwn economy cycle history.
/api/v1/me/notificationskey requirednotifications.readNation-directed dispatches.
Scopes
public.readRead anything already public in the game world.nation.readRead the key owner's own nation record.resources.readRead the key owner's own resource reserves.military.readRead the key owner's own forces and commanders.wars.readRead wars and battle logs.market.readRead market data when the market system ships.alliance.readRead public alliance profiles.alliance.members.readRead public alliance rosters.alliance.wars.readRead wars involving an alliance.alliance.treasury.readRead the key owner's own financial history.notifications.readRead the key owner's own notifications.