API reference

This API exposes TikTok public data (video, user, feed, comments, challenges, playlists, collections, story highlights, and more). All requests use HTTPS and return JSON with top-level code, msg, and data.

Base URL

https://api.tikwmapi.com

Combine with each endpoint path (for example GET / for the video info endpoint).

Response headers · Rate limits

Successful responses include two groups of headers: a per-minute window (how fast you can call the API) and a subscription quota (how much you can use within your current billing period). Numbers are examples; your actual values depend on plan and usage.

  • x-ratelimit-* (without quota): limit and remaining calls in the current minute; reset is seconds until that minute window refreshes.
  • x-ratelimit-quota-*: your plan’s total allowance for the period, what’s left, and quota-reset — seconds until the subscription quota rolls over (next reset for the billing cycle).
HeaderExampleMeaning
x-ratelimit-limit600Max requests allowed in the current per-minute window.
x-ratelimit-remaining599Requests still available before the window resets.
x-ratelimit-reset60Seconds until the per-minute counter resets.
x-ratelimit-quota-limit3000000Total quota for your subscription period.
x-ratelimit-quota-remaining2999996Quota left in this period.
x-ratelimit-quota-reset2677025Seconds until subscription quota resets (next cycle).

When a client is rate limited (per-minute throttle or plan caps), the API returns HTTP 429 with a JSON body such as:

  • {"code":10429,"msg":"Too many requests. Please reduce your request rate."}
  • {"code":10429,"msg":"You've reached the rate limit for your current plan. Upgrade for higher limits."}

When the subscription / period quota is exhausted, the API also returns HTTP 429 with:

  • {"code":10430,"msg":"Monthly/Period quota exhausted. Please contact support or upgrade your plan."}

Response codes

Common values for the top-level code field in JSON responses:

CodeMeaning
0Successful request
-1Response error; check the msg field in the response.
10401Missing API key.
10429Rate limit exceeded; check the x-ratelimit-* response headers.
10430Quota exhausted; check the x-ratelimit-quota-* response headers.

Authentication

Every request must include your API key in HTTP headers. Requests without a valid key are rejected.

Header x-tikwmapi-key
Value YOUR_API_KEY

Click YOUR_API_KEY to open your keys in the dashboard, or paste your real key in clients. Do not ship production keys in browser-side code or public repositories.

  • Use HTTPS only — the base URL above is served over TLS.
  • Include the header on every call, including GET requests that pass parameters in the query string.
  • Rotate or revoke keys if they may have leaked; update all clients when you change keys.
GET /dashboard_api/user/info

Get Subscription and User Info

Retrieves subscription and user information.

Parameters

NameInTypeRequiredExampleDescription
headerstringYesDashboard API key (same as for public API requests).
querystringNoSame key as a query parameter if the header is not used; header takes precedence.

Responses

CodeDescription
200OK
GET /

Get Video Detail

Get tiktok video full info. HD Quality, No Watermark. Fast. Support Tiktok. Support Getting Image List. Support Tiktok Stories.

Parameters

NameInTypeRequiredExampleDescription
querystringYeshttps://www.tiktok.com/@tiktok/video/7231338487075638570https://vt.tiktok.com/ZSdGG1Y1k/ or https://www.tiktok.com/@tiktok/video/7106658991907802411 or 7106658991907802411 Image list https://vm.tiktok.com/ZMNkqKUce/
querystringNo1Get HD Video(High bit rate). This increases the total request time a little. response: data.hdplay

Responses

CodeDescription
200OK
GET /ads/top/ads

Get Top Ads

Get Top Ads

Parameters

NameInTypeRequiredExampleDescription
querystringYes1none
querystringNo20max 20
querystringNo77: Last 7 days 30: Last 30 days 180: Last 180 days
querystringNoUS,DEComma-separated (e.g. US,CA) 'DZ', 'AR', 'AU', 'AT', 'AZ', 'BH', 'BD', 'BY', 'BE', 'BO', 'BR', 'BG', 'KH', 'CA', 'CL', 'CO', 'CR', 'HR', 'CY', 'CZ', 'DK', 'DO', 'EC', 'EG', 'EE', 'FI', 'FR', 'DE', 'GR', 'GT', 'JO', 'HU', 'ID', 'IQ', 'IE', 'IL', 'IT', 'JP', 'KZ', 'KE', 'KW', 'LV', 'LB', 'MY', 'MX', 'MA', 'NL', 'NZ', 'NG', 'NO', 'OM', 'PK', 'PA', 'PY', 'PE', 'PH', 'PL', 'PT', 'PR', 'QA', 'LT', 'RO', 'SA', 'RS', 'SG', 'SK', 'SI', 'ZA', 'KR', 'ES', 'LK', 'SE', 'CH', 'TW', 'TH', 'TR', 'AE', 'GB', 'US', 'UY', 'VN'
querystringNoen,deComma-separated (e.g. en,vi) 'en', 'es', 'ar', 'vi', 'th', 'de', 'id', 'pt', 'fr', 'ms', 'nl', 'ja', 'it', 'ro', 'zh-Hant', 'ko'
querystringNoimpressionimpression: Reach ctr: CTR like: Like cvr: CRV play_6s_rate: 6s view rate play_2s_rate: 2s view rate
querystringNoComma-separated (e.g. 28000000000,24000000000) Industry Codes : Click
querystringNo11: Spark Ads 2: Non-spark Ads
querystringNoComma-separated (e.g. 1,2) 1: Traffic 2: App installs 3: Conversions 4: Video views 5: Reach 8: Lead generation 15: Product sales
querystringNo1: Top 1~20% 2: Top 21~40% 3: Top 41~60% 4: Top 61~80% 5: Top 81~100%
querystringNosearch keyword

Responses

CodeDescription
200OK
GET /ads/top/ads/detail

Get Ads Detail

Get Ads Detail

Parameters

NameInTypeRequiredExampleDescription
querystringNo7611853750504914952Ad id

Responses

CodeDescription
200OK
GET /user/info

Get User's Profile

get user info unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNotiktokunique_id or sec_user_id
querystringNouser id

Responses

CodeDescription
200OK
GET /user/favorite

Get User's Favorite Videos

get user favorite videos for latest unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNo6622077159488258054none
querystringNoramiryatebyalyblynone
queryintegerNo10max 30
querystringNo0hasMore is True load next page

Responses

CodeDescription
200OK
GET /user/posts

Get User's Post

get user post videos for latest get user feed unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNo107955none
querystringNotiktoknone
queryintegerNo10max 30
querystringNo0hasMore is True load next page

Responses

CodeDescription
200OK
GET /user/reposts

Get User's Repost

Get user's reposted videos.

Parameters

NameInTypeRequiredExampleDescription
querystringNotiktokuniqueId or secUid
querystringNonone
querystringNo10none
querystringNo0none

Responses

CodeDescription
200OK
GET /user/followers

Get User's Followers

get user follower list

Parameters

NameInTypeRequiredExampleDescription
querystringYes107955none
queryintegerNo50max 200
querystringNo0hasMore is True load next page

Responses

CodeDescription
200OK
GET /user/following

Get User's Followings

get user following list

Parameters

NameInTypeRequiredExampleDescription
querystringYes107955none
queryintegerNo50max 200
querystringNo0hasMore is True load next page

Responses

CodeDescription
200OK
GET /user/story

Get User's Stories

Get User's Stories

Parameters

NameInTypeRequiredExampleDescription
querystringNo7128593328456041478none

Responses

CodeDescription
200OK
GET /highlight/posts

Get Story Highlight's Videos

get story highlight post video list

Parameters

NameInTypeRequiredExampleDescription
querystringYes8367703309none
queryintegerNo10max 30
querystringNo0load more

Responses

CodeDescription
200OK
GET /highlight/info

Get Story Highlight's Detail

get Story Highlight info

Parameters

NameInTypeRequiredExampleDescription
querystringYes8367703309none

Responses

CodeDescription
200OK
GET /highlight/list

Get Story Highlight By User

get story highlight list by user id unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNocleiamazzeo86username (e.g. cleiamazzeo86)
querystringNo6638285105437048833numeric user id. unique_id or user_id is required.

Responses

CodeDescription
200OK
GET /music/posts

Get Music's Videos

get music post video list

Parameters

NameInTypeRequiredExampleDescription
querystringYes7002634556977908485none
queryintegerNo10max 30
querystringNo0cursor

Responses

CodeDescription
200OK
GET /music/info

Get Music's Detail

get music info

Parameters

NameInTypeRequiredExampleDescription
querystringYeshttps://www.tiktok.com/music/original-sound-hnjgdcburfvnj-7002634556977908485url or id 7002634556977908485

Responses

CodeDescription
200OK
GET /comment/list

Get Video's Comments

get comment list by video

Parameters

NameInTypeRequiredExampleDescription
querystringNohttps://www.tiktok.com/@artchiist/video/7612965843596479751none
queryintegerNo10max 50
querystringNo0load more

Responses

CodeDescription
200OK
GET /comment/reply

Get Comment's Reply

get reply list by comment id

Parameters

NameInTypeRequiredExampleDescription
querystringNo7612965843596479751none
querystringNo7612966844110914334none
queryintegerNo20max 50
querystringNo0load more

Responses

CodeDescription
200OK
GET /challenge/posts

Get HashTag's Videos

get challenge post videos

Parameters

NameInTypeRequiredExampleDescription
querystringYes33380challenge id
queryintegerNo10max 30
querystringNo0none
querystringNoUSnone

Responses

CodeDescription
200OK
GET /challenge/info

Get HashTag Detail

get challenge detail input challenge_id or challenge_name

Parameters

NameInTypeRequiredExampleDescription
querystringNo33380none
querystringNocosplaynone

Responses

CodeDescription
200OK
GET /mix/posts

Get Playlist's Videos

get playlist post video list

Parameters

NameInTypeRequiredExampleDescription
querystringYes7551954991259339534none
queryintegerNo10max 30
querystringNo0has more

Responses

CodeDescription
200OK
GET /mix/info

Get Playlist's Detail

get playlist info

Parameters

NameInTypeRequiredExampleDescription
querystringYes7516638364301265695none

Responses

CodeDescription
200OK
GET /mix/list

Get Playlist By User

get playlist by user id unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNotiktoknone
querystringNo107955none
queryintegerNo10max 30
querystringNo0load more

Responses

CodeDescription
200OK
GET /collection/posts

Get Collection's Videos

get collection post video list

Parameters

NameInTypeRequiredExampleDescription
querystringYes7488553521853139758none
queryintegerNo10max 30
querystringNo0load more

Responses

CodeDescription
200OK
GET /collection/info

Get Collection's Detail

get collection info

Parameters

NameInTypeRequiredExampleDescription
querystringYes7488553521853139758none

Responses

CodeDescription
200OK
GET /collection/list

Get Collection By User

get collection list by user id unique_id or user_id is not empty

Parameters

NameInTypeRequiredExampleDescription
querystringNolookatcollection2none
querystringNo7453595326067278894none
querystringNo10max 30
querystringNo0load more

Responses

CodeDescription
200OK