Kickoff Boss Documentation - KOB API



Welcome to the official Game API documentation! This API allows you to access game data, player information, and build tools around our game.

This API is intended for:

1. Game players who want to create custom utilities.
2. Community developers looking to build integrations or tools for the game.
3. Anyone interested in exploring the game's data.

Please, remember that using the api you are agreeing with our terms of service and all the usage will be tracked and can result on account suspension on extreme cases.
If you have any issues, please contact our support team at support@kickoffboss.com

Obtaining an API Key

  1. Log into your game account.
  2. Go to the "My Settings".
  3. Generate a new API key.
  4. Your API key will be displayed on this page.

Notes

  • Keep your API key safe. Do not expose it in client-side code.
  • All API requests should be GET and require a valid API key to be included as a query parameter with the key `key`.
  • The API uses JSON for all responses.
  • Replace xxx with the ID of the resource you want.
  • Only public data is displayed in this API, the same information you can find inside the game.
  • If you wish to access more public data than the one currently available, please contact us with what you need and information about your needs.


Current available endpoints

About a player: https://api.kickoffboss.com/v1/player/xxx?key=api_key
About a team: https://api.kickoffboss.com/v1/team/xxx?key=api_key
About a match: https://api.kickoffboss.com/v1/match/xxx?&key=api_key
About a league: https://api.kickoffboss.com/v1/league/xxx?&key=api_key


Javascript Example

const apiKey = "your_api_key";
const playerId = 123;
const url = `https://api.kickoffboss.com/v1/player/${playerId}?key=${apiKey}`;


fetch(url)
.then(response => {
    if (!response.ok) {
        throw new Error(`HTTP error! status: ${response.status}`);
    }
    return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("There was a problem with the fetch operation:", error));


PHP Example

$apiKey = "your_api_key";
$playerId = 123;
$url = "https://api.kickoffboss.com/v1/player/" . $playerId . "?key=" . $apiKey;
$curl = curl_init();
curl_setopt_array($curl, [
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPGET => true,
]);
$response = curl_exec($curl);
$data = json_decode($response, true);
print_r($data);
curl_close($curl);

موافق
نحن نستخدم ملفات تعريف الارتباط لضمان حصولك على أفضل تجربة ممكنة. باستخدام كيك اوف بوس ، فإنك توافق على سياسة الخصوصية a href="https://tqpros.com/ar/tos.php">Privacy Policy