All integrationsGaming
Politics & War
Connect your Politics & War nation to read the browser game's live data through its official GraphQL API: nations, alliances, cities, wars and war attacks, trades and market prices, bank records, bounties, treaties, treasures, embargoes, color blocs, and your own nation and API quota.
- actions
- 20
Actions
Steps a workflow can run in Politics & War.
- Get my nationGet the nation that owns the connected API key, along with the key's request quota for the day.
- Get game infoGet the current in-game date and the radiation level of each continent (from nuclear strikes).
- List color blocsList every color bloc and its current daily turn bonus (the income nations in that bloc earn).
- List treasuresList all in-game treasures, their score bonus, the continent they are on, and the nation that currently holds each one.
- Get nationLook up a single nation by its id, including its alliance, score, cities, military, policies, and (if your key has permission) its resources.
- List nationsSearch and filter nations by name, leader, alliance, color, score, city count, and vacation mode, sorted however you like.
- Get allianceLook up a single alliance by its id, including its score, treaties, and tax brackets.
- List alliancesBrowse and filter alliances by name, sorted however you like.
- Get cityLook up a single city by its id, including its infrastructure, land, power, and every improvement it has built.
- List citiesList cities, optionally limited to one nation's cities.
- Get warLook up a single war by its id, including both sides, resistance, resources used, and its individual attacks.
- List warsList wars, filtered by nation, alliance, or active status, sorted by id or date.
- List war attacksList individual attacks, usually for one war, including the attack type, victor, loot, and infrastructure destroyed.
- List tradesList market trades, filtered by nation, trade type, resource, buy/sell side, and whether they were accepted.
- List trade pricesGet recent daily average market prices for every resource (most recent first).
- List bank recordsList bank transaction records, filtered by sender, recipient, and whether each party is a nation or an alliance.
- List bountiesList active war bounties placed on nations, filtered by nation and bounty amount.
- List treatiesList alliance treaties (the diplomatic agreements between alliances), including their type and turns remaining.
- List embargoesList active trade embargoes between nations, including who placed each one and the stated reason.
- List treasure tradesList trades of in-game treasures between nations.
No actions match that.
Automate Politics & War with Lodol.
Connect Politics & War and ask your AI for your first workflow.
Free plan, no credit card