Every endpoint needs your key. The header is the safest place for it; the query string works too.
curl"https://dev.omar-thing.site/api/v1/profile?username=tiktok&format=clean" \
-H "X-API-Key: YOUR_API_KEY"# same call with the key in the URL
https://dev.omar-thing.site/api/v1/profile?username=tiktok&key=YOUR_API_KEY
Response shape
Success and error bodies look like this on every endpoint.
Each plan has a per-minute rate and a daily cap. There is no monthly cap. Going over returns 429 with a Retry-After header. Check where you stand with Key usage.
Plan
Per minute
Per day
Per month
Lite
10
3,000
Unlimited
Basic
40
10,000
Unlimited
Pro
70
25,000
Unlimited
Premium +
150
50,000
Unlimited
Enterprise
500
150,000
Unlimited
Enterprise +
1,250
1,000,000
Unlimited
Getting started
Errors
Errors use the matching HTTP status, a stable code you can check in your program, and a readable message.
HTTP
Code
What happened
401
MISSING_KEY
No API key was sent.
403
INVALID_KEY
The key does not exist.
403
KEY_DISABLED
The key has been turned off.
403
KEY_EXPIRED
The subscription has ended.
403
ENDPOINT_NOT_ALLOWED
Your plan does not include this endpoint.
404
NOT_FOUND
The account, video or item was not found.
424
FETCH_FAILED
TikTok did not answer. Retry the call.
429
RATE_LIMIT_EXCEEDED
You hit a limit. Wait for the Retry-After seconds.
Getting started
Support
A question, a bug, or a plan change? Reach us any way you like.
Example response. Long lists are cut to two items.
Profiles & Users
Creator analytics
GETdev.omar-thing.site/api/v1/analytics
Public creator analytics: an overview for a date range (views, likes, shares, profile views), follower growth, active hours, and growth milestones. Pass video for a single video's stats. Audience breakdown (country, age, gender) is currently unavailable.
Parameters
sent as X-API-Key
stringoptional
The account's username. One of username / user_id / sec_uid is required.
stringoptional
Numeric user id (instead of username).
stringoptional
sec_uid (instead of username).
integeroptional
Date window in days for the overview/time-series (default 7).
stringoptional
A video id or URL — returns THAT video's analytics instead of the account's.
Example response. Long lists are cut to two items.
Live
Live chat
GETdev.omar-thing.site/api/v1/live_chat
Live chat & events of a LIVE room (comments, gifts, joins, likes). Pass a room_id (get one from /room_id by username). Poll with next_cursor to follow along.
Parameters
sent as X-API-Key
stringrequired
TikTok live room id (get one from /room_id by username).
stringoptional
Empty for the latest events, then pass next_cursor. Poll every 1-2 s.
Example response. Long lists are cut to two items.
Live
Live chat stream
GETdev.omar-thing.site/api/v1/live_chat_stream
LIVE chat pushed to you over one open SSE connection instead of polling. Same events as /live_chat (comments, joins, likes, gifts). Optional alternative — /live_chat polling still works. Duplicate events are removed automatically. Auto-closes after 10 min (or 15000 events), then asks you to reconnect. Each API key may hold up to 3 live streams at once (chat+gifts).
Parameters
sent as X-API-Key
stringrequired
TikTok live room id (get one from /room_id by username).
Example response. Long lists are cut to two items.
Live
Live gifts
GETdev.omar-thing.site/api/v1/live_gifts
Gifts being sent in a LIVE room right now (sender, gift name, coins, combo). Pass a room_id (get one from /room_id by username). Poll with next_cursor.
Parameters
sent as X-API-Key
stringrequired
TikTok live room id (get one from /room_id by username).
stringoptional
Empty for the latest gifts, then pass next_cursor. Poll every 1-2 s.
Example response. Long lists are cut to two items.
Live
Live gifts stream
GETdev.omar-thing.site/api/v1/live_gifts_stream
LIVE gifts pushed to you over one open SSE connection instead of polling. Same gifts as /live_gifts (sender, gift, coins, combo). Optional alternative — /live_gifts polling still works. Duplicate gifts are removed automatically. Auto-closes after 10 min (or 15000 events), then asks you to reconnect. Each API key may hold up to 3 live streams at once (chat+gifts).
Parameters
sent as X-API-Key
stringrequired
TikTok live room id (get one from /room_id by username).