TikTok for Developers

Developer Docs

Last updated October 2, 2026

SDK Overview

TikTok's developer platform offers several mini game SDK options depending on your project type and integration approach. These SDKs provide the development toolkit for building mini games on TikTok, including mandatory capabilities like login and authorization, payment, advertising, and more.

Choose your SDK

Choose the SDK that best fits your project needs. If you are starting a new project, use the Mini Games SDK (JavaScript) or the TikTok SDK for Unity (C#). The Legacy HTML5 SDK is maintained only for migration purposes.

Mini Games SDK (JavaScript)

TikTok SDK for Unity (C#)

Legacy HTML5 SDK

The primary JavaScript SDK for building mini games on TikTok. Provides direct access to TTMinis.game APIs without loading minis.js.

Best for new mini game projects using web technologies.

A separate plugin package for Unity projects. Provides C# wrappers for mini game APIs with an independent interface scope and version track.

Best for game teams using the Unity engine.

The previous SDK that requires loading minis.js for HTML-based mini games. Only retained for project migration.

Best for existing HTML5 projects only, not available for new projects.

Mini Games SDK

The Mini Games SDK is the primary JavaScript development toolkit for building mini games on TikTok. This SDK is based on native runtime and allows mini games to directly call TTMinis.game without loading minis.js.

The Mini Games SDK provides APIs for system access, device features, rendering, file management, networking, monetization, and media playback. API namespace compatibility: TTMinis.game, tt, and wx prefixes are interchangeable.

Related guides:

TikTok SDK for Unity

The TikTok SDK for Unity provides a plugin package for Unity projects with C# wrappers for mini game APIs. It maintains an independent interface scope and version track separate from the JavaScript-based Mini Games SDK.

Related guides:

Legacy HTML5 SDK

Important: The Legacy HTML5 SDK requires loading minis.js and is not available for new projects. It is retained only for existing project maintenance and migration purposes.

Related guides:

TikTok for Developers