ToneAPI (3.0)

Download OpenAPI specification:Download

Stats tracking API for Titanfall 2 Northstar

All query params can be negated using !. Example : (https://tone.sleepycat.date/v2/client/gamemodes?gamemode=!sns)

client

Routes accessibles by everyone

Your GET endpoint

An object with host ID as keys and host name as values

Responses

Response samples

Content type
application/json
{
  • "1": "Fvnkhead",
  • "2": "Legonzaur"
}

List of servers

A JSON object with server names as keys and server data as values

query Parameters
server
string
Example: server=fvnkhead's 3v3

Fetch data for specific server

player
integer
Example: player=1005930844007

Fetch data for specific player

weapon
string
Example: weapon=epg

Fetch data for specific weapon

map
string
Example: map=lf_stacks

Fetch data for specific map

gamemode
string
Example: gamemode=aitdm

Fetch data for specific gamemode

host
integer
Example: host=1

Fetch data for specific host

Responses

Response samples

Content type
application/json
{
  • "fvnkhead's 3v3": {
    },
  • "fvnkhead's 7v7": {
    }
}

Statistics for all weapons

A JSON Object with weapon IDs as keys and weapon data as values

query Parameters
server
string
Example: server=fvnkhead's 3v3

Fetch data for specific server

player
integer
Example: player=1005930844007

Fetch data for specific player

weapon
string
Example: weapon=epg

Fetch data for specific weapon

map
string
Example: map=lf_stacks

Fetch data for specific map

gamemode
string
Example: gamemode=aitdm

Fetch data for specific gamemode

host
integer
Example: host=1

Fetch data for specific host

Responses

Response samples

Content type
application/json
{
  • "autopistol": {
    },
  • "car": {
    }
}

Statistics for all players

A JSON Object with player IDs as keys and player data as values

query Parameters
weapon
string
Example: weapon=epg

Fetch data for specific weapon

server
string
Example: server=fvnkhead's 3v3

Fetch data for specific server

player
integer
Example: player=1005930844007

Fetch data for specific player

gamemode
string
Example: gamemode=aitdm

Fetch data for specific gamemode

map
string
Example: map=lf_stacks

Fetch data for specific map

host
integer
Example: host=1

Fetch data for specific host

Responses

Response samples

Content type
application/json
{
  • "2250125460": {
    }
}

Your GET endpoint

A JSON Object with map IDs as keys and map data as values

query Parameters
host
integer
Example: host=1

Fetch data for specific host

gamemode
string
Example: gamemode=aitdm

Fetch data for specific gamemode

map
string
Example: map=lf_stacks

Fetch data for specific map

weapon
string
Example: weapon=epg

Fetch data for specific weapon

player
integer
Example: player=1005930844007

Fetch data for specific player

server
string
Example: server=fvnkhead's 3v3

Fetch data for specific server

Responses

Response samples

Content type
application/json
{
  • "lf_meadow": {
    },
  • "lf_township": {
    }
}

Your GET endpoint

A JSON Object with gamemodes IDs as keys and gamemodes data as values

query Parameters
host
integer
Example: host=1

Fetch data for specific host

gamemode
string
Example: gamemode=aitdm

Fetch data for specific gamemode

map
string
Example: map=lf_stacks

Fetch data for specific map

weapon
string
Example: weapon=epg

Fetch data for specific weapon

player
integer
Example: player=1005930844007

Fetch data for specific player

server
string
Example: server=fvnkhead's 3v3

Fetch data for specific server

Responses

Response samples

Content type
application/json
{
  • "ps": {
    },
  • "aitdm": {
    }
}

server

Routes accessibles only to server owners

Test Authentication

Used to test auth

Authorizations:
Auth_Token

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ]
}

Match

Allows a Northstar server to create a match on the database

Authorizations:
Auth_Token

Responses

Response samples

Content type
application/json
{
  • "match": 0
}

Kill

Allows a Northstar server to record kills on the database

Authorizations:
Auth_Token
Request Body schema: application/json
game_time
number
player_count
integer
match_id
integer
cause_of_death
string
distance
number
object (PlayerKillData)
object (PlayerKillData)

Responses

Request samples

Content type
application/json
{
  • "game_time": 0,
  • "player_count": 0,
  • "match_id": 0,
  • "cause_of_death": "string",
  • "distance": 0,
  • "victim": {
    },
  • "attacker": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string"
}