This page is only available in english language.
documentation API user

user

public endpoints

/api/v4/user/$userID
parameters
name type description
$userID (required) int This is the ID of the user.
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $userID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "username": "Freaky",
    "first_name": null,
    "last_name": null,
    "residence_name": "Germany",
    "age": 26,
    "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
    "description": "Someone who created this place",
    "discord": "freakyy_gg",
    "discord_ID": 254670416881123329,
    "twitter": "Freakyy_gg",
    "twitch": "freakyy_gg",
    "youtube": "user\/00cris001",
    "website": "https:\/\/www.opleague.eu\/",
    "logo_array": {
        "background": "..\/styles\/media\/user\/1\/Logo_background.png"
    }
}

You are able to stack request with optional parameters like so: /api/v4/user/$userID/$additional1,$additional2,$additional3

/api/v4/user/$userID/achievement
parameters
name type description
$userID (required) int This is the ID of the user.
achievement string Get all achievements of a user.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $userID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "username": "Freaky",
    "first_name": null,
    "last_name": null,
    "residence_name": "Germany",
    "age": 26,
    "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
    "description": "Someone who created this place",
    "discord": "freakyy_gg",
    "discord_ID": 254670416881123329,
    "twitter": "Freakyy_gg",
    "twitch": "freakyy_gg",
    "youtube": "user\/00cris001",
    "website": "https:\/\/www.opleague.eu\/",
    "logo_array": {
        "background": "..\/styles\/media\/user\/1\/Logo_background.png"
    },
    "achievement": {
        "1": {
            "ID": "1",
            "name": "beta tester",
            "description": "You didn't even know what it is.",
            "logo_array": [],
            "logo_alt": "beta tester logo",
            "achievement_gained_on": "2020-02-17 11:12:23",
            "achievement_gained": true
        },
        "2": {
            "ID": "2",
            "name": "beta cup winner",
            "description": "A lot of hype around something that isn't finished.",
            "logo_array": [],
            "logo_alt": "beta cup winner logo",
            "achievement_gained_on": "2020-02-24 18:16:33",
            "achievement_gained": true
        },
        "3": {
            "ID": "3",
            "name": "beta league winner",
            "description": "A win is a win, no matter how small.",
            "logo_array": [],
            "logo_alt": "beta league winner logo",
            "achievement_gained_on": "2020-03-15 18:27:13",
            "achievement_gained": true
        },
        "4": {
            "ID": "4",
            "name": "koth",
            "description": "Recent King of the Hill winner",
            "logo_array": [],
            "logo_alt": "koth logo",
            "achievement_gained_on": "2020-03-15 18:27:16",
            "achievement_gained": true
        },
        "5": {
            "ID": "5",
            "name": "bug hunter",
            "description": "What a great exterminator we have here.",
            "logo_array": [],
            "logo_alt": "bug hunter logo",
            "achievement_gained_on": "2020-02-24 18:16:26",
            "achievement_gained": true
        },
        "6": {
            "ID": "6",
            "name": "champion",
            "description": "No MMR roleback, don't worry.",
            "logo_array": [],
            "logo_alt": "champion logo",
            "achievement_gained_on": "2020-04-19 15:01:47",
            "achievement_gained": true
        },
        "7": {
            "ID": "7",
            "name": "cookie",
            "description": "Restores two hunger points.",
            "logo_array": [],
            "logo_alt": "cookie logo",
            "achievement_gained_on": "2020-04-19 15:01:52",
            "achievement_gained": true
        },
        "8": {
            "ID": "8",
            "name": "early bird",
            "description": "Sacrificed to look for sharks - it is safe.",
            "logo_array": [],
            "logo_alt": "early bird logo",
            "achievement_gained_on": "2020-02-24 18:16:29",
            "achievement_gained": true
        },
        "9": {
            "ID": "9",
            "name": "hacker",
            "description": "Good guy with a hood and a laptop.",
            "logo_array": [],
            "logo_alt": "hacker logo",
            "achievement_gained_on": "2020-02-24 18:16:31",
            "achievement_gained": true
        },
        "10": {
            "ID": "10",
            "name": "patreon",
            "description": "I see you have money. Spend some of it.",
            "logo_array": [],
            "logo_alt": "patreon logo",
            "achievement_gained_on": "2020-04-19 15:01:49",
            "achievement_gained": true
        },
        "11": {
            "ID": "11",
            "name": "sapphire",
            "description": "There is a light at the end of the tunnel.",
            "logo_array": [],
            "logo_alt": "sapphire logo",
            "achievement_gained_on": "2020-09-27 14:50:14",
            "achievement_gained": true
        },
        "15": {
            "ID": "15",
            "name": "level 3 supporter",
            "description": "First steps into poverty. Be careful you don't become broke.",
            "logo_array": [],
            "logo_alt": "level 3 supporter logo",
            "achievement_gained_on": "2022-09-06 04:32:56",
            "achievement_gained": true
        },
        "17": {
            "ID": "17",
            "name": "verified",
            "description": "verified",
            "logo_array": [],
            "logo_alt": "verified logo",
            "achievement_gained_on": "2023-11-27 18:01:43",
            "achievement_gained": true
        }
    }
}
/api/v4/user/$userID/launcher
parameters
name type description
$userID (required) int This is the ID of the user.
launcher string Get all launchers of a user.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $userID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "username": "Freaky",
    "first_name": null,
    "last_name": null,
    "residence_name": "Germany",
    "age": 26,
    "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
    "description": "Someone who created this place",
    "discord": "freakyy_gg",
    "discord_ID": 254670416881123329,
    "twitter": "Freakyy_gg",
    "twitch": "freakyy_gg",
    "youtube": "user\/00cris001",
    "website": "https:\/\/www.opleague.eu\/",
    "logo_array": {
        "background": "..\/styles\/media\/user\/1\/Logo_background.png"
    },
    "launcher": {
        "1": {
            "linked_on": {
                "date": "2021-11-24 13:18:30.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "388273df-4b45-444e-a20f-8f755f2e1896",
            "last_known_username": "Freaky..-",
            "name": "Ubisoft Connect - PC",
            "launcher_ID": "1"
        },
        "6": {
            "linked_on": {
                "date": "2024-11-13 22:24:59.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "RvHvrR-jETooYJWvP-lZ5Aq7_t-gql-Okz6BbJBHxv5BjaGAGoXA_e28fDGeQ5NkZ5PzBn6fZvwDgA",
            "last_known_username": "Freaky#opl",
            "name": "Riot ID (Valorant)",
            "launcher_ID": "6"
        },
        "7": {
            "linked_on": {
                "date": "2024-11-09 03:24:19.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "76561198066012278",
            "last_known_username": "Freaky",
            "name": "Steam",
            "launcher_ID": "7"
        },
        "8": {
            "linked_on": {
                "date": "2022-07-21 01:45:52.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "skillerfreaky",
            "last_known_username": "skillerfreaky",
            "name": "Epic Games",
            "launcher_ID": "8"
        },
        "10": {
            "linked_on": {
                "date": "2022-10-30 03:32:04.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "132620923",
            "last_known_username": "Freaky#21105",
            "name": "Battlenet",
            "launcher_ID": "10"
        },
        "11": {
            "linked_on": {
                "date": "2024-11-07 19:17:22.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "test#123",
            "last_known_username": "test#123",
            "name": "Activision",
            "launcher_ID": "11"
        },
        "13": {
            "linked_on": {
                "date": "2024-11-13 22:24:59.000000",
                "timezone_type": 3,
                "timezone": "Europe\/Berlin"
            },
            "value": "RvHvrR-jETooYJWvP-lZ5Aq7_t-gql-Okz6BbJBHxv5BjaGAGoXA_e28fDGeQ5NkZ5PzBn6fZvwDgA",
            "last_known_username": "Freaky#opl",
            "name": "Riot ID (League of Legends)",
            "launcher_ID": "13"
        }
    }
}
/api/v4/user/$userID/organisations
parameters
name type description
$userID (required) int This is the ID of the user.
organisations string Get all organisations a user is in.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $userID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "username": "Freaky",
    "first_name": null,
    "last_name": null,
    "residence_name": "Germany",
    "age": 26,
    "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
    "description": "Someone who created this place",
    "discord": "freakyy_gg",
    "discord_ID": 254670416881123329,
    "twitter": "Freakyy_gg",
    "twitch": "freakyy_gg",
    "youtube": "user\/00cris001",
    "website": "https:\/\/www.opleague.eu\/",
    "logo_array": {
        "background": "..\/styles\/media\/user\/1\/Logo_background.png"
    },
    "organisations": []
}
/api/v4/user/$userID/teams
parameters
name type description
$userID (required) int This is the ID of the user.
teams string Get all teams a user is in.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $userID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "username": "Freaky",
    "first_name": null,
    "last_name": null,
    "residence_name": "Germany",
    "age": 26,
    "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
    "description": "Someone who created this place",
    "discord": "freakyy_gg",
    "discord_ID": 254670416881123329,
    "twitter": "Freakyy_gg",
    "twitch": "freakyy_gg",
    "youtube": "user\/00cris001",
    "website": "https:\/\/www.opleague.eu\/",
    "logo_array": {
        "background": "..\/styles\/media\/user\/1\/Logo_background.png"
    },
    "teams": {
        "1": {
            "ID": 1,
            "name": "OPL Staff",
            "short_name": "STAFF",
            "residence_name": "Germany",
            "url": "https:\/\/www.opleague.pro\/team\/1-OPL-Staff",
            "game": {
                "ID": 1,
                "name": "Rainbow Six Siege",
                "short_name": "R6",
                "min_age": 18,
                "logo_array": [],
                "logo_array_on_black": [],
                "logo_color_array": [],
                "keyart_array": [],
                "cover_array": []
            },
            "description": null,
            "discord": "discord.com\/invite\/K4ST7kdBby",
            "twitter": "opleaguepro",
            "twitch": "opleagueeu",
            "youtube": null,
            "website": "https:\/\/www.opleague.pro",
            "logo_array": {
                "background": "..\/styles\/media\/team\/1\/Logo_background.png"
            },
            "logo_array_on_black": [],
            "banner_array": []
        }
    }
}
Table of contents