Welcome to the TornAPI

faction

Can be used with a faction id.

crimes

List 100 most recent organised crimes. Only available with faction API Access. Cancelled organised crimes are not shown.
Query Parameters
ParameterDescription
fromLimits results to have their timestamp after or on this timestamp.
toLimits results to have their timestamp before or on this timestamp.
limitLimits amount of results. Amount can't be above the default amount, will use default amount otherwise.
Schema
FieldType
crimesCrimes object
Structures
Crime
FieldTypeDescription
crime_idInteger
crime_nameString
initiatedNumberBoolean (0 for false, 1 for true)
initiated_byIntegerId of the member that initiated the crime.
money_gainInteger
participantsArray of Members
planned_byIntegerId of the member that planned the crime.
respect_gainInteger
successNumberBoolean (0 for false, 1 for true)
time_completedEpoch timestamp (in seconds)
time_leftIntegerSeconds until the crime is ready.
time_readyEpoch timestamp (in seconds)
time_startedEpoch timestamp (in seconds)
Crimes
FieldType
<id>Crime object
Members
FieldType
<user id>Status object
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