TikTok API by APISH
Pricing
$4.00 / 1,000 credits
TikTok API by APISH
Public TikTok videos, accounts, comments, sounds, places, LIVE rooms and trend data as JSON, without applying for TikTok developer access, via APISH. Pay per credit; failed calls are free.
Pricing
$4.00 / 1,000 credits
Rating
0.0
(0)
Developer
APISH
Maintained by CommunityActor stats
0
Bookmarked
5
Total users
3
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Get public TikTok data as clean, consistent JSON: latest videos of a TikTok account, tikTok playlist / collection videos, replies to a TikTok comment, comments of a TikTok video, popular TikTok creators right now, tikTok discover (keyword) page and more. 40 endpoints, one response shape, numbers parsed, absolute URLs.
How to use
- Pick an Endpoint. Each option shows what it returns and its price in credits.
- Enter its Parameters as JSON, for example
{"username":"khaby.lame"}. All parameters are listed below. - Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.
Pricing
Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.
Endpoints
| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
/tiktok/v1/channel | Latest videos of a TikTok account | username | 3 |
/tiktok/v1/collection/videos | TikTok playlist / collection videos | url | 1 |
/tiktok/v1/comment/replies | Replies to a TikTok comment | url, comment_id | 2 |
/tiktok/v1/comments | Comments of a TikTok video | url | 1 |
/tiktok/v1/creators/popular | Popular TikTok creators right now | — | 1 |
/tiktok/v1/discover | TikTok discover (keyword) page | keyword | 1 |
/tiktok/v1/discover/related | TikTok related keywords | keyword | 1 |
/tiktok/v1/explore/categories | TikTok Explore categories | — | 1 |
/tiktok/v1/hashtag | TikTok hashtag | name | 1 |
/tiktok/v1/hashtag/videos | TikTok hashtag videos | name | 1 |
/tiktok/v1/live | TikTok live room | — | 1 |
/tiktok/v1/music/search | TikTok sound search | q | 1 |
/tiktok/v1/place | TikTok place | url | 1 |
/tiktok/v1/place/posts | TikTok place posts | url | 1 |
/tiktok/v1/post | One TikTok video | url | 1 |
/tiktok/v1/posts | TikTok posts (batch) | ids | 1 |
/tiktok/v1/profile | TikTok profile | username | 1 |
/tiktok/v1/profile/region | TikTok account region | username | 2 |
/tiktok/v1/search | TikTok videos for a keyword (public hashtag feed) | q | 1 |
/tiktok/v1/search/full | TikTok keyword search over a date range | q | 1 |
/tiktok/v1/search/keyword | Search TikTok videos | q | 1 |
/tiktok/v1/search/live | Search TikTok LIVE rooms | q | 1 |
/tiktok/v1/search/suggestions | TikTok search suggestions | q | 1 |
/tiktok/v1/search/top | TikTok Top search (videos and accounts) | q | 1 |
/tiktok/v1/search/users | Search TikTok accounts | q | 1 |
/tiktok/v1/song | TikTok sound | id | 1 |
/tiktok/v1/song/videos | Videos using a TikTok sound | id | 1 |
/tiktok/v1/trending | Trending TikTok videos | — | 1 |
/tiktok/v1/trends/hashtags | TikTok trending hashtags (Creative Center) | — | 1 |
/tiktok/v1/trends/videos | TikTok trending videos | — | 1 |
/tiktok/v1/user/collections | TikTok user collections | username | 1 |
/tiktok/v1/user/followers | TikTok followers | username | 1 |
/tiktok/v1/user/following | Accounts a TikTok user follows | username | 1 |
/tiktok/v1/user/liked | TikTok user liked videos | username | 1 |
/tiktok/v1/user/live | Is a TikTok account live | username | 1 |
/tiktok/v1/user/playlists | TikTok user playlists | username | 1 |
/tiktok/v1/user/reposts | TikTok user reposts | username | 7 |
/tiktok/v1/video/download | TikTok video download links | url | 1 |
/tiktok/v1/video/related | Related TikTok videos | url | 1 |
/tiktok/v1/video/transcript | TikTok video transcript (TikTok captions) | url | 1 |
Output
Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.
Endpoint details
Latest videos of a TikTok account
Endpoint /tiktok/v1/channel · 3 credits per successful call.
Every response includes credits_used: the credits this call cost. The profile's videos, 35 per page; pass next_cursor back as cursor. Logged out, TikTok serves about two pages (~60 videos), then next_cursor is null (more_available says whether the account has more). sort = latest (default), popular or oldest, like the tabs on the profile.
Parameters:
username(required)sort— one oflatest,popular,oldest: latest (default), popular or oldest.cursor: Value ofnext_cursorfrom the previous page (logged out, TikTok serves about two pages).
Example parameters: {"username":"khaby.lame"}
TikTok playlist / collection videos
Endpoint /tiktok/v1/collection/videos · 1 credit per successful call.
Parameters:
url(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"url":"https://www.tiktok.com/@nba/playlist/Playoffs-7499302679324936990"}
Replies to a TikTok comment
Endpoint /tiktok/v1/comment/replies · 2 credits per successful call.
Parameters:
url(required)comment_id(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"url":"https://www.tiktok.com/@khaby.lame/video/7137423965982592302","comment_id":"7137510823549272878"}
Comments of a TikTok video
Endpoint /tiktok/v1/comments · 1 credit per successful call.
Pagination: pass the cursor from next_cursor on the previous response; next_cursor is null on the last page.
Parameters:
url(required)cursor: Cursor fromnext_cursoron the previous response;next_cursoris null on the last page.
Example parameters: {"url":"https://www.tiktok.com/@nasa/video/7697300954667994381"}
Popular TikTok creators right now
Endpoint /tiktok/v1/creators/popular · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. Ranks the creators behind what TikTok's Explore feed is pushing right now (All, Singing & Dancing and Comedy by default, or one category) by followers, with their trending videos.
Parameters:
category: One Explore category (name or id) instead of the default three.country: Two-letter country, default US.limit: Creators to return, up to 200 (default 50).
TikTok discover (keyword) page
Endpoint /tiktok/v1/discover · 1 credit per successful call.
Parameters:
keyword(required): A phrase or the slug from a tiktok.com/discover/ URL (the URL itself works too).count: Videos per page, up to 30 (default 20).cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"keyword":"healthy breakfast ideas"}
TikTok related keywords
Endpoint /tiktok/v1/discover/related · 1 credit per successful call.
Parameters:
keyword(required): A phrase or a tiktok.com/discover/ slug.count: How many (default 60, up to 100).
Example parameters: {"keyword":"healthy breakfast ideas"}
TikTok Explore categories
Endpoint /tiktok/v1/explore/categories · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. The Explore tabs (All, Comedy, Food, ...) with the id that category accepts on /tiktok/v1/trending.
TikTok hashtag
Endpoint /tiktok/v1/hashtag · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. A hashtag page: id, video count, view count, cover, description.
Parameters:
name(required): Hashtag without #, or its tiktok.com/tag URL.
Example parameters: {"name":"cooking"}
TikTok hashtag videos
Endpoint /tiktok/v1/hashtag/videos · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. Videos filed under a hashtag, 30 per page.
Parameters:
name(required): Hashtag without #, or its tiktok.com/tag URL.cursor: Value ofnext_cursorfrom the previous page;next_cursoris null on the last page.
Example parameters: {"name":"cooking"}
TikTok live room
Endpoint /tiktok/v1/live · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. A live room by room_id, or the current room of username. An account that is not live answers live: false.
Parameters:
usernameroom_id: Live room ID (instead of username).
Example parameters: {"username":"tiktok"}
TikTok sound search
Endpoint /tiktok/v1/music/search · 1 credit per successful call.
Sounds (music) matching a keyword: title, artist, duration, number of videos using it, cover, audio URL and the sound page URL. 20 per page; pass next_cursor back as cursor (null on the last page).
Parameters:
q(required): Keyword.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"q":"Taylor Swift"}
TikTok place
Endpoint /tiktok/v1/place · 1 credit per successful call.
A TikTok place (location page): name, category and type, address, city, parent place, the number of videos tagged there, photos, tags and the review summary when TikTok shows one.
Parameters:
url(required): Place URL (tiktok.com/place/
Example parameters: {"url":"https://www.tiktok.com/place/Times-Square-21568226263646855"}
TikTok place posts
Endpoint /tiktok/v1/place/posts · 1 credit per successful call.
Videos tagged at a TikTok place, 30 per page in TikTok's order, with the same video fields as /tiktok/v1/post (author, stats, music, hashtags, video links). Pass next_cursor back as cursor (null on the last page).
Parameters:
url(required): Place URL orid.cursor: Value ofnext_cursorfrom the previous page.count: Videos per page (1-30, default 30).
Example parameters: {"url":"https://www.tiktok.com/place/Times-Square-21568226263646855"}
One TikTok video
Endpoint /tiktok/v1/post · 1 credit per successful call.
Parameters:
url(required)
Example parameters: {"url":"https://www.tiktok.com/@nasa/video/7697300954667994381"}
TikTok posts (batch)
Endpoint /tiktok/v1/posts · 1 credit per successful call.
Up to 20 TikTok videos in one call, by id or video URL: the same fields as /tiktok/v1/post for each. Ids TikTok reports as removed or private come back in not_found, ids that could not be read in failed (only the posts returned are billed). Priced per post requested.
Parameters:
ids(required): Comma-separated video ids or video URLs (max 20).
Example parameters: {"ids":"7697300954667994381,7106594312292453675"}
TikTok profile
Endpoint /tiktok/v1/profile · 1 credit per successful call.
Parameters:
username(required)
Example parameters: {"username":"khaby.lame"}
TikTok account region
Endpoint /tiktok/v1/profile/region · 2 credits per successful call.
Every response includes credits_used: the credits this call cost. Most common country the latest posts were published from.
Parameters:
username(required)
Example parameters: {"username":"khaby.lame"}
TikTok videos for a keyword (public hashtag feed)
Endpoint /tiktok/v1/search · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. The public hashtag feed for the keyword (spaces removed): the videos TikTok files under #
Parameters:
q(required)cursor: Value ofnext_cursorfrom the previous page;next_cursoris null on the last page.
Example parameters: {"q":"cooking"}
TikTok keyword search over a date range
Endpoint /tiktok/v1/search/full · 1 credit per successful call.
Results are the ones TikTok shows to visitors outside the US. Pages TikTok's video search for a keyword and returns every video posted between date_from and date_to (deduplicated, newest first), reading up to max_pages pages of about 12-20 results. complete is true when TikTok had no more results; otherwise pass next_cursor back as cursor (same q and dates) to keep going. Priced per page read.
Parameters:
q(required): Keyword.date_from: Start date (YYYY-MM-DD, ISO or unix seconds). Default: 30 days ago.date_to: End date (YYYY-MM-DD = whole day). Default: now.max_pages: Pages to read (1-10, default 5).sort: relevance or likes.cursor: Value ofnext_cursorfrom the previous call.
Example parameters: {"q":"cooking"}
Search TikTok videos
Endpoint /tiktok/v1/search/keyword · 1 credit per successful call.
Results are the ones TikTok shows to visitors outside the US.
Parameters:
q(required)cursor: Value ofnext_cursorfrom the previous page.date— one ofall,day,week,month,3months,6months: Date posted: all (default), day, week, month, 3months, 6months.sort— one ofrelevance,likes: relevance (default) or likes.
Example parameters: {"q":"cooking"}
Search TikTok LIVE rooms
Endpoint /tiktok/v1/search/live · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. Rooms on TikTok's LIVE search tab: title, viewers, likes, owner, stream URLs (HLS/FLV).
Parameters:
q(required)cursor: Value ofnext_cursorfrom the previous page;next_cursoris null on the last page.
Example parameters: {"q":"music"}
TikTok search suggestions
Endpoint /tiktok/v1/search/suggestions · 1 credit per successful call.
Parameters:
q(required)
Example parameters: {"q":"cook"}
TikTok Top search (videos and accounts)
Endpoint /tiktok/v1/search/top · 1 credit per successful call.
Results are the ones TikTok shows to visitors outside the US.
Parameters:
q(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"q":"gordon ramsay"}
Search TikTok accounts
Endpoint /tiktok/v1/search/users · 1 credit per successful call.
Results are the ones TikTok shows to visitors outside the US. Every response includes credits_used: the credits this call cost. TikTok's users-only search is empty for logged-out visitors, so this reads the accounts in the Top results.
Parameters:
q(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"q":"cooking"}
TikTok sound
Endpoint /tiktok/v1/song · 1 credit per successful call.
Parameters:
id(required): Music ID or /music/ URL.
Example parameters: {"id":"7016547803243022337"}
Videos using a TikTok sound
Endpoint /tiktok/v1/song/videos · 1 credit per successful call.
Parameters:
id(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"id":"7016547803243022337"}
Trending TikTok videos
Endpoint /tiktok/v1/trending · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. explore: TikTok's Explore feed for a category (category: a name from /tiktok/v1/explore/categories, e.g. food, or its id); foryou: the For You feed logged-out visitors get. Each page is a new batch of videos; pass next_cursor back for more. country picks the region of the feed (US default; another country's first call is slower).
Parameters:
source: explore or foryou.countcategory: Explore category name or id (explore only), e.g. food, comedy, sports, 111.country: Two-letter country of the feed (explore only), default US.cursor: Value ofnext_cursorfrom the previous page;next_cursoris null on the last page.
Example parameters: {"source":"explore","count":"30","category":"food"}
TikTok trending hashtags (Creative Center)
Endpoint /tiktok/v1/trends/hashtags · 1 credit per successful call.
Top trending hashtags from TikTok Creative Center for a country and period: rank, posts, views, a daily popularity curve and the top creators using each one. Logged out, TikTok shows the top 3 per country and period; the full ranking needs a TikTok for Business login. available_filters lists the countries and industries the page offers.
Parameters:
country: Two-letter country code (default US); see available_filters.hashtagCountry.period— one of7,30,120: Days to rank over.industry: Industry id from available_filters.industry.
Example parameters: {"country":"US"}
TikTok trending videos
Endpoint /tiktok/v1/trends/videos · 1 credit per successful call.
The trending videos TikTok's Creative Center publishes for a country and period (top 4 by views, the view shown without a TikTok for Business login): video id, URL, caption, cover, author with followers, views (period and lifetime), organic views, engagement rate and 6-second view rate. Countries: JP, VN, TH, ID.
Parameters:
country— one ofJP,VN,TH,ID: Country: JP (default), VN, TH or ID.period— one of7,30: Days: 7 (default) or 30.
Example parameters: {"country":"JP","period":"7"}
TikTok user collections
Endpoint /tiktok/v1/user/collections · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. An account's public collections (the Favorites tab). Videos of a collection: /tiktok/v1/collection/videos.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page;next_cursoris null on the last page.
Example parameters: {"username":"tiktok"}
TikTok followers
Endpoint /tiktok/v1/user/followers · 1 credit per successful call.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"username":"khaby.lame"}
Accounts a TikTok user follows
Endpoint /tiktok/v1/user/following · 1 credit per successful call.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"username":"khaby.lame"}
TikTok user liked videos
Endpoint /tiktok/v1/user/liked · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. The Liked tab, 30 per page (pass next_cursor back as cursor). Most accounts keep it private: then private: true and no videos.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page (logged out, TikTok serves about two pages).
Example parameters: {"username":"nasa"}
Is a TikTok account live
Endpoint /tiktok/v1/user/live · 1 credit per successful call.
Parameters:
username(required)
Example parameters: {"username":"tiktok"}
TikTok user playlists
Endpoint /tiktok/v1/user/playlists · 1 credit per successful call.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"username":"nba"}
TikTok user reposts
Endpoint /tiktok/v1/user/reposts · 7 credits per successful call.
Every response includes credits_used: the credits this call cost. Videos the account reposted (the Reposts tab), as a logged-out visitor sees them, 30 per page; pass next_cursor back as cursor.
Parameters:
username(required)cursor: Value ofnext_cursorfrom the previous page (logged out, TikTok serves about two pages).
Example parameters: {"username":"nasa"}
TikTok video download links
Endpoint /tiktok/v1/video/download · 1 credit per successful call.
Download links for a TikTok post: the best no-watermark MP4 (no_watermark.url, a link that redirects to the file and needs no cookies), every encoded variant (gear, codec, bitrate, resolution, size), the watermarked file when the site publishes one, the audio track (audio.url), cover images, subtitles and, for photo posts, the image URLs. Links expire after a few hours. Short links (vm.tiktok.com, tiktok.com/t/) are accepted.
Parameters:
url(required): TikTok video URL (https://www.tiktok.com/@user/video/
Example parameters: {"url":"https://www.tiktok.com/@scout2015/video/6718335390845095173"}
Related TikTok videos
Endpoint /tiktok/v1/video/related · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. The related videos TikTok shows next to a video (about 16).
Parameters:
url(required): Video URL or id.count: Up to 30 (default 16).
Example parameters: {"url":"https://www.tiktok.com/@nasa/video/7697300954667994381"}
TikTok video transcript (TikTok captions)
Endpoint /tiktok/v1/video/transcript · 1 credit per successful call.
Every response includes credits_used: the credits this call cost. TikTok's own captions (WebVTT): auto-generated (ASR) or uploaded tracks, read from the video page. languages lists every track; language picks one (default en).
Parameters:
url(required)language
Example parameters: {"url":"https://www.tiktok.com/@x/video/7688809734673108237"}
Support
Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.
Public data only: nothing behind a login. You are responsible for how you use the data you collect.