Skip to main content

Base URL

https://api.tik.tools
All endpoints require an apiKey query parameter.

Authentication

Pass your API key as a query parameter on every request:
https://api.tik.tools/webcast/check_alive?apiKey=YOUR_KEY&unique_id=streamer

Response Format

All endpoints return JSON with a consistent structure:
{
  "status_code": 0,
  "data": { ... }
}
A status_code of 0 indicates success. Non-zero codes indicate an error with a message field.

Endpoints

Stream Discovery

MethodEndpointDescriptionMin Tier
GET/webcast/check_aliveCheck if a user is liveSandbox
POST/webcast/bulk_live_checkBatch live status check (up to 100 users)Sandbox
POST/webcast/room_idResolve username to room IDSandbox
GET/webcast/hashtag_listTrending live hashtagsSandbox

Stream Data

MethodEndpointDescriptionMin Tier
POST/webcast/room_infoStream metadata, viewer count, host profileSandbox
POST/webcast/room_videoHLS/FLV stream URLsSandbox
GET/webcast/room_coverStream cover/thumbnail imageSandbox
GET/webcast/rankingsReal-time gifter leaderboardSandbox
POST/webcast/fetchHTTP long-polling for eventsSandbox

Signing & Credentials

MethodEndpointDescriptionMin Tier
POST/webcast/sign_urlSign any TikTok URL (X-Bogus)Sandbox
POST/webcast/sign_websocketSign a WebSocket URLSandbox
POST/webcast/ws_credentialsPre-signed WS credentialsSandbox

Identity & Info

MethodEndpointDescriptionMin Tier
POST/webcast/resolve_user_idsResolve numeric user IDs to usernamesSandbox
GET/webcast/gift_infoGift catalog with diamond valuesSandbox

Account

MethodEndpointDescriptionMin Tier
GET/webcast/rate_limitsCheck your quota and limitsSandbox
POST/authentication/jwtGenerate JWT for frontend authSandbox