Blackout stats are online! Go check out your profile now! (using your full Battle.net tag (username#1234)) :)
Call Of Duty tracker site API - Battle.net supported!
You can use our API for free, for ever. Without any (rate) limits. We do not offer any support or programming support. Do not contact us for help.

API wrapper in PHP on Github by Bo4tracker (OFFICIAL)
API wrapper in C# on Github by Jayden (UNOFFICIAL)
API wrapper in Go on Github by Matthew (UNOFFICIAL)
API wrapper in C# on Github by HerbL27 (UNOFFICIAL)

Make sure to replace # with %23 for Battle.net users!
(Example: username#1234 will be username%231234)

Validate user

GET https://cod-api.theapinetwork.com/api/validate/:game:/:username:/:platform:
  • games - bo4, bo3, wwii and iw
  • platforms - psn, xbl, steam and bnet
Example response
{
    "success": true,
    "username": "RandomUsername",
    "id": 123456
}
					

Get user stats

GET https://cod-api.theapinetwork.com/api/stats/:game:/:username:/:platform:?type=:type:
  • games - bo4, bo3, wwii and iw
  • platforms - psn, xbl, steam and bnet
  • type - empty (don't add the parameter), multiplayer or blackout.


Example response
{
    "identifier": "abcdefg-hijklmn-opqrstu-xyz1234",
    "user": {
        "id": 326423,
        "username": "tapxtherace",
        "platform": "psn",
        "title": "bo4"
    },
    "stats": {
        "blackoutExtra": { /* JUST FOR BLACKOUT */
            "top5placementteam": 1,
            "top10placementteam": 2,
            "top15placementteam": 2,
            "top5placementsolo": 1,
            "top25placementsolo": 3,
            "vehicleescapes": 0,
            "vehiclescavengerair": 0,
            "vehiclescavengerland": 0,
            "vehiclescavengerwater": 0,
            "vehiclesdestroyed": 1,
            "vehicleusedall": 0,
            "vehiclelockexits": 0,
            "vehiclessestroyedoccupied": 1,
            "vehicledamageoccupied": 877,
            "killsvehicledriver": 0,
            "vehicledamage": 877,
            "winswithoutkills": 0,
            "mostkillsinagame": 0,
            "distancetraveledwingsuit": 253554,
            "distancetraveledwingsuitmiles": 4,
            "distancetraveledvehicleland": 347339,
            "distancetraveledvehiclelandmiles": 5,
            "distancetraveledvehicleair": 0,
            "distancetraveledvehicleairmiles": 0,
            "distancetraveledvehiclewater": 30723,
            "distancetraveledvehiclewatermiles": 0,
            "itemspickedup": 461,
            "itemsdropped": 0,
            "killsrevenge": 0
        },
        "multiplayerExtra": [], /* JUST FOR MULTIPLAYER */
        "level": 39,
        "maxlevel": 0,
        "prestige": 5,
        "prestigeid": 0,
        "maxprestige": 0,
        "kills": 17002,
        "killsconfirmed": 70,
        "deaths": 5072,
        "gamesplayed": 422,
        "wins": 295,
        "losses": 127,
        "melee": 12,
        "hits": 45816,
        "misses": 159629,
        "rankxp": 727623,
        "careerscore": 2841495,
        "totalheals": 323270,
        "ekia": 23989,
        "longestkillstreak": 44,
        "curwinstreak": 0,
        "totalshots": 316929,
        "teamkills": 64,
        "suicides": 24,
        "offends": 1289,
        "killsdenied": 101,
        "captures": 741,
        "defends": 1273,
        "timeplayed": 201801,
        "weapondata": "true"
    }
}
					

Get user matches

GET https://cod-api.theapinetwork.com/api/matches/:game:/:username:/:platform:?type=:type:
  • games - bo4
  • platforms - psn, xbl, steam and bnet
  • type - empty (don't add the parameter), multiplayer or blackout.


Example response
{
    "success": true,
    "uid": 123456,
    "username": "username",
    "platform": "psn",
    "game": "bo4",
    "type": "mp",
    "matchesCount": 20,
    "entries": [
        {
            "identifier": "8870392559064980469",
            "gameMode": "bounty",
            "gameModeName": "Heist",
            "map": "mp_icebreaker",
            "mapName": "Ice breaker",
            "mapImage": "https://callofdutytracker-public-files.theapinetwork.com/maps/mp_icebreaker.jpg",
            "matchStart": 1541764351,
            "matchEnd": 1541764971,
            "matchWon": 1,
            "CTS": 780, /*/ COD Tracker Score - A score based on the match. /*/
            "teams": { /*/ ONLY MULTIPLAYER /*/
                "winningTeam": 2,
                "playerTeam": 2,
                "playerPosition": 5,
                "teamScore": {
                    "team1": 1,
                    "team2": 4
                }
            },
            "stats": {
                "kills": 4,
                "ekia": 3, /*/ ONLY MULTIPLAYER /*/
                "assists": 0,
                "deaths": 2,
                "highestKillStreak": 3, /*/ ONLY MULTIPLAYER /*/
                "headshots": 0,
                "shotsFired": 96,
                "shotsLanded": 21,
                "shotsMissed": 75
            },
            "formatForSite": "2018-11-09 13:02:51",
            "privateMatch": false
        },
        {
        	/*/ SAME AS ABOVE /*/
        }
    ]
}
					

Recent matches

GET https://cod-api.theapinetwork.com/api/matches/recent?rows=:rows:
  • rows - a number between 1 and 100
Example response
{
    "success": true,
    "rows": 1,
    "game": "bo4",
    "platform": "psn",
    "entries": [
        {
            "mid": "10443371133280017458",
            "utcStart": 1541003893,
            "utcEnd": 1541004262,
            "matchInfo": {
                "matchDuration": 369,
                "matchType": "mp",
                "matchMapId": "mp_hacienda",
                "matchMode": "tdm"
            },
            "teams": {
                "teamScore": {
                    "team1": 65,
                    "team2": 75
                },
                "winningTeam": 2
            },
            "playerEntries": [
                {
                    "uid": 327154,
                    "prestige": 2,
                    "rank": 46,
                    "team": 1,
                    "position": 2,
                    "kills": 20,
                    "deaths": 12,
                    "ekia": 23,
                    "highestKillStreak": 3,
                    "assists": 3,
                    "headshots": 0,
                    "shotsFired": 428,
                    "shotsLanded": 106,
                    "shotsMissed": 322
                },
                {
                    "uid": 396158,
                    "prestige": 1,
                    "rank": 50,
                    "team": 2,
                    "position": 5,
                    "kills": 12,
                    "deaths": 8,
                    "ekia": 16,
                    "highestKillStreak": 5,
                    "assists": 4,
                    "headshots": 0,
                    "shotsFired": 271,
                    "shotsLanded": 82,
                    "shotsMissed": 189
                }
            ]
        },
        {
            /* SAME AS ABOVE */
        }
    ]
}
                    

Specific match

GET https://cod-api.theapinetwork.com/api/matches/get?id=:mid:
  • mid - match id
Example response
{
    "success": true,
    "game": "bo4",
    "platform": "psn",
    "entry": [
        {
            "mid": "10443371133280017458",
            "utcStart": 1541003893,
            "utcEnd": 1541004262,
            "matchInfo": {
                "matchDuration": 369,
                "matchType": "mp",
                "matchMapId": "mp_hacienda",
                "matchMode": "tdm"
            },
            "teams": {
                "teamScore": {
                    "team1": 65,
                    "team2": 75
                },
                "winningTeam": 2
            },
            "playerEntries": [
                {
                    "uid": 327154,
                    "prestige": 2,
                    "rank": 46,
                    "team": 1,
                    "position": 2,
                    "kills": 20,
                    "deaths": 12,
                    "ekia": 23,
                    "highestKillStreak": 3,
                    "assists": 3,
                    "headshots": 0,
                    "shotsFired": 428,
                    "shotsLanded": 106,
                    "shotsMissed": 322
                },
                {
                    "uid": 396158,
                    "prestige": 1,
                    "rank": 50,
                    "team": 2,
                    "position": 5,
                    "kills": 12,
                    "deaths": 8,
                    "ekia": 16,
                    "highestKillStreak": 5,
                    "assists": 4,
                    "headshots": 0,
                    "shotsFired": 271,
                    "shotsLanded": 82,
                    "shotsMissed": 189
                }
            ]
        }
    ]
}
                    

User ID to username

GET https://cod-api.theapinetwork.com/api/users/ids?id=:id1:&id=:id2:
  • id1 - first user id (example: 327154)
  • id2 - second user id (example: 396158)
  • You can enter up to 500 user ids.
Example response
[
    {
        "uid": 327154,
        "username": "Jedi_340_VI",
        "platform": "psn",
        "game": "bo4"
    },
    {
        "uid": 396158,
        "username": "MOST-Nebula",
        "platform": "psn",
        "game": "bo4"
    }
]
                    

Leaderboard

GET https://cod-api.theapinetwork.com/api/leaderboard/:game:/:platform:/:scope:?p=:number:&type=:type:
  • games - bo4
  • platforms - psn, xbl, bnet and all
  • scope - kills, deaths, ekia (multiplayer), wins, losses, kd, ed (multiplayer), wl
  • p - a (page)number between 1 and 10
  • type - mp (multiplayer) or pvp (blackout)
Example response
{
    "rows": 50,
    "p": 1,
    "platform": "psn",
    "scope": "kills",
    "entries": [
        {
            "rank": 1,
            "uid": 322119,
            "username": "DooMTheRace",
            "platform": "psn",
            "value": 168588,
            "gamesplayed": 5255
        },
        {
            /* SAME AS ABOVE */
        }
    }
}
                    
Question poll
Loading..
Recently tracked
DesertFox playing WWII
Ruleth playing WWII
dagley playing WWII
[VO]PsychoMantis playing WWII
[MERC]G4MER playing WWII
AngieLover playing BO3
jamjamuk playing BO3
Hospin playing BO3
HighSkilledDude playing BO3
Digital Amok playing BO3
reener77 playing BO3
t8yman playing BO3