Observed Signal · Feb 24, 2026 · Technical Release · Source: https://developers.tiktok.com/doc/changelog · Impact: 2/5 · Sentiment: Neutral
TikTok Minis API: Get Menu Button Layout
TikTok for Developers documents a Mini Games (TTMinis) SDK UI API — TTMinis.game.getMenuButtonBoundingClientRect — that returns the layout position of the mini-game menu (capsule) button in pixels. The API is intended for HTML-runtime mini games and provides width, height, top, right, bottom and left coordinates measured from the screen's top-left corner. The doc includes the return-value schema and a JavaScript usage example (const res = TTMinis.game.getMenuButtonBoundingClientRect()). This API helps developers align in-game navigation controls with the host app UI.
Developer reference for a TikTok Mini Games SDK UI API; useful to Minis developers aligning UI in HTML runtime but not industry-shifting.
Track Button Signals & Market Shifts in Real-Time
Polaris7 autonomous intelligence agents track regulatory filings, primary sources, executive changes, and deal flow 24/7. Create your free Explorer workspace to monitor these entities.
Key Takeaways & Evidence Grounding
- TikTok Mini Games SDK exposes TTMinis.game.getMenuButtonBoundingClientRect() to retrieve menu button layout coordinates.
- The API returns width, height, top, right, bottom and left values in pixels relative to the screen's top-left corner.
- This API is required only for mini games that use the HTML runtime.
- The documentation provides a JavaScript example: const res = TTMinis.game.getMenuButtonBoundingClientRect() and shows reading res.width, res.height, res.top, res.right, res.bottom, res.left.
Connected Companies & Entities
1 Entity mappedOntology Mapping & Concepts
Related Market Signals & Shifts
Recent verified developments and strategic activity across this market segment.
TikTok Minis SDK UI Documentation
TikTok's Developer Portal documents the Minis SDK UI APIs used by HTML-runtime mini-games and mini-apps on the TikTok platform. The page describes TTMinis methods such as getMenuButtonBoundingClientRect (returns menu button layout: width, height, top, right, bottom, left in pixels) and setNavigationBarColor (accepts frontColor and backgroundColor; callback returns is_success and error). The portal also enumerates related developer products and APIs — Mobile SDKs (iOS/Android), Server API, Webhooks, Login Kit, Share Kit, Content Posting API, Data Portability API, Display API, Research Tools, Commercial Content API, Monetization, TikTok Minis (mini-games/mini dramas) and Mini Games SDK — and links to guides, changelogs and monetization/in-app ad references.
TikTok Minis SDK: Render and Canvas APIs
TikTok published a Dining SaaS developer guide with comprehensive Java and Go sample code for the TikTok Go Dining (TTLS) merchant APIs. The documentation covers authentication (token and refresh flows via POST https://open.tiktokapis.com/merchant/oauth/token/), shop management (POI claiming, certification upload, decoration, basic info updates), product management (create/update, free-audit updates, delist, batch queries, category and shop queries), voucher redemption (query and redeem endpoints), task/product/after-sale webhooks with event names and payload structures, and implementation notes on retries and idempotency. The page complements prior Go Dining docs that described the voucher redemption workflow, relevant endpoints (e.g., /v2/localservice/saas/fulfill/get_code_item_list/ and /redeem_code/), and operational guidance such as rate and error-handling considerations for integrators.
TikTok Minis SDK Basic Utility Documentation
TikTok's developer documentation page describes the Minis SDK basic utility APIs and the broader developer product surface. It lists integration resources (Mobile SDKs for iOS/Android, Server APIs, Webhooks), developer kits (Login Kit, Share Kit, Display API), content and commerce APIs (Content Posting API, Commercial Content API, Monetization, Data Portability API), and Minis-specific tooling for Mini Games and Mini Dramas. The page documents core Minis utility calls: TTMinis.init (requires a clientKey and must be called before other SDK methods), TTMinis.canIUse (a granular runtime API compatibility checker), and env runtime fields (e.g., USER_DATA_PATH). The docs are published on TikTok’s Developers site and present examples, parameter definitions, and links to related guides and changelogs.
Track Real-Time Market Signals & Shifts
Set up custom watchlists to receive automated, evidence-grounded executive digests whenever material signals or shifts occur across your tracked landscape.
