TankPit API
Note: This API is experimental and subject to change without notice.
Rate Limiting
To prevent heavy API usage from negatively impacting the server, we have enabled rate-limiting of 1 request per second. Requests exceeding the limit will result in HTTP 503 error.
Endpoints
tankpit.com/api/active_games
tankpit.com/api/tank?tank_id={tank_id}
tankpit.com/api/find_tank?name={tank_name}
tankpit.com/api/leaderboards
tankpit.com/api/leaderboards?leaderboard={leaderboard}&page={page}
tankpit.com/api/leaderboards?leaderboard={leaderboard}&color={color}&rank={rank}&search={name}
tankpit.com/api/upcoming_tournaments
tankpit.com/api/finished_tournaments
tankpit.com/api/last_finished_tournament
tankpit.com/api/tournament_results?tournament_id={tournament_id}
tankpit.com/api/bb?year={year}&month={month}&day={day}
tankpit.com/api/bb/post?post_id={post_id}