Transformice Api Here

Example of a simple Shaman script:

-- Spawn a wooden plank at coordinates (300, 400)
plank = spawn("plank", 300, 400)
-- Make it rotate slowly
setAngle(plank, 45)
-- Add a ghost mouse to help guide players
spawn("ghost", 350, 420)

This API has given rise to incredible creations—from automated puzzle rooms to fully functional mini-games within Transformice (such as racing tracks, mazes, and even turn-based RPGs).

You cannot access the file system (io.open), the full os library, or standard networking sockets. You can only use tfm.exec.httpRequest and print. transformice api

Since Atelier 801 (the developer) has not released an official REST API for developers, the community built its own tools. Using network sniffing and public data endpoints, the Transformice Web API was born.

The heart of Transformice’s longevity is its /room system. In module rooms, the API provides a sandboxed Lua environment. Here is what the API exposes to scripters: Example of a simple Shaman script: -- Spawn

The most common use of the Transformice API (external) is to create a Discord bot that displays stats.

For years, developers have used URLs like: This API has given rise to incredible creations—from

The developers at Atelier 801 provide a public API for accessing game data. This is the most reliable way to fetch information, though it requires authentication.

Base URL: https://api.transformice.com/