Transformice Api May 2026

These endpoints may change without notice. Use them for small statistics bots, not critical infrastructure. Key Endpoints (Last known valid structure) 1. Player Profile Lookup Used to get a player’s ID and rank. GET https://transformice.com/en/api/profile/username/[NAME]

Atelier 801 strictly prohibits automated accounts (bots) playing the game. However, read-only stat fetching is generally tolerated. Part 3: Integrating Transformice with Discord (Using Node.js/Python) The most common use of the Transformice API (external) is to create a Discord bot that displays stats. Python Example (Using Requests) import requests def get_tfm_stats(username): # Step 1: Get Player ID profile_url = f"https://transformice.com/en/api/profile/username/{username}" profile_res = requests.get(profile_url)

If you are a streamer looking to let your chat control the game, a guild leader wanting to run statistics, or a developer building an external tool, understanding the Transformice API is your first step.

Transformice has been a staple of the Flash-to-HTML5 gaming world since 2010. At its core, it’s a simple physics-based platformer where mice race to collect cheese and bring it back to the hole. However, beneath the surface lies a sophisticated, community-driven ecosystem powered by Lua scripting and, crucially, for developers, the Transformice API .

# Step 2: Get Stats stats_url = f"https://transformice.com/en/api/stats/player/{player_id}" stats_res = requests.get(stats_url)

if not profile_res.json().get('success'): return None player_id = profile_res.json()['player_id']

Покупки с клубной картой - выгодней! ПОЛУЧИТЬ СЕЙЧАС transformice api