# Get CS2 stats (/api-reference/cs2/profiles/get-cs2-stats)

`GET /v1/profiles/{steamId}/stats/cs2`

A player's CS2 stats from FACEIT, Leetify and Steam, each source in its own section under its own field names. A source that doesn't answer is null and listed in `unavailable`. Costs 3 credits. Needs the Starter plan or above.

```json
{
  "servers": [
    {
      "url": "https://api.steambuff.app"
    }
  ],
  "paths": {
    "/v1/profiles/{steamId}/stats/cs2": {
      "get": {
        "tags": [
          "CS2 profiles"
        ],
        "operationId": "get-cs2-stats",
        "summary": "Get CS2 stats",
        "description": "A player's CS2 stats from FACEIT, Leetify and Steam, each source in its own section under its own field names. A source that doesn't answer is null and listed in `unavailable`.",
        "x-usage": {
          "credits": 3,
          "per": "call",
          "plan": "starter",
          "planName": "Starter"
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "A SteamID64, a Steam Community profile URL or a custom URL name",
              "example": "76561198074762801"
            },
            "required": true,
            "description": "A SteamID64, a Steam Community profile URL or a custom URL name",
            "name": "steamId",
            "in": "path",
            "example": "{steamId}"
          }
        ],
        "responses": {
          "200": {
            "description": "The player's stats",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "X-Credits-Limit": {
                "schema": {
                  "type": "integer",
                  "description": "The plan's monthly credits"
                },
                "required": true,
                "description": "The plan's monthly credits"
              },
              "X-Credits-Remaining": {
                "schema": {
                  "type": "integer",
                  "description": "Credits left in the current monthly window"
                },
                "required": true,
                "description": "Credits left in the current monthly window"
              },
              "X-Credits-Reset": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds until the credits reset"
                },
                "required": true,
                "description": "Seconds until the credits reset"
              },
              "X-Credits-Cost": {
                "schema": {
                  "type": "integer",
                  "description": "Credits this request cost; 0 when it didn't succeed"
                },
                "required": true,
                "description": "Credits this request cost; 0 when it didn't succeed"
              }
            },
            "content": {
              "application/json": {
                "example": {
                  "steamId": "76561197991272318",
                  "faceit": {
                    "nickname": "ropz",
                    "url": "https://www.faceit.com/en/players/ropz",
                    "countryCode": "EE",
                    "activatedAt": "2014-10-25T00:49:23.393Z",
                    "membership": "premium",
                    "skillLevel": 10,
                    "faceitElo": 2584,
                    "lifetime": {
                      "matches": 4131,
                      "wins": 2486,
                      "winRate": 60.18,
                      "averageKdRatio": 1.4,
                      "averageHeadshotsPercent": 52,
                      "adr": 75.93,
                      "utilityDamagePerRound": 3.1,
                      "recentResults": [
                        "win",
                        "win",
                        "win",
                        "win",
                        "win"
                      ],
                      "longestWinStreak": 14,
                      "currentWinStreak": 5,
                      "winRate1v1": 45,
                      "winRate1v2": 32,
                      "entryRate": 16,
                      "entrySuccessRate": 58,
                      "sniperKillRate": 5,
                      "flashSuccessRate": 40,
                      "flashesPerRound": 0.42,
                      "enemiesFlashedPerRound": 0.21,
                      "utilityUsagePerRound": 0.37,
                      "totalMatches": 40,
                      "total1v1Wins": 9,
                      "total1v1Count": 20,
                      "total1v2Wins": 8,
                      "total1v2Count": 25,
                      "totalEntryWins": 83,
                      "totalEntryCount": 144,
                      "totalFlashSuccesses": 150,
                      "totalFlashCount": 376,
                      "totalUtilitySuccesses": 91,
                      "totalUtilityCount": 331
                    },
                    "maps": [
                      {
                        "map": "de_ancient",
                        "mapName": "Ancient",
                        "matches": 14,
                        "wins": 10,
                        "winRate": 71.43,
                        "averageKdRatio": 1.57,
                        "averageHeadshotsPercent": 54,
                        "adr": 75.9
                      },
                      {
                        "map": "de_inferno",
                        "mapName": "Inferno",
                        "matches": 14,
                        "wins": 7,
                        "winRate": 50,
                        "averageKdRatio": 1.31,
                        "averageHeadshotsPercent": 62,
                        "adr": 75.22
                      }
                    ]
                  },
                  "matchmaking": {
                    "premier": {
                      "rating": 15320,
                      "recentResults": [
                        "win",
                        "win",
                        "loss",
                        "win",
                        "loss"
                      ],
                      "matches": [
                        {
                          "finishedAt": "2026-11-22T19:41:12.000Z",
                          "map": "de_inferno",
                          "mapName": "Inferno",
                          "outcome": "win",
                          "score": [
                            13,
                            8
                          ],
                          "rating": 15320,
                          "change": 184
                        },
                        {
                          "finishedAt": "2026-11-22T18:37:55.000Z",
                          "map": "de_ancient",
                          "mapName": "Ancient",
                          "outcome": "win",
                          "score": [
                            13,
                            11
                          ],
                          "rating": 15136,
                          "change": 161
                        }
                      ],
                      "stats": {
                        "matches": 20,
                        "winRate": 60,
                        "peakRating": 16012,
                        "kdRatio": 1.31,
                        "headshotPercent": 47.8,
                        "adr": 84.6
                      }
                    },
                    "competitive": [
                      {
                        "map": "de_nuke",
                        "mapName": "Nuke",
                        "rank": 16
                      },
                      {
                        "map": "de_dust2",
                        "mapName": "Dust II",
                        "rank": 16
                      }
                    ],
                    "wingman": 15
                  },
                  "leetify": {
                    "url": "https://leetify.com/app/profile/76561197991272318",
                    "name": "ropz",
                    "totalMatches": 2349,
                    "winrate": 63.33,
                    "rating": {
                      "leetify": 1.68,
                      "ctLeetify": 1.68,
                      "tLeetify": 1.68,
                      "aim": 97.8822,
                      "positioning": 58.7064,
                      "utility": 57.516,
                      "opening": 7.08,
                      "clutch": 7.7
                    },
                    "aim": {
                      "accuracyHead": 24.3001,
                      "accuracyEnemySpotted": 44.6858,
                      "counterStrafingGoodShotsRatio": 90.1549,
                      "preaim": 8.9474,
                      "reactionTimeMs": 431.9889,
                      "sprayAccuracy": 48.1734
                    },
                    "utility": {
                      "heFoesDamageAvg": 6.8197,
                      "heFriendsDamageAvg": 0.3705,
                      "flashbangThrown": 6.9321,
                      "flashbangHitFoePerFlashbang": 0.5429,
                      "flashbangHitFriendPerFlashbang": 0.3729,
                      "flashbangHitFoeAvgDuration": 2.5552,
                      "flashbangLeadingToKill": 12.3579,
                      "utilityOnDeathAvg": 291.7093
                    },
                    "openingDuels": {
                      "ctOpeningDuelSuccessPercentage": 47.1621,
                      "tOpeningDuelSuccessPercentage": 30.3583,
                      "ctOpeningAggressionSuccessRate": 52.0271,
                      "tOpeningAggressionSuccessRate": 33.8073
                    },
                    "trading": {
                      "tradeKillsSuccessPercentage": 60.9065,
                      "tradedDeathsSuccessPercentage": 43.9688,
                      "tradeKillOpportunitiesPerRound": 0.3175
                    }
                  },
                  "recentMatches": [
                    {
                      "finishedAt": "2026-11-13T10:08:53.000Z",
                      "dataSource": "hltv",
                      "map": "de_mirage",
                      "mapName": "Mirage",
                      "outcome": "loss",
                      "score": [
                        8,
                        13
                      ],
                      "leetifyRating": 11.51,
                      "totalKills": 19,
                      "totalDeaths": 14,
                      "totalAssists": 4,
                      "totalHsKills": 9,
                      "totalDamage": 1988,
                      "roundsCount": 21,
                      "multi3k": 1,
                      "multi4k": 0,
                      "multi5k": 0
                    },
                    {
                      "finishedAt": "2026-11-13T10:08:53.000Z",
                      "dataSource": "hltv",
                      "map": "de_cache",
                      "mapName": "Cache",
                      "outcome": "loss",
                      "score": [
                        14,
                        16
                      ],
                      "leetifyRating": -2.41,
                      "totalKills": 19,
                      "totalDeaths": 20,
                      "totalAssists": 5,
                      "totalHsKills": 12,
                      "totalDamage": 2063,
                      "roundsCount": 30,
                      "multi3k": 1,
                      "multi4k": 1,
                      "multi5k": 0
                    }
                  ],
                  "steam": {
                    "totalKills": 443962,
                    "totalDeaths": 399722,
                    "totalKillsHeadshot": 324094,
                    "totalMatchesPlayed": 12579,
                    "totalMatchesWon": 6309,
                    "totalRoundsPlayed": 341938,
                    "totalWins": 185420,
                    "totalMvps": 44439,
                    "totalShotsFired": 4961389,
                    "totalShotsHit": 862661,
                    "totalKillsEnemyBlinded": 24286,
                    "totalKillsKnife": 5165,
                    "totalPlantedBombs": 13096,
                    "totalDefusedBombs": 3594,
                    "totalTimePlayed": 83134540,
                    "kdRatio": 1.11,
                    "winRate": 50.16,
                    "headshotPercent": 73,
                    "accuracy": 17.39,
                    "weapons": [
                      {
                        "key": "ak47",
                        "name": "AK-47",
                        "totalKills": 230652,
                        "totalShots": 3077963,
                        "totalHits": 908796
                      },
                      {
                        "key": "m4a1",
                        "name": "M4A4 / M4A1-S",
                        "totalKills": 103094,
                        "totalShots": 1514782,
                        "totalHits": 378059
                      },
                      {
                        "key": "hkp2000",
                        "name": "P2000 / USP-S",
                        "totalKills": 77817,
                        "totalShots": 714928,
                        "totalHits": 217794
                      }
                    ]
                  },
                  "unavailable": []
                },
                "schema": {
                  "$ref": "#/components/schemas/Cs2Stats"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing, invalid or revoked",
            "content": {
              "application/json": {
                "examples": {
                  "API_KEY_MISSING": {
                    "summary": "No API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_MISSING",
                      "message": "Send your API key in the x-api-key header or as Authorization: Bearer <key>.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "API_KEY_INVALID": {
                    "summary": "An invalid or revoked API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_INVALID",
                      "message": "The API key is invalid or has been revoked.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The plan does not include this endpoint",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "PLAN_UPGRADE_REQUIRED",
                  "message": "The Free plan does not include the Stats API, which starts at the Starter plan.",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No Steam account has that id",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "NOT_FOUND",
                  "message": "No Steam account has that id.",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "A parameter is invalid; `details` lists each failure",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "VALIDATION_ERROR",
                  "message": "Request validation failed",
                  "details": [
                    {
                      "path": "steamId",
                      "message": "Too big: expected string to have <=200 characters"
                    }
                  ],
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests this minute, or this month's credits are used up",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds to wait before retrying"
                },
                "required": true,
                "description": "Seconds to wait before retrying"
              }
            },
            "content": {
              "application/json": {
                "examples": {
                  "RATE_LIMITED": {
                    "summary": "Too many requests this minute",
                    "value": {
                      "error": true,
                      "code": "RATE_LIMITED",
                      "message": "The Free plan allows 10 requests per minute.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "MONTHLY_QUOTA_EXCEEDED": {
                    "summary": "This month's credits are used up",
                    "value": {
                      "error": true,
                      "code": "MONTHLY_QUOTA_EXCEEDED",
                      "message": "The Free plan's 1,000 monthly credits are used up. They reset at 2026-12-01T00:00:00.000Z. A bigger plan has more: https://steambuff.app/api.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Steam didn't answer, turned the read away (`STEAM_RATE_LIMITED`) or has no key set here",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "STEAM_UNAVAILABLE",
                  "message": "Steam is unavailable right now (HTTP 502).",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Cs2Stats": {
        "type": "object",
        "properties": {
          "steamId": {
            "type": "string",
            "example": "76561198074762801"
          },
          "faceit": {
            "$ref": "#/components/schemas/FaceitStats"
          },
          "matchmaking": {
            "$ref": "#/components/schemas/MatchmakingStats"
          },
          "leetify": {
            "$ref": "#/components/schemas/LeetifyStats"
          },
          "recentMatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentMatch"
            },
            "description": "The latest matches from any source, at most 20, newest first, read through Leetify: empty without it"
          },
          "steam": {
            "$ref": "#/components/schemas/SteamCareer"
          },
          "unavailable": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "steam",
                "faceit",
                "leetify"
              ]
            },
            "description": "The sources that didn't answer just now, whose sections are null for that rather than for having no account: a call later may fill them",
            "example": []
          }
        },
        "required": [
          "steamId",
          "faceit",
          "matchmaking",
          "leetify",
          "recentMatches",
          "steam",
          "unavailable"
        ]
      },
      "FaceitStats": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "nickname": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "countryCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO 3166-1 alpha-2"
          },
          "activatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the account was created"
          },
          "membership": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "plus",
              "premium",
              null
            ],
            "description": "Paid FACEIT subscription; null on the free tier"
          },
          "skillLevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "CS2 skill level, 1–10"
          },
          "faceitElo": {
            "type": [
              "integer",
              "null"
            ],
            "description": "CS2 Elo"
          },
          "lifetime": {
            "$ref": "#/components/schemas/FaceitLifetime"
          },
          "maps": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "map": {
                  "type": "string",
                  "description": "The map's id",
                  "example": "de_mirage"
                },
                "mapName": {
                  "type": "string",
                  "example": "Mirage"
                },
                "matches": {
                  "type": "integer"
                },
                "wins": {
                  "type": "integer"
                },
                "winRate": {
                  "type": "number",
                  "description": "Percent, 0–100"
                },
                "averageKdRatio": {
                  "type": "number"
                },
                "averageHeadshotsPercent": {
                  "type": "number",
                  "description": "Percent, 0–100"
                },
                "adr": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "map",
                "mapName",
                "matches",
                "wins",
                "winRate",
                "averageKdRatio",
                "averageHeadshotsPercent",
                "adr"
              ]
            },
            "description": "5v5 maps, the most played first"
          }
        },
        "required": [
          "nickname",
          "url",
          "countryCode",
          "activatedAt",
          "membership",
          "skillLevel",
          "faceitElo",
          "lifetime",
          "maps"
        ],
        "description": "null without a FACEIT account, or while FACEIT doesn't answer"
      },
      "FaceitLifetime": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "matches": {
            "type": "integer"
          },
          "wins": {
            "type": "integer"
          },
          "winRate": {
            "type": "number",
            "description": "Percent, 0–100"
          },
          "averageKdRatio": {
            "type": "number"
          },
          "averageHeadshotsPercent": {
            "type": "number",
            "description": "Percent, 0–100"
          },
          "adr": {
            "type": [
              "number",
              "null"
            ],
            "description": "Average damage per round"
          },
          "utilityDamagePerRound": {
            "type": [
              "number",
              "null"
            ]
          },
          "recentResults": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "win",
                "loss",
                "tie"
              ]
            },
            "description": "The latest five matches, newest first"
          },
          "longestWinStreak": {
            "type": "integer"
          },
          "currentWinStreak": {
            "type": "integer"
          },
          "winRate1v1": {
            "type": [
              "number",
              "null"
            ],
            "description": "1v1 clutches won, percent"
          },
          "winRate1v2": {
            "type": [
              "number",
              "null"
            ],
            "description": "1v2 clutches won, percent"
          },
          "entryRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Rounds it takes the opening duel in, percent"
          },
          "entrySuccessRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Opening duels won, percent"
          },
          "sniperKillRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Kills with a sniper rifle, percent"
          },
          "flashSuccessRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Flashes that blinded an enemy"
          },
          "flashesPerRound": {
            "type": [
              "number",
              "null"
            ]
          },
          "enemiesFlashedPerRound": {
            "type": [
              "number",
              "null"
            ]
          },
          "utilityUsagePerRound": {
            "type": [
              "number",
              "null"
            ]
          },
          "totalMatches": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The matches with FACEIT's extended stats, which the totals below count"
          },
          "total1v1Wins": {
            "type": [
              "integer",
              "null"
            ]
          },
          "total1v1Count": {
            "type": [
              "integer",
              "null"
            ]
          },
          "total1v2Wins": {
            "type": [
              "integer",
              "null"
            ]
          },
          "total1v2Count": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalEntryWins": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalEntryCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalFlashSuccesses": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalFlashCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalUtilitySuccesses": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalUtilityCount": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "matches",
          "wins",
          "winRate",
          "averageKdRatio",
          "averageHeadshotsPercent",
          "adr",
          "utilityDamagePerRound",
          "recentResults",
          "longestWinStreak",
          "currentWinStreak",
          "winRate1v1",
          "winRate1v2",
          "entryRate",
          "entrySuccessRate",
          "sniperKillRate",
          "flashSuccessRate",
          "flashesPerRound",
          "enemiesFlashedPerRound",
          "utilityUsagePerRound",
          "totalMatches",
          "total1v1Wins",
          "total1v1Count",
          "total1v2Wins",
          "total1v2Count",
          "totalEntryWins",
          "totalEntryCount",
          "totalFlashSuccesses",
          "totalFlashCount",
          "totalUtilitySuccesses",
          "totalUtilityCount"
        ],
        "description": "null when the player has no CS2 matches"
      },
      "MatchmakingStats": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "premier": {
            "type": "object",
            "properties": {
              "rating": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "CS Rating; null when unranked"
              },
              "recentResults": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "win",
                    "loss",
                    "tie"
                  ]
                },
                "description": "The latest five matches, newest first"
              },
              "matches": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "finishedAt": {
                      "type": "string"
                    },
                    "map": {
                      "type": "string",
                      "description": "The map's id",
                      "example": "de_mirage"
                    },
                    "mapName": {
                      "type": "string",
                      "example": "Mirage"
                    },
                    "outcome": {
                      "type": "string",
                      "enum": [
                        "win",
                        "loss",
                        "tie"
                      ]
                    },
                    "score": {
                      "type": "array",
                      "prefixItems": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "description": "Rounds won by the player's team, then by the other"
                    },
                    "rating": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "The CS Rating after the match"
                    },
                    "change": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "What the match moved the rating by"
                    }
                  },
                  "required": [
                    "finishedAt",
                    "map",
                    "mapName",
                    "outcome",
                    "score",
                    "rating",
                    "change"
                  ]
                },
                "description": "The latest Premier matches, at most 20, newest first"
              },
              "stats": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "matches": {
                    "type": "integer",
                    "description": "The recent matches these cover"
                  },
                  "winRate": {
                    "type": "number",
                    "description": "Percent, 0–100"
                  },
                  "peakRating": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "The highest CS Rating among them"
                  },
                  "kdRatio": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "headshotPercent": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Percent, 0–100"
                  },
                  "adr": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "required": [
                  "matches",
                  "winRate",
                  "peakRating",
                  "kdRatio",
                  "headshotPercent",
                  "adr"
                ],
                "description": "Over the recent Premier matches; null when there are none"
              }
            },
            "required": [
              "rating",
              "recentResults",
              "matches",
              "stats"
            ]
          },
          "competitive": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "map": {
                  "type": "string",
                  "description": "The map's id",
                  "example": "de_mirage"
                },
                "mapName": {
                  "type": "string",
                  "example": "Mirage"
                },
                "rank": {
                  "type": "integer",
                  "description": "1 (Silver I) to 18 (The Global Elite)"
                }
              },
              "required": [
                "map",
                "mapName",
                "rank"
              ]
            },
            "description": "Each map it's ranked on in Competitive, the highest first"
          },
          "wingman": {
            "type": [
              "integer",
              "null"
            ],
            "description": "1 (Silver I) to 18 (The Global Elite)"
          }
        },
        "required": [
          "premier",
          "competitive",
          "wingman"
        ],
        "description": "Valve has no API for it, so it's read through Leetify; null when not signed up there, or while Leetify doesn't answer"
      },
      "LeetifyStats": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The player's Leetify profile, for attribution"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Display name on Leetify; null when unset"
          },
          "totalMatches": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The matches Leetify has of the player; its averages cover the latest 30"
          },
          "winrate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Percent, 0–100"
          },
          "rating": {
            "type": "object",
            "properties": {
              "leetify": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Leetify Rating"
              },
              "ctLeetify": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "tLeetify": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "aim": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "0–100"
              },
              "positioning": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "0–100"
              },
              "utility": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "0–100"
              },
              "opening": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "clutch": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "leetify",
              "ctLeetify",
              "tLeetify",
              "aim",
              "positioning",
              "utility",
              "opening",
              "clutch"
            ]
          },
          "aim": {
            "type": "object",
            "properties": {
              "accuracyHead": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "accuracyEnemySpotted": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "counterStrafingGoodShotsRatio": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "preaim": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Degrees, lower is better"
              },
              "reactionTimeMs": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "sprayAccuracy": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              }
            },
            "required": [
              "accuracyHead",
              "accuracyEnemySpotted",
              "counterStrafingGoodShotsRatio",
              "preaim",
              "reactionTimeMs",
              "sprayAccuracy"
            ]
          },
          "utility": {
            "type": "object",
            "properties": {
              "heFoesDamageAvg": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "heFriendsDamageAvg": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "flashbangThrown": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Per match"
              },
              "flashbangHitFoePerFlashbang": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "flashbangHitFriendPerFlashbang": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "flashbangHitFoeAvgDuration": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Seconds"
              },
              "flashbangLeadingToKill": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "utilityOnDeathAvg": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The utility still held at death, in in-game dollars"
              }
            },
            "required": [
              "heFoesDamageAvg",
              "heFriendsDamageAvg",
              "flashbangThrown",
              "flashbangHitFoePerFlashbang",
              "flashbangHitFriendPerFlashbang",
              "flashbangHitFoeAvgDuration",
              "flashbangLeadingToKill",
              "utilityOnDeathAvg"
            ]
          },
          "openingDuels": {
            "type": "object",
            "properties": {
              "ctOpeningDuelSuccessPercentage": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "tOpeningDuelSuccessPercentage": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "ctOpeningAggressionSuccessRate": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "tOpeningAggressionSuccessRate": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              }
            },
            "required": [
              "ctOpeningDuelSuccessPercentage",
              "tOpeningDuelSuccessPercentage",
              "ctOpeningAggressionSuccessRate",
              "tOpeningAggressionSuccessRate"
            ]
          },
          "trading": {
            "type": "object",
            "properties": {
              "tradeKillsSuccessPercentage": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "tradedDeathsSuccessPercentage": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Percent, 0–100"
              },
              "tradeKillOpportunitiesPerRound": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "tradeKillsSuccessPercentage",
              "tradedDeathsSuccessPercentage",
              "tradeKillOpportunitiesPerRound"
            ]
          }
        },
        "required": [
          "url",
          "name",
          "totalMatches",
          "winrate",
          "rating",
          "aim",
          "utility",
          "openingDuels",
          "trading"
        ],
        "description": "null when not signed up, or while Leetify doesn't answer"
      },
      "RecentMatch": {
        "type": "object",
        "properties": {
          "finishedAt": {
            "type": "string"
          },
          "dataSource": {
            "type": "string",
            "description": "Where it was played: matchmaking (Valve's), faceit, renown…",
            "example": "faceit"
          },
          "map": {
            "type": "string",
            "description": "The map's id",
            "example": "de_mirage"
          },
          "mapName": {
            "type": "string",
            "example": "Mirage"
          },
          "outcome": {
            "type": "string",
            "enum": [
              "win",
              "loss",
              "tie"
            ]
          },
          "score": {
            "type": "array",
            "prefixItems": [
              {
                "type": "integer"
              },
              {
                "type": "integer"
              }
            ],
            "description": "Rounds won by the player's team, then by the other"
          },
          "leetifyRating": {
            "type": [
              "number",
              "null"
            ],
            "description": "Leetify's rating of the match"
          },
          "totalKills": {
            "type": "integer"
          },
          "totalDeaths": {
            "type": "integer"
          },
          "totalAssists": {
            "type": "integer"
          },
          "totalHsKills": {
            "type": "integer"
          },
          "totalDamage": {
            "type": "integer"
          },
          "roundsCount": {
            "type": "integer"
          },
          "multi3k": {
            "type": "integer",
            "description": "Rounds with three kills"
          },
          "multi4k": {
            "type": "integer"
          },
          "multi5k": {
            "type": "integer"
          }
        },
        "required": [
          "finishedAt",
          "dataSource",
          "map",
          "mapName",
          "outcome",
          "score",
          "leetifyRating",
          "totalKills",
          "totalDeaths",
          "totalAssists",
          "totalHsKills",
          "totalDamage",
          "roundsCount",
          "multi3k",
          "multi4k",
          "multi5k"
        ]
      },
      "SteamCareer": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "totalKills": {
            "type": "integer"
          },
          "totalDeaths": {
            "type": "integer"
          },
          "totalKillsHeadshot": {
            "type": "integer"
          },
          "totalMatchesPlayed": {
            "type": "integer"
          },
          "totalMatchesWon": {
            "type": "integer"
          },
          "totalRoundsPlayed": {
            "type": "integer"
          },
          "totalWins": {
            "type": "integer",
            "description": "Rounds won, as Steam names it"
          },
          "totalMvps": {
            "type": [
              "integer",
              "null"
            ]
          },
          "totalShotsFired": {
            "type": "integer"
          },
          "totalShotsHit": {
            "type": "integer"
          },
          "totalKillsEnemyBlinded": {
            "type": "integer",
            "description": "Kills of an enemy it had flashed"
          },
          "totalKillsKnife": {
            "type": "integer"
          },
          "totalPlantedBombs": {
            "type": "integer"
          },
          "totalDefusedBombs": {
            "type": "integer"
          },
          "totalTimePlayed": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Seconds"
          },
          "kdRatio": {
            "type": "number",
            "description": "Worked out from Steam's totals"
          },
          "winRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Matches won, worked out"
          },
          "headshotPercent": {
            "type": [
              "number",
              "null"
            ],
            "description": "Worked out"
          },
          "accuracy": {
            "type": [
              "number",
              "null"
            ],
            "description": "Shots that hit, worked out"
          },
          "weapons": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Steam's key for the gun",
                  "example": "ak47"
                },
                "name": {
                  "type": "string",
                  "description": "Steam counts the M4A1-S with the M4A4, the USP-S with the P2000",
                  "example": "AK-47"
                },
                "totalKills": {
                  "type": "integer"
                },
                "totalShots": {
                  "type": "integer"
                },
                "totalHits": {
                  "type": "integer"
                }
              },
              "required": [
                "key",
                "name",
                "totalKills",
                "totalShots",
                "totalHits"
              ]
            },
            "description": "Guns with a kill, the most kills first"
          }
        },
        "required": [
          "totalKills",
          "totalDeaths",
          "totalKillsHeadshot",
          "totalMatchesPlayed",
          "totalMatchesWon",
          "totalRoundsPlayed",
          "totalWins",
          "totalMvps",
          "totalShotsFired",
          "totalShotsHit",
          "totalKillsEnemyBlinded",
          "totalKillsKnife",
          "totalPlantedBombs",
          "totalDefusedBombs",
          "totalTimePlayed",
          "kdRatio",
          "winRate",
          "headshotPercent",
          "accuracy",
          "weapons"
        ],
        "description": "null while the game details are private, or while Steam doesn't answer"
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "details": {},
          "requestId": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "code",
          "message"
        ]
      }
    }
  }
}
```