Skip to content

Public Town Info

GET /api/v1/map/towns/{town_id}

Returns publicly visible information about a placed town on the world map.

Every placed town is public

Like the map listings (GET /api/v1/map/terrain/ and GET /api/v1/map/occupants/), this endpoint redacts nothing by distance:

  • Any placed town in the season can be queried, from anywhere, whether or not you have settled yourself.
  • The 404 means the town does not exist, belongs to another season, or is not placed on the map — never “too far away to see”.
  • Note that this returns a town’s public profile only. Its garrison, buildings and stockpile stay hidden; a scout is the only way to read those.

Response Fields

FieldTypeDescription
idUUIDTown identifier
namestringTown name
town_typestringWhat kind of settlement this is: "normal" for a city, "colony" for a colony.
xintMap X coordinate
yintMap Y coordinate
owner_usernamestringUsername of the town owner
owner_prestigeintTotal prestige of the owner (sum of all their towns’ prestige plus achievements)
owner_honorintHonor points of the owner (accrued from PvP battles)
owner_alliance_namestring | nullName of the owner’s alliance, if any
owner_alliance_tagstring | nullShort tag of the owner’s alliance (≤5 chars), if any
diplomatic_statusstringDiplomatic status relative to the requesting player: "Peace", "War", "Allied", or "Truce"

Example

GET /api/v1/map/towns/3fa85f64-5717-4562-b3fc-2c963f66afa6
Authorization: Bearer <token>
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Ironhold",
"town_type": "normal",
"x": 14,
"y": 22,
"owner_username": "ragnar",
"owner_prestige": 1540,
"owner_honor": 75,
"owner_alliance_name": "Iron Order",
"owner_alliance_tag": "IRON",
"diplomatic_status": "Allied"
}

Diplomatic Status Values

ValueMeaning
"Peace"Default; returned when either side has no alliance, or their alliances have no accepted WAR/ALLY relation (includes NAP, Neutral, and pending proposals)
"War"The requesting player’s alliance and the town owner’s alliance have an accepted WAR relation
"Allied"The two alliances have an accepted ALLY relation
"Truce"The target town has an active protection window (beginner protection or post-attack truce) — takes priority over all other statuses

Error Responses

StatusMeaning
401Missing or invalid bearer token
404Town does not exist, is not placed on the map, or belongs to another season