Game API

Easily fetch player statistics for VALORANT, Halo Infinite, & Splitgate.

Halo Infinite Data

Playtime • Total Matches • Peak Rank • Peak CSR • Peak Rank Icon • Current Rank • Current Rank CSR • Current Rank Icon • Current Rank Position • K/D Ratio • Win Percentage • Average KDA • Average Damage • Kills • Assists • Deaths • Headshots • Damage Taken • Damage Dealt • Betrayals • Suicides • Score • Matches Won • Matches Lost • Matches Not Finished • Shot Accuracy • Shots Fired • Shots Hit • Headshot Accuracy • Headshot Hits

API Endpoints:
/v3/haloinfinite/all/:username
/v3/haloinfinite/ranked/:username

            
                "Sample Response"
                "Request: https://gameapi.benpetrillo.dev/v3/haloinfinite/all/Benno6560"

                {
    "message": "Success.",
    "data": {
        "username": "Benno6560",
        "playtime": "373h",
        "totalMatches": "2,989",
        "peakRankName": "Onyx",
        "peakRankMmr": "1,651",
        "peakRankIcon": "https://trackercdn.com/cdn/tracker.gg/halo-infinite/skills/c/onyx.png",
        "currRankName": "Diamond 5",
        "currRankMmr": "1,411",
        "currRankIcon": "https://trackercdn.com/cdn/tracker.gg/halo-infinite/skills/c/diamond-5.png",
        "currRankPos": "#8,920 • Top 9%",
        "kdRatio": "1.43",
        "winPercentage": "49.9%",
        "averageKDA": "5.53",
        "averageDamage": "2,535",
        "specifics": {...},
        "matches": {...},
        "shots": {...}
    }
}
            
        

VALORANT Data

Account Info • MMR History • Match History • Match Info by ID • Rating • Global Rank • Damage/Round • K/D Ratio • Headshot Percentage • Win Percentage • Wins • KAST • DDΔ/Round • Kills • Deaths • Assists • ACS • KAD Ratio • Kills/Round • First Bloods • Flawless • Aces

Sample Endpoints:
/v3/valorant/competitive/:username
/v3/valorant/matchInfo/:id

            
                "Sample Response"
                "Request: https://gameapi.benpetrillo.dev/v3/valorant/accountInfo/Benjaspet/%236560"

                {
    "message": "Success.",
    "data": {
        "puuid": "3917c593-929e-535d-9262-dd1d3e586635",
        "region": "NA",
        "accountLevel": 45,
        "smallCard": "https://media.valorant-api.com/playercards/a6d48dd0.../smallart.png",
        "largeCard": "https://media.valorant-api.com/playercards/a6d48dd0.../largeart.png",
        "wideCard": "https://media.valorant-api.com/playercards/a6d48dd0.../wideart.png",
        "cardId": "a6d48dd0-40eb-e2f0-d862-219df87a9583"
    }
}

                "Sample Response"
                "Request: https://gameapi.benpetrillo.dev/v3/valorant/mmrHistory/Benjaspet/%236560/na"

                {
    "message": "Success.",
    "data": [
        {
            "mapName": "Fracture",
            "outcome": "win",
            "rating": "Bronze 3",
            "rankingInTier": 43,
            "mmrChange": 43,
            "elo": 543,
            "matchDate": "Monday, August 14, 2023 4:23 AM",
            "matchId": "938bb401-0d91-46b0-8e67-56fdc04db80b",
            "rankIcon": "https://media.valorant-api.com/competitivetiers/03621f52.../8/smallicon.png"
        },
        {
            "mapName": "Bind",
            "outcome": "loss",
            "rating": "Bronze 3",
            "rankingInTier": 0,
            "mmrChange": -16,
            "elo": 500,
            "matchDate": "Wednesday, August 9, 2023 5:13 AM",
            "matchId": "8e6942b4-11cc-4653-a3b9-48e65d50e697",
            "rankIcon": "https://media.valorant-api.com/competitivetiers/03621f52.../8/smallicon.png"
        },
        {
            "mapName": "Haven",
            "outcome": "win",
            "rating": "Bronze 3",
            "rankingInTier": 13,
            "mmrChange": 16,
            "elo": 513,
            "matchDate": "Wednesday, August 9, 2023 4:41 AM",
            "matchId": "373f7928-875f-4077-ab27-cd33d4c95a3a",
            "rankIcon": "https://media.valorant-api.com/competitivetiers/03621f52.../8/smallicon.png"
        }
    ]
}
            
        

Splitgate Data

Kills • K/D Ratio • Wins • Win Percentage • Level • Level Experience • Deaths • Assists • Points • Matches Played • Losses • Damage Dealt • Teabags

API Endpoint:
/v3/splitgate/:steamId

            
                "Sample Response"
                "Request: https://gameapi.benpetrillo.dev/v3/splitgate/76561199013826806"

                {
    "message": "Success.",
    "data": {
        "kills": "813",
        "kdRatio": "1.59",
        "wins": "31",
        "winPercentage": "55.4%",
        "level": "0",
        "levelExperience": "0",
        "deaths": "510",
        "assists": "189",
        "points": "820",
        "matchesPlayed": "56",
        "losses": "25",
        "damageDealt": "94,134",
        "teabags": "12"
    }
}