Welcome to the TornAPI

user

Supports user ids and Discord user uuids for linked accounts.

log

Access your last 100 activity logs. Unlike other selections, there is no cache present for logs.
Query Parameters
ParameterDescription
fromLimits results to have their timestamp after or on this timestamp. Unlike other selections, here it won't give the oldest 100 when including this parameter.
toLimits results to have their timestamp before or on this timestamp.
logFilter based on the log types. Possible values are available in torn/logtypes. Supports up to 10 values, comma-seperated.
catFilter based on the log categories. Possible values are available in torn/logcategories.
Schema
FieldType
logLogs object
Structures
Log
FieldTypeDescription
categoryString
dataKey-value mapData about the specific log. Used keys depend on the log type.
logIntegerLog type.
paramsKey-value mapSome parameters that are used for showing the log in-game.
timestampEpoch timestamp (in seconds)
titleString
Logs
FieldType
<log id>Log object