Omar-Thing API Get a key
Unofficial TikTok API documentation

Omar-Thing API

Public TikTok data as JSON: profiles, posts, comments, search, live chat and more. 43 endpoints, one base URL, one key.

Base URLhttps://dev.omar-thing.site/api/v1
Step 1Get a key

Pick a plan on Patreon. Your key arrives by email.

Step 2Make a call

Send the key in the X-API-Key header with any endpoint.

Step 3Read data

Every success has the same shape. Add format=clean for short answers.

Authentication

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.

{ "status": "success", "data": { … }, "request_id": "21fe4393…" }
{ "status": "error", "code": "NOT_FOUND", "message": "Video not found." }

Rate limits

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.

PlanPer minutePer dayPer month
Lite103,000Unlimited
Basic4010,000Unlimited
Pro7025,000Unlimited
Premium +15050,000Unlimited
Enterprise500150,000Unlimited
Enterprise +1,2501,000,000Unlimited

Errors

Errors use the matching HTTP status, a stable code you can check in your program, and a readable message.

HTTPCodeWhat happened
401MISSING_KEYNo API key was sent.
403INVALID_KEYThe key does not exist.
403KEY_DISABLEDThe key has been turned off.
403KEY_EXPIREDThe subscription has ended.
403ENDPOINT_NOT_ALLOWEDYour plan does not include this endpoint.
404NOT_FOUNDThe account, video or item was not found.
424FETCH_FAILEDTikTok did not answer. Retry the call.
429RATE_LIMIT_EXCEEDEDYou hit a limit. Wait for the Retry-After seconds.

Libraries and help

Python: pip install omarthing · JavaScript: npm install omarthing · Source on GitHub. Questions go to [email protected] or Telegram @f1ifb2.

Profiles & Users5

Profiles & Users

User profile

GETdev.omar-thing.site/api/v1/profile

Fetch a user's profile by username.

Parameters

sent as X-API-Key
stringoptional
TikTok username, @handle, or profile URL. (Provide one of username / sec_uid / user_id.)
stringoptional
The account's secUid (alternative to username).
stringoptional
The account's numeric user id (alternative to username).
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/profile?username=tiktok&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Profiles & Users

Creator analytics

GETdev.omar-thing.site/api/v1/analytics

Audience insights for a public creator account: follower breakdown by country, age and gender, an overview for a date range, and growth milestones. Pass video for a single video's stats.

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.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/analytics?username=mrbeast&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Profiles & Users

Followers

GETdev.omar-thing.site/api/v1/followers

List an account's followers.

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/followers?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Profiles & Users

Following

GETdev.omar-thing.site/api/v1/following

List the accounts a user follows.

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/following?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Profiles & Users

Current region

GETdev.omar-thing.site/api/v1/current_region

Get an account's current region (country) by its numeric user id.

Parameters

sent as X-API-Key
stringoptional
TikTok username, @handle, or profile URL. One of username / user_id / sec_uid is required.
stringoptional
Numeric TikTok user id (instead of username).
stringoptional
sec_uid (instead of username).
Request
curl "https://dev.omar-thing.site/api/v1/current_region?username=tiktok" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Search

Search users

GETdev.omar-thing.site/api/v1/search_users

Search users/accounts (one page per call, cursor-paginated). Filter by followers, verified accounts, or match usernames only.

Parameters

sent as X-API-Key
stringrequired
What to search for.
stringoptional
0-1k, 1k-10k, 10k-100k, or 100k+.
stringoptional
true for verified accounts only.
stringoptional
username to match usernames only.
stringoptional
Ignored: user search has one page.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_users?query=messi&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Search

Search videos

GETdev.omar-thing.site/api/v1/search_videos

Search videos (one page per call, cursor-paginated). Filter by date and sort by likes or newest.

Parameters

sent as X-API-Key
stringrequired
What to search for.
stringoptional
day, week, month, 3months, or 6months. Empty = all time.
stringoptional
relevance (default), likes, or newest.
stringoptional
Empty for the first page, then pass next_cursor. Keep the same filters.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_videos?query=messi%20goal&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Search

Search photos

GETdev.omar-thing.site/api/v1/search_photos

Search photo/slideshow posts (one page per call, cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
What to search for.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_photos?query=japan&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Search

Search hashtags

GETdev.omar-thing.site/api/v1/search_hashtags

Search hashtags (one page per call, cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
What to search for.
stringoptional
Ignored: one page of 10 hashtags.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_hashtags?query=fifa&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Search

Search places

GETdev.omar-thing.site/api/v1/search_places

Search places/POIs (venues, landmarks, restaurants). Results are localized to the country you pass (ISO-2). One page per call, cursor-paginated.

Parameters

sent as X-API-Key
stringrequired
Place name or keyword.
stringoptional
Country code that decides which places come back (e.g. US, SA). Default US.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_places?query=coffee&country=JP&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Search

Search music

GETdev.omar-thing.site/api/v1/search_music

Search sounds/music (one page per call, cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
What to search for.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_music?query=mrbeast&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Search

Search suggestions

GETdev.omar-thing.site/api/v1/search_suggest

Search autocomplete — the suggestions shown while you type.

Parameters

sent as X-API-Key
stringrequired
The (partial) text typed so far.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/search_suggest?query=mrbea&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.

Content15

Content

User posts

GETdev.omar-thing.site/api/v1/posts

List the videos a user has posted (one raw page per call, cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor as-is.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/posts?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Video comments

GETdev.omar-thing.site/api/v1/comments

Fetch the comments on a video (id or URL).

Parameters

sent as X-API-Key
stringrequired
Video id, or any TikTok video/photo URL (incl. short vt./vm. links).
stringoptional
top (default), newest, creator (author only), or images.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/comments?video=7231338487075638570&filter=top&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Comment replies

GETdev.omar-thing.site/api/v1/comment_replies

All replies under one comment (one raw page per call, cursor-paginated). Get comment_id from /comments.

Parameters

sent as X-API-Key
stringrequired
Video id, or any TikTok video/photo URL (incl. short vt./vm. links).
stringrequired
The comment's id (cid in raw /comments, comment_id in clean).
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/comment_replies?video=7231338487075638570&comment_id=7231342464791118597&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Stories

GETdev.omar-thing.site/api/v1/stories

Fetch a user's active stories.

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/stories?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Content

Reposts

GETdev.omar-thing.site/api/v1/reposts

List the videos a user has reposted (one raw page per call, cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
1 adds repost_date (when it was reposted). A little slower.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/reposts?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Story highlights

GETdev.omar-thing.site/api/v1/highlights

Get a user's highlights — all collections and the stories inside each.

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/highlights?username=tiktok&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Content

Sound and its videos

GETdev.omar-thing.site/api/v1/music

Sound/music details + the videos that use it (one raw page per call, cursor-paginated). Pass a music id.

Parameters

sent as X-API-Key
stringrequired
TikTok sound/music id (e.g. from a video's music object).
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/music?id=7352471823478459168&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Playlist videos

GETdev.omar-thing.site/api/v1/mix

Mix (creator playlist) details + the videos in it (one raw page per call, cursor-paginated). Pass a TikTok mix id.

Parameters

sent as X-API-Key
stringrequired
TikTok mix id (as used in /@user/playlist/<name>-<mix_id>).
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/mix?mix_id=7681171537575824159&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Collections

GETdev.omar-thing.site/api/v1/collections

List a user's TikTok collections (cursor-paginated).

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/collections?username=tiktok&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Collection videos

GETdev.omar-thing.site/api/v1/collection_videos

List the videos inside a TikTok collection (one raw page per call, cursor-paginated). Pass a collection_id from /collections.

Parameters

sent as X-API-Key
stringrequired
Collection id (from /collections).
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/collection_videos?collection_id=7394627756635573022&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Hashtag details

GETdev.omar-thing.site/api/v1/hashtag_info

Details of a hashtag — total views, number of videos, id and share link. Pass the hashtag name or its id.

Parameters

sent as X-API-Key
stringoptional
Hashtag name, with or without #. Required unless id is given.
stringoptional
Hashtag id (e.g. hashtag_id from /search_hashtags). Used instead of name when given.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/hashtag_info?name=mrbeast&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Hashtag videos

GETdev.omar-thing.site/api/v1/hashtag_videos

Videos posted under a hashtag (one page per call, cursor-paginated). Pass the hashtag name or its id.

Parameters

sent as X-API-Key
stringoptional
Hashtag name, with or without #. Required unless id is given.
stringoptional
Hashtag id — skips the name lookup, so it's faster.
stringoptional
Empty for the first page, then pass next_cursor.
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/hashtag_videos?name=mrbeast&cursor=0&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK
Example response. Long lists are cut to two items.
Content

Video details

GETdev.omar-thing.site/api/v1/video_info

Full info for a video by id or URL (raw object, or clean subset).

Parameters

sent as X-API-Key
stringrequired
Video id, or any TikTok video/photo URL (short links OK).
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/video_info?video=7626095794604576016&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Content

Video download

GETdev.omar-thing.site/api/v1/video_download

Get a video's download URLs per quality (including the original file) by id or URL.

Parameters

sent as X-API-Key
stringrequired
Video id, or any TikTok video/photo URL (short links OK).
Request
curl "https://dev.omar-thing.site/api/v1/video_download?video=7626095794604576016" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Content

Video status

GETdev.omar-thing.site/api/v1/video_status

Check up to 40 videos in one call — is each still available (not deleted/removed)?

Parameters

sent as X-API-Key
stringrequired
Comma-separated video ids or TikTok video URLs (max 40).
Request
curl "https://dev.omar-thing.site/api/v1/video_status?videos=7683514789003300110,7684963976316259602" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.

Live9

Live

Live room ID

GETdev.omar-thing.site/api/v1/room_id

Get a user's live room_id by username (null if they're not live right now).

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
Request
curl "https://dev.omar-thing.site/api/v1/room_id?username=tiktok" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Live

Live status

GETdev.omar-thing.site/api/v1/live

Check if a user is live and get the stream URLs (HLS + FLV) per quality.

Parameters

sent as X-API-Key
stringoptional
TikTok username, @handle, or profile URL. (Use this OR room_id.)
stringoptional
TikTok live room id (e.g. from /room_id). (Use this OR username.)
Request
curl "https://dev.omar-thing.site/api/v1/live?username=tiktok" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Live

Last live

GETdev.omar-thing.site/api/v1/last_live

Get a user's most recent live room by username — live now OR already ended — with its stats, duration, and top_fans (top supporters by gift value).

Parameters

sent as X-API-Key
stringrequired
TikTok username, @handle, or profile URL.
Request
curl "https://dev.omar-thing.site/api/v1/last_live?username=tiktok" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Live

Live audience

GETdev.omar-thing.site/api/v1/live_audience

Top viewers currently in a live stream (the online-audience ranking, by contribution). Pass a room_id from /top_live or /live_room.

Parameters

sent as X-API-Key
stringrequired
TikTok live room id (get one from /room_id by username).
stringoptional
The streamer's user id (improves accuracy; optional).
stringoptional
clean for a short version. Raw by default.
Request
curl "https://dev.omar-thing.site/api/v1/live_audience?room_id=7649767224147725070&anchor_id=6956309222439830533&format=clean" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
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.
Request
curl "https://dev.omar-thing.site/api/v1/live_chat?room_id=7649810043075971853&cursor=0" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
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).
Request
curl "https://dev.omar-thing.site/api/v1/live_chat_stream?room_id=7649810043075971853" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
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.
Request
curl "https://dev.omar-thing.site/api/v1/live_gifts?room_id=7649810043075971853&cursor=0" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
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).
Request
curl "https://dev.omar-thing.site/api/v1/live_gifts_stream?room_id=7649810043075971853" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Live

Live stats

GETdev.omar-thing.site/api/v1/live_stats

A creator's live-centre stats: live status, fans club and gifts, and the full broadcast history with per-stream likes and duration, plus a summary.

Parameters

sent as X-API-Key
stringoptional
TikTok username, @handle, or profile URL. (Use this OR user_id.)
stringoptional
The numeric TikTok user id (from /profile → data.user.id). (Use this OR username.)
integeroptional
Return only the N most recent broadcasts. Defaults to all.
Request
curl "https://dev.omar-thing.site/api/v1/live_stats?username=tiktok&user_id=107955&history_limit=20" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.

Account Lookup2

Account Lookup

Account info

GETdev.omar-thing.site/api/v1/account_info

Shows which sign-in options an account has set up (email, phone, linked apps).

Parameters

sent as X-API-Key
stringrequired
TikTok username or @handle.
Request
curl "https://dev.omar-thing.site/api/v1/account_info?username=tiktok" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Account Lookup

Email check

GETdev.omar-thing.site/api/v1/email_check

Check whether an email address is registered on TikTok. Sends nothing to the address (no code, no mailbox) — a fast existence check.

Parameters

sent as X-API-Key
stringrequired
Email address to check.
Request
curl "https://dev.omar-thing.site/api/v1/[email protected]" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.

Account Actions3

Account Actions

Delete reposts

GETdev.omar-thing.site/api/v1/del_reposts

Bulk-delete your own most recent reposts, using your own session.

Parameters

sent as X-API-Key
stringrequired
Your own TikTok sessionid (from your account cookies). The action runs on THIS account.
integerrequired
How many of the most recent reposts to delete (e.g. 50, 100, 1000).
Request
curl "https://dev.omar-thing.site/api/v1/del_reposts?session_id=%3Cyour_sessionid%3E&count=100" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Account Actions

Unfollow accounts

GETdev.omar-thing.site/api/v1/del_following

Bulk-unfollow accounts from your own account, using your own session. Note: each account is removed by blocking it.

Parameters

sent as X-API-Key
stringrequired
Your own TikTok sessionid (from your account cookies). The action runs on THIS account.
integerrequired
How many followed accounts to remove (e.g. 50, 100, 1000). Removal uses block, which also blocks each account.
Request
curl "https://dev.omar-thing.site/api/v1/del_following?session_id=%3Cyour_sessionid%3E&count=100" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.
Account Actions

Profile banner

GETdev.omar-thing.site/api/v1/profile_banner

Set or read a TikTok profile banner (Profile Background) using your session.

Parameters

sent as X-API-Key
stringrequired
Your own TikTok sessionid (from your account cookies). The banner is set on THIS account.
stringoptional
POST only. Direct link to the banner image (jpg/png/webp). Max 12 MB.
stringoptional
POST only. portrait (default) fits the image to 1080x1920; original keeps it as is.
integeroptional
POST only. 1 = do everything except the upload/commit, so you can preview the result safely.
stringoptional
GET only. Read this account's banner instead of your own.
stringoptional
GET only. Numeric id of the account to read.
Request
curl "https://dev.omar-thing.site/api/v1/profile_banner?session_id=%3Cyour_sessionid%3E&image_url=https://example.com/banner.jpg&fit=portrait&dry_run=1&sec_uid=MS4wLjABAAAA...&user_id=7236225602339636230" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.

Utilities1

Utilities

Resolve a link

GETdev.omar-thing.site/api/v1/resolve_url

Expand a TikTok share/short link and extract the user, video, and share info.

Parameters

sent as X-API-Key
stringrequired
A TikTok share/short link (vt.tiktok.com, vm.tiktok.com, or /t/…).
Request
curl "https://dev.omar-thing.site/api/v1/resolve_url?url=https://vt.tiktok.com/ZSxxxxxxx/" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.

Your Key1

Your Key

Key usage

GETdev.omar-thing.site/api/v1/usage

Check your own key status: plan, remaining quota, and expiry. Does not count against your rate limit.

Parameters

sent as X-API-Key
Request
curl "https://dev.omar-thing.site/api/v1/usage" \
  -H "X-API-Key: YOUR_API_KEY"
Response200 OK
Example response. Long lists are cut to two items.