Installation and Initialization


npm install call-of-duty-api@latest


import { login } from "call-of-duty-api";
login(ssoToken: string);
// or alternatively
import API from "call-of-duty-api";
API.login(ssoToken: string);


Each part of the API has been split into modules and can be used separately. For example, the "Me" module contains functions that will only work for the logged in user.

List of Modules

  • login

  • platforms

  • ModernWarfare

  • Warzone

  • ColdWar

  • Vanguard

  • Store

  • Me

  • Misc

Last updated