This API was published as part of kickbase-api-doc on GitHub. It is licensed under the MIT License. The purpose of this documentation is for scientific reasons only!
Logs in a user by email and password and saves the password as an environment variable.
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d '{
"email": "[email]",
"password": "[password]",
"ext": false
}' "https://api.kickbase.com/user/login"
POST /user/login HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
{
"email": "[email]",
"password": "[password]",
"ext": false
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d '{
"password": "",
"token": ""
}' "https://api.kickbase.com/user/resetpassword"
POST /user/resetpassword HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
{
"password": "",
"token": ""
}
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/me"
GET /leagues/[league_id]/me HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users/[user_id]/feed"
GET /leagues/[league_id]/users/[user_id]/feed HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/user/refreshchattoken"
POST /user/refreshchattoken HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/players/[player_id]/"
GET /leagues/[league_id]/players/[player_id]/ HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/players/[player_id]/feed"
GET /leagues/[league_id]/players/[player_id]/feed HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/players/[player_id]/points"
GET /players/[player_id]/points HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/players/[player_id]/stats"
GET /leagues/[league_id]/players/[player_id]/stats HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/competition/search?query="
GET /competition/search?query= HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X DELETE -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/market/[player_id]"
DELETE /leagues/[league_id]/market/[player_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/market/"
GET /leagues/[league_id]/market/ HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"playerId": "663",
"price": 6000000
}' "https://api.kickbase.com/leagues/[league_id]/market"
POST /leagues/[league_id]/market HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"playerId": "663",
"price": 6000000
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/market/[player_id]/offers/[offer_id]/accept"
POST /leagues/[league_id]/market/[player_id]/offers/[offer_id]/accept HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X PUT -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"price": 6000000
}' "https://api.kickbase.com/leagues/[league_id]/market/[player_id]"
PUT /leagues/[league_id]/market/[player_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"price": 6000000
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"playerId": "663",
"price": 6000000
}' "https://api.kickbase.com/leagues/[league_id]/market/[player_id]/offers/[offer_id]/decline"
POST /leagues/[league_id]/market/[player_id]/offers/[offer_id]/decline HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"playerId": "663",
"price": 6000000
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"price": 6000000
}' "https://api.kickbase.com/leagues/[league_id]/market/[player_id]/offers"
POST /leagues/[league_id]/market/[player_id]/offers HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"price": 6000000
}
curl -X DELETE -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/market/[player_id]/offers/[offer_id]/"
DELETE /leagues/[league_id]/market/[player_id]/offers/[offer_id]/ HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/lineup"
GET /leagues/[league_id]/lineup HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/lineupex"
GET /leagues/[league_id]/lineupex HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/sso/ligainsider?leagueId=[league_id]"
POST /sso/ligainsider?leagueId=[league_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"type":"3-4-3",
"players":[
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
}' "https://api.kickbase.com/leagues/[league_id]/lineup"
POST /leagues/[league_id]/lineup HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"type":"3-4-3",
"players":[
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null
]
}
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/live/chat?start=0"
GET /leagues/[league_id]/live/chat?start=0 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/live/"
GET /leagues/[league_id]/live/ HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/live/matches/[match_id]"
GET /leagues/[league_id]/live/matches/[match_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/live/notlinedupplayers"
GET /leagues/[league_id]/live/notlinedupplayers HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/live/players/[player_id]"
GET /leagues/[league_id]/live/players/[player_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/live/top10"
GET /live/top10 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/live/teams/[team_id]/players"
GET /live/teams/[team_id]/players HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/live/teamranking"
GET /live/teamranking HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"m": "Test"
}' "https://api.kickbase.com/leagues/[league_id]/live/chat"
POST /leagues/[league_id]/live/chat HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"m": "Test"
}
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/"
GET /leagues/ HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/feed/[feed_item_id]/comments"
GET /leagues/[league_id]/feed/[feed_item_id]/comments HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/feed?start=0"
GET /leagues/[league_id]/feed?start=0 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/info"
GET /leagues/[league_id]/info HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users/[user_id]/players?matchDay=0"
GET /leagues/[league_id]/users/[user_id]/players?matchDay=0 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/stats"
GET /leagues/[league_id]/stats HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users"
GET /leagues/[league_id]/users HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users/[user_id]/profile"
GET /leagues/[league_id]/users/[user_id]/profile HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users/[user_id]/stats"
GET /leagues/[league_id]/users/[user_id]/stats HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/users/[user_id]/players"
GET /leagues/[league_id]/users/[user_id]/players HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/me"
GET /leagues/[league_id]/me HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/quickstats"
GET /leagues/[league_id]/quickstats HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"comment": "Test"
}' "https://api.kickbase.com/leagues/[league_id]/feed/[feed_item_id]/comments"
POST /leagues/[league_id]/feed/[feed_item_id]/comments HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"comment": "Test"
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" -d '{
"comment": "Test"
}' "https://api.kickbase.com/leagues/[league_id]/feed"
POST /leagues/[league_id]/feed HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
{
"comment": "Test"
}
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/user/favoriteplayers/[player_id]"
POST /user/favoriteplayers/[player_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X DELETE -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/user/favoriteplayers/[player_id]"
DELETE /user/favoriteplayers/[player_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" "https://api.kickbase.com/competition/best?position=0"
GET /competition/best?position=0 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/competition/matches?matchDay=20"
GET /competition/matches?matchDay=20 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/competition/table?matchDay=30"
GET /competition/table?matchDay=30 HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/competition/teams/[team_id]/players"
GET /competition/teams/[team_id]/players HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/competition/search?t=Lewandowski"
GET /competition/search?t=Lewandowski HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/collectgift"
POST /leagues/[league_id]/collectgift HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/leagues/[league_id]/currentgift"
GET /leagues/[league_id]/currentgift HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "Cookie: kkstrauth=[token];" "https://api.kickbase.com/user/achievements?league_id=[league_id]"
GET /user/achievements?league_id=[league_id] HTTP/1.1
Host: api.kickbase.com
Content-Type: application/json
Accept: application/json
Cookie: kkstrauth=[token];
curl -X POST -d '{
"returnSecureToken": true,
"token": "[chat_token]"
}' "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyCustomToken?key=[api_key]"
POST /identitytoolkit/v3/relyingparty/verifyCustomToken?key=[api_key] HTTP/1.1
Host: www.googleapis.com
{
"returnSecureToken": true,
"token": "[chat_token]"
}
curl -X POST -H "Authorization: Bearer [firebase_id_token]" -d '{
"fields": {
"userId": {
"stringValue": "[user_id]"
},
"message": {
"stringValue": "Hello World!"
},
"leagueId": {
"stringValue": "[league_id]"
},
"date": {
"stringValue": "2020-08-17T19:13:04Z"
},
"username": {
"stringValue": ""
},
"seenBy": {
"arrayValue": {
"values": [
{
"stringValue": "[user_id]"
}
]
}
}
}
}' "https://firestore.googleapis.com/v1/projects/kickbase-bdb0f/databases/(default)/documents/chat/[league_id]/messages"
POST /v1/projects/kickbase-bdb0f/databases/(default)/documents/chat/[league_id]/messages HTTP/1.1
Host: firestore.googleapis.com
Authorization: Bearer [firebase_id_token]
{
"fields": {
"userId": {
"stringValue": "[user_id]"
},
"message": {
"stringValue": "Hello World!"
},
"leagueId": {
"stringValue": "[league_id]"
},
"date": {
"stringValue": "2020-08-17T19:13:04Z"
},
"username": {
"stringValue": ""
},
"seenBy": {
"arrayValue": {
"values": [
{
"stringValue": "[user_id]"
}
]
}
}
}
}
curl -X GET -H "Authorization: Bearer [firebase_id_token]" "https://firestore.googleapis.com/v1/projects/kickbase-bdb0f/databases/(default)/documents/chat/[league_id]/messages"
GET /v1/projects/kickbase-bdb0f/databases/(default)/documents/chat/[league_id]/messages HTTP/1.1
Host: firestore.googleapis.com
Authorization: Bearer [firebase_id_token]