Welcome to the TornAPI

faction

Can be used with a faction id.

basic

Information about a faction.
Schema
FieldType
ageInteger
best_chainInteger
capacityInteger
co-leaderInteger
IDInteger
leaderInteger
membersMembers object
nameString
peacePeace Treaties object
raid_warsArray of Raid
rankRanking object
ranked_warsRanked Wars object
respectInteger
tagInteger + String
tag_imageString
territory_warsArray of Territory War
Structures
Faction
FieldType
chainInteger
nameString
scoreInteger
Factions
FieldType
<faction id>Faction object
Last Action
FieldType
relativeString
statusLast Action Status enum
timestampEpoch timestamp (in seconds)
Last Action Status
Limited values of the 'String' type:
Idle
Offline
Online
Member
FieldType
days_in_factionInteger
last_actionLast Action object
levelInteger
nameString
positionString
statusStatus object
Members
FieldType
<user id>Member object
Peace Treaties
FieldType
<faction id>Epoch timestamp (in seconds)
Raid
FieldType
defender_scoreInteger
defending_factionInteger
raider_scoreString
raiding_factionInteger
start_timeEpoch timestamp (in seconds)
Rank
Limited values of the 'String' type:
Bronze
Diamond
Gold
Platinum
Silver
Unranked
Ranked War
FieldType
factionsFactions object
warWar object
Ranked Wars
FieldType
<war id>Ranked War object
Ranking
FieldType
divisionInteger
levelInteger
nameRank enum
positionInteger
winsInteger
Status
FieldType
colorStatus Color enum
descriptionString
detailsString
stateStatus State enum
untilEpoch timestamp (in seconds)
Status Color
Limited values of the 'String' type:
blue
green
red
Status State
Limited values of the 'String' type:
Abroad
Fallen
Federal
Hospital
Jail
Okay
Traveling
Territory War
FieldType
assaulting_factionInteger
defending_factionInteger
end_timeEpoch timestamp (in seconds)
required_scoreInteger
scoreInteger
start_timeEpoch timestamp (in seconds)
territoryString
territory_war_idInteger
War
FieldType
endEpoch timestamp (in seconds)
startEpoch timestamp (in seconds)
targetInteger
winnerInteger