Transformice Api -
Atelier 801 does not officially publish a REST API for third-party developers. However, the official website and launcher use several JSON endpoints. The community has reverse-engineered these.
Warning: These endpoints may change without notice. Use them for small statistics bots, not critical infrastructure.
const WebSocket = require('ws');const ws = new WebSocket('wss://transformice.com/game'); transformice api
ws.on('open', () => ws.send('v2'); ws.send('aMyBot'); ws.send('pen'); );
ws.on('message', (data) => const msg = data.toString(); const cmd = msg.substring(0, 1); Atelier 801 does not officially publish a REST
switch(cmd) case 'l': // login success console.log('Connected'); ws.send('jFunRoom'); break; case 'M': // chat const [id, text] = msg.substring(1).split(']'); console.log(`Player $id: $text`); break; case 'C': // cheese count console.log(`Cheese collected: $msg.substring(1)`); break;
);
Sites like TfmFashion catalog every piece of fur, accessory, and hat in the game. They often use internal game asset references (IDs) to display items—data that is technically part of the game’s resources rather than a web API.