Multiplayer API for
Game Developers

A hosted multiplayer game backend: player accounts and authentication, friends and invites, game rooms, matchmaking lobbies, leaderboards, text moderation, Steam sign-in and realtime room updates — one REST API with official SDKs for every major engine.

10 realtime regions 5 official SDKs WebSocket + UDP channels OpenAPI + MCP for AI agents Steam auth & ownership

The Complete Multiplayer API Surface

Nine endpoint groups cover the full online-game lifecycle — from first registration to live in-room action. Every route below is live and documented with copy-paste examples in the API reference.

What is Multiplayer API?

A hosted multiplayer backend that handles the hard parts of online games — players, rooms, matchmaking and leaderboards — so you can focus on gameplay. One REST API, five official SDKs, global server infrastructure.

Player Management

Registration, authentication, sessions, heartbeats, custom player data and moderation tools including timed and permanent bans.

Game Rooms

Create and manage rooms, join and leave flows, per-room state updates and realtime action broadcasting between players.

Matchmaking

Lobbies, join requests, password-protected matches, direct joins and lobby management built into the API.

Leaderboards

Submit scores and query ranked leaderboards per game — no extra infrastructure required.

Game Data Storage

Persist structured game data and player state on the server with simple JSON-based endpoints.

Realtime Updates

Low-latency room events on a dual-channel Node.js relay — reliable WebSocket (TCP) for control plus a UDP fast lane for movement, with client prediction helpers in every SDK.

Built for Every Kind of Online Game

The same endpoints power very different genres — pick the pieces your game needs.

Social Deduction & Party Games

Round-based lobbies with hidden roles, private actions, phased state updates and a decisive end-of-round reveal.

matchmaking.php lobbies · game_room.php actions & updates · realtime.php phase broadcasts

Card, Board & Turn-Based Games

Deterministic turn order, persistent per-player state across sessions, ranked ladders and rematch-friendly rooms.

game_room.php turn actions · game_data.php player state · leaderboard.php ladders

Trivia & Quiz Shows

Host-driven question flow to a room of answers, per-question scoring, live standings and authoritative timing.

game_room.php host actions · time.php timers · realtime.php score pushes

Casual & Co-op Multiplayer

Drop-in rooms, friend invites, presence, and a UDP fast lane when positions and movement need to feel instant.

friends.php invites · matchmaking.php quick join · realtime.php UDP channel

Built for AI Coding Assistants

The entire API is machine-readable. Point an AI assistant or coding agent at our spec and it can generate, edit and debug multiplayer code against real endpoints — no guessing.

OpenAPI 3.0 Spec

Every endpoint, parameter and auth header in a standard spec — feed it to any agent or codegen tool.

api.michitai.com/openapi.json

llms.txt / llms-full.txt

A doc index plus the complete API reference in a single text file — sized for a model's context window.

api.michitai.com/llms-full.txt

MCP Endpoint

A Model Context Protocol server with read-only tools over the API reference — plug it into MCP-compatible assistants.

api.michitai.com/mcp

One prompt is enough

Add the MCP server to your assistant's config, or just paste the spec URL into any agent.

Your prompt

“Build me a Unity lobby with matchmaking and a level leaderboard using the Multiplayer API — spec: api.michitai.com/openapi.json”

Proprietary — All Rights Reserved

Copyright © 2026 Nichita Levandovici. The backend remains under the Backend Proprietary License. The Michitai Service SDK License permits SDK integration, adaptation and bundling in your games for use with our service, including commercial games. Standalone SDK resale and harmful modifications are prohibited. Third-party components retain their own licenses.

Get Started in Minutes

Create a free developer account, generate an API token and make your first call.

1. Register a player

curl -X POST "https://api.michitai.com/api/game_players.php/register" \
  -H "X-Api-Token: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"player_name": "PlayerOne", "player_data": {"level": 1}}'

2. Create a matchmaking lobby

curl -X POST "https://api.michitai.com/api/matchmaking.php/create" \
  -H "X-Api-Token: YOUR_API_TOKEN" \
  -H "X-Game-Player-Token: PLAYER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"room_name": "Friday Night Game", "max_players": 10}'