TikTok API
Read TikTok videos, comments, accounts, hashtags, music, live rooms and TikTok Shop products with one EveryInfra API key. The API returns JSON, from $0.56 per 1,000 calls.
All you need is one API key, no TikTok account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 37 endpoints, one key
- Failed calls and empty results are not charged.
- No TikTok login needed
Real sample values for one account
POST /api/v1/social params {"username":"nasa"}
- Profiles
profile- follower_count
- 1,800,000
- like_count
- 9,600,000
- Followers
followers- follower_count
- 1,823,149
- post_count
- 48
- Username to user ID
resolve_user - Live room
live_room
6 questions to ask before choosing a data API for TikTok
Does TikTok have an official API, and how is it different from this one?
TikTok has official APIs, but Login Kit and the Display endpoints only read data from users who authorize your app. The Research API reads public videos, comments and profiles, but it is limited to non-commercial research institutions in eligible regions, needs an approved research plan and allows 1,000 requests a day. Commercial users are not eligible. EveryInfra reads public content with one API key, without applying to TikTok.
Official sources: TikTok for Developers: Research API · TikTok for Developers: Research API FAQ · Checked
Do I need to log in to TikTok or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, from $0.56 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this TikTok API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server. An agent can search TikTok content, read comments and look up accounts on its own.
What compliance points apply when using TikTok data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What TikTok data can I get?
Available TikTok capabilities (37): Search, Profiles, Videos by user, Video details, Comments, Hashtag, Followers, Transcript, Shop product search, Shop creator details, Hashtag search, Music search, Music chart, Account search, Videos using a sound, Comment replies, Shop best sellers, Shop products by category, Following, Video download links, Live room, Shop store products, Shop product reviews, Shop product detail, Trending hashtags, Username to user ID, Link recognition, Hashtag detail, Music detail, Photo post images, Profile contact, Search suggestions, Top ads, Account playlists, Playlist videos, User reposts, Account stories. The parameters and response fields of each capability are in the API reference on this page.
Platform availability
- 24h health
- 98%
Last 30 days
Available capabilities
Search TikTok videos, hashtags, user profiles and shop items to retrieve transcripts, comments and ecommerce metrics.
Use a valid TikTok video URL for transcripts. Comments give top-level entries with a few replies, not full conversation trees.
Videos and search
- SearchHealthy · health 100%
Search TikTok by keyword across the video, account or top tab.
search$0.56 per 1,000 calls - Video detailsHealthy · health 94%
Fetch one TikTok video's caption, author, publish time and like, comment, share and view counts from its URL.
video$0.56 per 1,000 calls - Videos by userHealthy · health 99%
List a TikTok creator's videos with caption, publish time and like, comment, share and view counts.
user_videos$0.56 per 1,000 calls - TranscriptNormal
Extract the transcript of a TikTok video from its URL.
transcript$0.56 per 1,000 calls - Video download linksNormal
Get the download links for one TikTok video from its
url, without the watermark.video_download$0.64 per 1,000 calls - Link recognitionNormal
Read the video ID from one TikTok link in
url, including vm.tiktok.com and vt.tiktok.com share links.resolve_links$0.56 per 1,000 calls - Photo post imagesNormal
Get every image of a TikTok photo post (photo mode or carousel) from its
url, in the post's order:imageswith each image'surl,widthandheightin pixels, plusimage_urls, the same links as a list.photos$0.56 per 1,000 calls - Search suggestionsNormal
Read the related searches TikTok shows for a search term
keyword(1 to 100 characters).search_suggest$0.56 per 1,000 calls
Accounts and live
- ProfilesHealthy · health 100%
Look up a TikTok account by handle.
profile$0.56 per 1,000 calls - Account searchNormal
Search TikTok accounts by
keyword, in the order TikTok search ranks them.user_search$0.56 per 1,000 calls - FollowersNormal
Check a TikTok account's follower, following, post and like totals by handle, with a precision flag for rounded numbers.
followers$0.56 per 1,000 calls - FollowingNormal
List the accounts a TikTok user follows, by handle.
following$0.64 per 1,000 calls - Username to user IDNormal
Turn a TikTok
username(with or without @), a profile link or asec_uidinto the account's numericuser_id, itssec_uid, currentusernameand profileurl.resolve_user$0.56 per 1,000 calls - Profile contactNormal
Read the bio text an account wrote on its own TikTok profile, and the link in it, from
username(a handle with or without @, a profile link or asec_uid):user_id,sec_uid,username,display_name,url,bioandexternal_url, as written, not reworded or guessed.profile_contact$0.56 per 1,000 calls - Live roomNormal
Check whether a TikTok account is live right now, by handle.
live_room$0.81 per 1,000 calls
Playlists, reposts and stories
- Account playlistsNormal
List the playlists on a TikTok profile from
username(a handle, profile link orsec_uid), in TikTok's order.user_playlists$0.56 per 1,000 calls - Playlist videosNormal
List the videos in one TikTok playlist from its
playlist_idor playlist link, in the playlist's order.playlist_videos$0.79 per 1,000 calls - User repostsNormal
List the videos under the Reposts tab of a TikTok profile, by
username, most recent repost first.user_reposts$0.79 per 1,000 calls - Account storiesNormal
Read the stories a TikTok account has up right now, by
username, oldest first, all in one call.user_stories$0.88 per 1,000 calls
Comments
- CommentsNormal
Read the comments on a TikTok video.
comments$0.56 per 1,000 callsEvery 20 rows count as one call - Comment repliesNormal
Read the replies under one comment on a TikTok video, from the video
urland the comment'sidreturned bycomments.comment_replies$0.56 per 1,000 calls
Hashtags
- HashtagHealthy · health 100%
Browse TikTok videos posted under a hashtag.
hashtag$0.56 per 1,000 callsEvery 10 rows count as one call - Hashtag searchHealthy · health 100%
Search TikTok hashtags by
keyword.hashtag_search$0.81 per 1,000 calls - Hashtag detailNormal
Read one TikTok hashtag from
hashtag(its name, with or without #, a tag link or the numeric ID):hashtag_id,hashtag_name,url, exactvideo_countandview_count, andis_commercial.hashtag_detail$0.56 per 1,000 calls - Trending hashtagsHealthy · health 100%
Read the trending hashtags on TikTok for one market over the last 7, 30 or 90 days.
trending_hashtags$0.81 per 1,000 calls
Music
- Music searchNormal
Search TikTok's sound library by
keyword, such as a song or artist.music_search$0.81 per 1,000 calls - Music chartNormal
Read a TikTok music chart:
top50(default) orviral50.music_chart$0.81 per 1,000 calls - Music detailNormal
Read one TikTok sound by
music_idor music link:title,author_name,album,duration_seconds, how many videos use it (use_count),is_original,is_copyrighted, a cover link and a preview audio link that expires.music_detail$0.56 per 1,000 calls - Videos using a soundNormal
List the TikTok videos that use one sound, from its
music_idor sound page link.sound_videos$0.56 per 1,000 calls
TikTok Shop
- Shop product searchNormal
Find TikTok Shop products by keyword.
shop_search$0.56 per 1,000 calls - Shop best sellersNormal
Read the TikTok Shop best-seller list for one market: ID, JP, MX, MY (default), PH, SG, TH or VN.
shop_hot_products$0.81 per 1,000 calls List TikTok Shop products in one category by
category_id, such as 601450 for beauty and personal care, in a chosen market.shop_category_products$0.81 per 1,000 calls- Shop store productsNormal
List the products of one TikTok Shop store from its
shop_idor store link, in a chosen market.shop_products$0.81 per 1,000 calls - Shop product detailNormal
Read one TikTok Shop product from its
product_idor product link andcountry: the title inname,image_urlandimage_urls,priceandoriginal_pricein the localcurrency,skuswith each variant's price and stock,shop,rating_distribution,specs,descriptionand shipping.shop_product_detail$0.79 per 1,000 calls - Shop product reviewsHealthy · health 100%
Read buyer reviews of one TikTok Shop product from its
product_idor product link.shop_product_reviews$0.76 per 1,000 calls - Shop creator detailsNormal
Size up a TikTok Shop creator by handle.
shop_creator$0.56 per 1,000 calls
Top ads
- Top adsNormal
Read the Top Ads list from TikTok's Creative Center for one country over the last 7, 30 or 180 days.
top_ads$0.79 per 1,000 calls
Use cases
Video search and content research
Search videos by keyword, read the engagement of one video, see what an account posted, then read the spoken text of a video.
Comment and engagement analysis
Read the comments under a video, then expand the replies under one comment.
Account screening and monitoring
Search accounts by keyword, read the profile and follower count, then see whom the account follows.
Hashtag and music trends
Search hashtags and read their details, read the music charts, then see the videos that use a song.
Useshashtag_searchhashtag_detailmusic_chartmusic_searchsound_videos
TikTok Shop product research
Search products, read the best-seller board and category products, then read the buyer reviews of one product.
Usesshop_searchshop_hot_productsshop_category_productsshop_product_reviews
Screening shop creators
Read the selling data and the profile of a creator, then see which videos the creator posted lately.
Live status and link cleanup
Check whether an account is live, expand short links into post IDs, convert handles into account IDs, then get the download links of videos.
TikTok for Developers vs EveryInfra
How the official TikTok for Developers APIs and EveryInfra compare on who can read, whose data you read and the reach of TikTok Shop data:
| Compared | TikTok for Developers | EveryInfra |
|---|---|---|
| Who the research API is for | "TikTok's Research Tools allow independent and academic researchers who conduct research on a non-for-profit basis to access certain data." | One EveryInfra API key in the Authorization: Bearer header. You don't need to apply for research access. |
| Commercial users | The FAQ asks "I am a creator, advertiser, or commercial user. Am I eligible for access to the Research Tools?" and answers "No." | No TikTok login and no access token. Send POST /api/v1/social with platform, action and params. |
| Display API: whose data | "The Display API contains a set of HTTP-based APIs that your product can use to display a TikTok creator's videos and their profile information." | Name the account in username, such as nasa, to read its public profile and videos. |
| Scope of TikTok Shop data | "The returned review info data for reviews given on products available for purchase in the EU." | Product search, the best-seller board, category products and reviews take a shop market in country. The default and the markets you can pick differ by endpoint, as each parameter reference lists. |
The quotes come from four pages of TikTok for Developers: About Research Tools (updated 2026-09-01), the Research Tools FAQ, the Display API Overview (updated 2026-08-04) and Query TikTok Shop Reviews (updated 2026-09-01). We checked them on 2026-11-22. Official sources: About Research Tools (updated 2026-09-01) · Frequently Asked Questions (Research Tools) · Display API Overview (updated 2026-08-04) · Query TikTok Shop Reviews (updated 2026-09-01)
What does each TikTok action accept?
Parameter table for all 37 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|
searchSearch Search TikTok by keyword across the video, account or top tab. Get caption, author and like, comment, share and view counts. Choose the tab with | keyword | content_type, page_token | Each call returns one page of up to 10 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $0.56 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform · next_page_token |
profileProfiles Look up a TikTok account by handle. Get its bio, external link, follower, following, like, video and friend counts, and creation date. Use the handle with or without @, not a profile URL or a Douyin secUid. Private analytics are not included. | username | — | — | $0.56 per 1,000 requests | user_id · username · display_name · bio · url · external_url · follower_count · following_count · like_count · video_count · friend_count · is_verified · is_private · avatar_url · created_at · platform |
user_videosVideos by user List a TikTok creator's videos with caption, publish time and like, comment, share and view counts. Filter with | username | min_likes, page_token, sort, until | Each call returns one page of up to 30 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $0.56 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform · next_page_token |
videoVideo details Fetch one TikTok video's caption, author, publish time and like, comment, share and view counts from its URL. Comments and the transcript have their own actions, and no metric history is kept. | url | — | — | $0.56 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform |
commentsComments Read the comments on a TikTok video. Get likes, reply counts, reply links and whether the creator liked or pinned each one. Each top-level comment brings at most two replies. So the full conversation tree is not guaranteed. | url | page_token | Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is billed by its row count, one call per 20 rows. | $0.56 per 1,000 requestsEvery 20 rows count as one call | id · text · author_username · author_id · like_count · reply_count · reply_to_id · is_reply · liked_by_author · pinned_by_author · posted_at · platform |
hashtagHashtag Browse TikTok videos posted under a hashtag. Each video has caption, creator and like, comment, share and view counts. Pass the tag with or without #. It is not a general text query and does not measure the total volume or trend of the tag. | hashtag | — | Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 10 rows count as one call | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform |
followersFollowers Check a TikTok account's follower, following, post and like totals by handle, with a precision flag for rounded numbers. It returns counts, not the names of the people who follow. | username | channel | — | $0.56 per 1,000 requests | id · username · url · follower_count · following_count · post_count · like_count · connection_count · precision · platform |
transcriptTranscript Extract the transcript of a TikTok video from its URL. You get full text, plus timestamped segments when they exist. Check | url | — | — | $0.56 per 1,000 requests | id · url · text · segments · has_transcript · platform |
shop_searchShop product search Find TikTok Shop products by keyword. Get price, original price, units sold, rating, review count, category and shop name. Set the market with | keyword | country, page | Catalog values: defaultLimit=10, maxLimit=10. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. A larger limit is accepted and capped at 10. | $0.56 per 1,000 requests | id · url · name · price · original_price · currency · sold_count · rating · rating_scale · review_count · category · shop_name · shop_id · image_url · platform · image_urls · brand_name · collected_at · promotion_labels · shop_logo_url |
shop_creatorShop creator details Size up a TikTok Shop creator by handle. Get categories, followers, video count, promoted products, units sold and average views. | username | country | — | $0.56 per 1,000 requests | id · username · url · name · text · avatar_url · country · categories · follower_count · video_count · product_count · sold_count · avg_views · platform |
hashtag_searchHashtag search Search TikTok hashtags by | keyword | page_token | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.81 per 1,000 requests | hashtag_id · hashtag_name · url · description · video_count · view_count · next_page_token · platform |
music_searchMusic search Search TikTok's sound library by | keyword | — | Each call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.81 per 1,000 requests | id · url · title · author_name · album · duration_seconds · duration_sec · use_count · is_original · is_commercial · released_at · cover_image_url · audio_url · platform |
music_chartMusic chart Read a TikTok music chart: | chart | Each call returns one page of up to 10 rows. There is no next page. Each page is billed once. | $0.81 per 1,000 requests | rank · id · url · title · author_name · album · language · duration_seconds · duration_sec · use_count · is_commercial · released_at · cover_image_url · audio_url · platform | |
user_searchAccount search Search TikTok accounts by | keyword | — | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | user_id · username · display_name · url · sec_uid · follower_count · following_count · like_count · video_count · is_verified · avatar_url · platform |
sound_videosVideos using a sound List the TikTok videos that use one sound, from its | music_id | page_token | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · platform · next_page_token |
comment_repliesComment replies Read the replies under one comment on a TikTok video, from the video | url, comment_id | page_token | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | id · text · like_count · author_username · author_name · author_id · author_url · author_avatar_url · liked_by_author · is_reply · reply_to_id · reply_to_reply_id · language · posted_at · video_id · next_page_token · platform |
shop_hot_productsShop best sellers Read the TikTok Shop best-seller list for one market: ID, JP, MX, MY (default), PH, SG, TH or VN. Each product has its | country | Each call returns one page of up to 50 rows. There is no next page. Each page is billed once. | $0.81 per 1,000 requests | rank · id · url · name · price · original_price · currency · sold_count · rating · rating_scale · review_count · shop_name · shop_id · image_url · platform | |
shop_category_productsShop products by category List TikTok Shop products in one category by | category_id | country, page_token | Each call returns one page of up to 15 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.81 per 1,000 requests | id · url · name · price · original_price · currency · sold_count · rating · rating_scale · review_count · shop_name · shop_id · image_url · platform · next_page_token · image_urls · brand_name · collected_at · promotion_labels · shop_logo_url |
followingFollowing List the accounts a TikTok user follows, by handle. Each account has user ID, handle, display name, | username | page_token | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.64 per 1,000 requests | user_id · username · display_name · url · sec_uid · bio · follower_count · following_count · like_count · video_count · is_verified · verified_label · avatar_url · country · next_page_token · platform |
video_downloadVideo download links Get the download links for one TikTok video from its | url | — | — | $0.64 per 1,000 requests | id · url · text · author_username · duration_seconds · duration_sec · video_url · video_backup_urls · width · height · size_bytes · hd_video_url · hd_width · hd_size_bytes · watermarked_video_url · audio_url · cover_image_url · image_urls · is_slideshow · expires_at · platform |
live_roomLive room Check whether a TikTok account is live right now, by handle. While it is live you get the room ID, title, link, viewers now and in total, product count, start time, cover and a stream link that expires. An account that is not live returns one row with | username | — | — | $0.81 per 1,000 requests | username · display_name · user_id · is_live · room_id · url · title · viewer_count · peak_viewer_count · total_viewer_count · like_count · share_count · product_count · started_at · cover_image_url · stream_url · platform · live_status · ended_at · comment_count · hashtag · game · flv_urls · share_url · is_age_restricted · has_commerce_goods · author_sec_uid · author_avatar_url · author_bio · author_follower_count · author_following_count · author_is_verified |
shop_productsShop store products List the products of one TikTok Shop store from its | shop_id | country, page_token | Catalog values: defaultLimit=30, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. A larger limit is accepted and capped at 30. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. Pages go up to 120 rows; beyond 90 rows, request the page with mode=async. | $0.81 per 1,000 requests | id · url · name · price · original_price · currency · sold_count · rating · rating_scale · review_count · shop_name · shop_id · image_url · platform · next_page_token · image_urls · brand_name · collected_at · promotion_labels · shop_logo_url |
shop_product_reviewsShop product reviews Read buyer reviews of one TikTok Shop product from its | product_id | country, page_token, rating, sort | Each call returns one page of up to 20 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. Pages go up to 600 rows; beyond 100 rows, request the page with mode=async. | $0.76 per 1,000 requests | id · rating · rating_scale · text · posted_at · variant · is_verified_purchase · is_incentivized · image_urls · author_name · country · product_id · next_page_token · platform · author_avatar_url · sku_id · sku_image_url |
shop_product_detailShop product detail Read one TikTok Shop product from its | product_id | country | — | $0.79 per 1,000 requests | id · name · url · country · price · original_price · currency · image_url · image_urls · brand_name · category_ids · category_names · shop_id · shop_name · shop · is_in_stock · rating · rating_scale · rating_count · review_count · sold_count · rating_distribution · skus · variant_labels · variant_options · specs · description · shipping_fee · shipping_method · shipping_days_min · shipping_days_max · ai_summary · collected_at · platform |
trending_hashtagsTrending hashtags Read the trending hashtags on TikTok for one market over the last 7, 30 or 90 days. Without | country, industry, time_window | Each call returns one page of up to 63 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.81 per 1,000 requests | rank · hashtag_id · hashtag_name · url · video_count · view_count · trend · platform | |
resolve_userUsername to user ID Turn a TikTok | username | — | — | $0.56 per 1,000 requests | user_id · sec_uid · username · url · platform |
resolve_linksLink recognition Read the video ID from one TikTok link in | url | — | — | $0.56 per 1,000 requests | id · url · platform |
hashtag_detailHashtag detail Read one TikTok hashtag from | hashtag | — | — | $0.56 per 1,000 requests | hashtag_id · hashtag_name · url · description · video_count · view_count · cover_image_url · is_commercial · announcement · platform |
music_detailMusic detail Read one TikTok sound by | music_id | — | — | $0.56 per 1,000 requests | id · url · title · author_name · author_username · author_id · author_sec_uid · album · duration_seconds · duration_sec · use_count · is_original · is_commercial · is_copyrighted · is_private · cover_image_url · audio_url · platform |
photosPhoto post images Get every image of a TikTok photo post (photo mode or carousel) from its | url | — | — | $0.56 per 1,000 requests | id · url · images · image_urls · posted_at · text · language · location · media_type · author_username · author_name · author_bio · music_title · music_author · author_id · author_sec_uid · music_id · author_url · author_avatar_url · cover_url · music_url · music_cover_url · image_count · view_count · like_count · comment_count · share_count · bookmark_count · repost_count · author_follower_count · author_following_count · author_like_count · author_video_count · duration_sec · duration_seconds · music_duration_sec · category_type · author_is_verified · author_is_private · author_is_seller · music_is_original · share_enabled · view_count_estimated · like_count_estimated · comment_count_estimated · share_count_estimated · author_follower_count_estimated · author_following_count_estimated · author_like_count_estimated · author_video_count_estimated · is_ad · is_private · is_aigc · comments_disabled · duet_enabled · stitch_enabled · hashtags · mentions · suggested_words · platform |
profile_contactProfile contact Read the bio text an account wrote on its own TikTok profile, and the link in it, from | username | — | — | $0.56 per 1,000 requests | user_id · sec_uid · username · display_name · url · bio · external_url · platform |
search_suggestSearch suggestions Read the related searches TikTok shows for a search term | keyword | limit | — | $0.56 per 1,000 requests | rank · keyword · platform |
top_adsTop ads Read the Top Ads list from TikTok's Creative Center for one country over the last 7, 30 or 180 days. One call returns one page of that list, about 20 ads, in the order TikTok gives. Each ad has its | country, page_token, time_window | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.79 per 1,000 requests | next_page_token · rank · id · title · url · brand_name · industry · industry_key · objective · objective_key · budget_level · ctr_top_percent · like_count · video_id · duration_sec · duration_seconds · width · height · cover_url · video_url · video_urls · platform | |
user_playlistsAccount playlists List the playlists on a TikTok profile from | username | page_token | Each call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | playlist_id · title · url · cover_image_url · video_count · author_username · author_name · author_id · author_sec_uid · author_avatar_url · platform |
playlist_videosPlaylist videos List the videos in one TikTok playlist from its | playlist_id | page_token | Each call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.79 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform · author_sec_uid · media_type · mentions · hashtags_detail · mentions_detail · images · image_urls · image_count · expires_at · video_play_url · video_size_bytes · video_bitrates · definition · width · height · dynamic_cover_url · origin_cover_url · music_duration_sec · caption_languages · poi · category_type · aigc_label · is_aigc · is_private · comments_disabled · duet_enabled · stitch_enabled · share_enabled · view_count_estimated · like_count_estimated · comment_count_estimated · share_count_estimated · author_follower_count_estimated · author_following_count_estimated · author_like_count_estimated · author_video_count_estimated |
user_repostsUser reposts List the videos under the Reposts tab of a TikTok profile, by | username | page_token | Each call returns one page of up to 30 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.79 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform · author_sec_uid · media_type · mentions · hashtags_detail · mentions_detail · images · image_urls · image_count · expires_at · video_play_url · video_size_bytes · video_bitrates · definition · width · height · dynamic_cover_url · origin_cover_url · music_duration_sec · caption_languages · poi · category_type · aigc_label · is_aigc · is_private · comments_disabled · duet_enabled · stitch_enabled · share_enabled · view_count_estimated · like_count_estimated · comment_count_estimated · share_count_estimated · author_follower_count_estimated · author_following_count_estimated · author_like_count_estimated · author_video_count_estimated |
user_storiesAccount stories Read the stories a TikTok account has up right now, by | username | limit | — | $0.88 per 1,000 requests | id · url · text · author_name · author_username · like_count · comment_count · share_count · view_count · posted_at · collect_count · repost_count · duration_sec · duration_seconds · cover_image_url · language · country · hashtags · music · is_ad · is_pinned · is_sponsored · is_slideshow · has_shop_product · author_id · author_url · author_avatar_url · author_bio · author_is_verified · author_is_private · author_is_seller · author_follower_count · author_following_count · author_like_count · author_video_count · platform · author_sec_uid · media_type · mentions · hashtags_detail · mentions_detail · images · image_urls · image_count · expires_at · video_play_url · video_size_bytes · video_bitrates · definition · width · height · dynamic_cover_url · origin_cover_url · music_duration_sec · caption_languages · poi · category_type · aigc_label · is_aigc · is_private · comments_disabled · duet_enabled · stitch_enabled · share_enabled · view_count_estimated · like_count_estimated · comment_count_estimated · share_count_estimated · author_follower_count_estimated · author_following_count_estimated · author_like_count_estimated · author_video_count_estimated |
What each action's parameters mean (37 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the TikTok search parameters mean?
Search TikTok by keyword across the video, account or top tab. Get caption, author and like, comment, share and view counts. Choose the tab with content_type. Results are not a complete sample, and the ranking is not explained.
keywordRequired- Specifies the search query string for public video searches in the
searchaction. Inshop_search, this searches TikTok Shop products instead, which draw from a distinct dataset. Insearch_suggest, it is the term whose related searches you want. content_typeOptional- Filters results by tab in the
searchaction. Allowed values arevideofor videos,profilefor users, andtopfor top content. Providing this parameter in fixed author, video, or hashtag actions does not guarantee that filtering will take effect, so verify returned response objects and fields after changing tabs.Allowed values:profiletopvideo page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok profile parameters mean?
Look up a TikTok account by handle. Get its bio, external link, follower, following, like, video and friend counts, and creation date. Use the handle with or without @, not a profile URL or a Douyin secUid. Private analytics are not included.
Full API reference: parameters, code samples, response example and healthusernameRequired- Public TikTok handle, which may optionally include the leading
@. Do not supply DouyinsecUidtokens or full profile URLs. If the username does not exist, the call returns 200 with an empty result andempty_reasonset toaccount_not_found; the call is not charged and does not need to be retried.TikTok: Differences Between Username and Display Nickname — TikTok separates username from nickname: username forms the @ handle and profile URL, while nickname is the display name shown to other users. Changing a username will also change the profile URL. · Checked
What do the TikTok user_videos parameters mean?
List a TikTok creator's videos with caption, publish time and like, comment, share and view counts. Filter with min_likes, cap the publish date with until, or sort by newest, oldest or popular. Drafts and private posts are not included.
usernameRequired- Public TikTok handle, which may optionally include the leading
@. Do not supply DouyinsecUidtokens or full profile URLs. If the username does not exist, the call returns 200 with an empty result andempty_reasonset toaccount_not_found; the call is not charged and does not need to be retried.TikTok: Differences Between Username and Display Nickname — TikTok separates username from nickname: username forms the @ handle and profile URL, while nickname is the display name shown to other users. Changing a username will also change the profile URL. · Checked min_likesOptional- Numeric threshold filtering videos by minimum like count. It applies to user_videos only and does not filter author follower counts or comment like thresholds.
page_tokenOptional- Page token. To paginate, pass an empty string (
page_token="") for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged. A request withoutpage_tokenis also the first page, but its response may not includenext_page_token. Each page holds about 30 videos, newest first, and counts as one call. Tokens last 24 hours, and the last page has nonext_page_token. Only newest-first requests (sortomitted ornewest) withoutuntilormin_likescan page. sortOptional- Sorts author video lists in the
user_videosaction. Allowed values arenewest,oldest, andpopular. It applies touser_videosonly.Allowed values:newestoldestpopular untilOptional- Sets an upper date bound for video publication time rather than data ingestion time. It applies to user_videos only.
What do the TikTok video parameters mean?
Fetch one TikTok video's caption, author, publish time and like, comment, share and view counts from its URL. Comments and the transcript have their own actions, and no metric history is kept.
Full API reference: parameters, code samples, response example and healthurlRequired- Target TikTok video URL required for
video,comments, andtranscriptactions. Inphotos, it is the link of a photo post. Incomments, it retrieves post-level comments where each top-level comment includes at most two replies, without guaranteeing a complete conversation tree.
What do the TikTok comments parameters mean?
Read the comments on a TikTok video. Get likes, reply counts, reply links and whether the creator liked or pinned each one. Each top-level comment brings at most two replies. So the full conversation tree is not guaranteed.
Full API reference: parameters, code samples, response example and healthurlRequired- Target TikTok video URL required for
video,comments, andtranscriptactions. Inphotos, it is the link of a photo post. Incomments, it retrieves post-level comments where each top-level comment includes at most two replies, without guaranteeing a complete conversation tree. page_tokenOptional- Page token. To paginate, pass an empty string (
page_token="") for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged. Each page asks TikTok for 50 comments and holds at leastlimit(when that many remain), as whole pages, so often more. TikTok re-ranks comments between pages; comments already returned on earlier pages are left out. Each page counts as one call. Tokens last 24 hours, and the last page has nonext_page_token. A request withoutpage_tokenworks as before, returning at most 200 comments; it sometimes includes anext_page_tokenthat can be followed the same way. To paginate, start frompage_token="".
What do the TikTok hashtag parameters mean?
Browse TikTok videos posted under a hashtag. Each video has caption, creator and like, comment, share and view counts. Pass the tag with or without #. It is not a general text query and does not measure the total volume or trend of the tag.
Full API reference: parameters, code samples, response example and healthhashtagRequired- Target hashtag name for the
hashtagaction, with or without the leading#. This parameter filters specifically by hashtag and does not function as an arbitrary full-text search term.
What do the TikTok followers parameters mean?
Check a TikTok account's follower, following, post and like totals by handle, with a precision flag for rounded numbers. It returns counts, not the names of the people who follow.
Full API reference: parameters, code samples, response example and healthusernameRequired- Public TikTok handle, which may optionally include the leading
@. Do not supply DouyinsecUidtokens or full profile URLs. Infollowers, this returns follower counts; inshop_creator, it queries creator e-commerce details for a designated market; inprofile_contact, it identifies the account whose bio is read, and a profile link or the TikTok account'ssec_uidis also accepted.TikTok: Differences Between Username and Display Nickname — TikTok separates username from nickname: username forms the @ handle and profile URL, while nickname is the display name shown to other users. Changing a username will also change the profile URL. · Checked channelOptional- Compatibility account handle input for the
followersaction. Precedence is lower thanusername. It is not used for TikTok Shop product searches.
What do the TikTok transcript parameters mean?
Extract the transcript of a TikTok video from its URL. You get full text, plus timestamped segments when they exist. Check has_transcript first. Recognizable speech, translation and perfect accuracy are not guaranteed.
urlRequired- Target TikTok video URL required for
video,comments, andtranscriptactions. Inphotos, it is the link of a photo post. Incomments, it retrieves post-level comments where each top-level comment includes at most two replies, without guaranteeing a complete conversation tree.
What do the TikTok shop_search parameters mean?
Find TikTok Shop products by keyword. Get price, original price, units sold, rating, review count, category and shop name. Set the market with country, which defaults to US, and step through results with page. Inventory and GMV are not calculated.
keywordRequired- Specifies the search query string for public video searches in the
searchaction. Inshop_search, this searches TikTok Shop products instead, which draw from a distinct dataset. Insearch_suggest, it is the term whose related searches you want. countryOptional- Market region code for
shop_searchandshop_creatoractions, defaulting toUSorus. It does not filter creator nationality or platform-wide content location. See the catalog for supported markets. pageOptional- 1-based integer page number for
shop_searchproduct pagination, defaulting to1. It does not paginate video comments or author video lists.shop_searchreturns at most 10 products per page; alimitabove 10 is treated as 10, without an error. To get more products, increasepageby 1 and call again.
What do the TikTok shop_creator parameters mean?
Size up a TikTok Shop creator by handle. Get categories, followers, video count, promoted products, units sold and average views. country picks the Shop market, not the creator's nationality. Private sales, commissions and buyers are not shown.
usernameRequired- Public TikTok handle, which may optionally include the leading
@. Do not supply DouyinsecUidtokens or full profile URLs. Inshop_creator, it queries creator e-commerce details for a designated market. If no creator profile is found for the username in that market, the call returns 200 with an empty result andempty_reasonset tocreator_not_found; the call is not charged. This happens both when the account is not a creator in that market and when the username does not exist. Retrying the same username right away usually gives the same result. countryOptional- Market region code for
shop_searchandshop_creatoractions, defaulting toUSorus. It does not filter creator nationality or platform-wide content location. See the catalog for supported markets.
What do the TikTok hashtag_search parameters mean?
Search TikTok hashtags by keyword. Each hashtag has its ID, name, link, description, video count and view count. 20 per page; page on with next_page_token. It finds hashtags, not the videos under them; pass a name to hashtag for those.
keywordRequired- Words to search TikTok hashtag names for, such as fitness; a leading # is removed.
page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok music_search parameters mean?
Search TikTok's sound library by keyword, such as a song or artist. Each sound has its ID, title, artist, album, length, how many videos use it, original-sound and commercial-library flags, release date, cover and a short preview link. Each call returns only the first page, up to 30 sounds, with no next_page_token.
keywordRequired- A song title, artist or sound name to search for, such as taylor swift.
What do the TikTok music_chart parameters mean?
Read a TikTok music chart: top50 (default) or viral50. Each sound has its rank, ID, title, artist, album, language, length, use count, release date, cover and preview link. One call returns the top 10 of the chart.
chartOptional- Which music chart
music_chartreads:top50(default) orviral50.Allowed values:top50viral50
What do the TikTok user_search parameters mean?
Search TikTok accounts by keyword, in the order TikTok search ranks them. Each account has user ID, handle, display name, sec_uid, follower, following, like and video counts, verification and avatar. Each call returns only the first page, up to 20 accounts, with no next_page_token.
keywordRequired- Words to search TikTok accounts for, such as cooking; matches handles, names and bios as TikTok search does.
What do the TikTok sound_videos parameters mean?
List the TikTok videos that use one sound, from its music_id or sound page link. Each video has caption, author, post time, play, like, comment, share and save counts, length, hashtags and ad, pinned and slideshow flags. About 20 per page; page on with next_page_token.
music_idRequired- The numeric TikTok sound ID for
sound_videos(theidof amusic_searchormusic_chartrow), or a sound page link such as https://www.tiktok.com/music/<name>-<ID>. page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok comment_replies parameters mean?
Read the replies under one comment on a TikTok video, from the video url and the comment's id returned by comments. Each reply has text, likes, time, the replier's handle, name and ID, and whether the creator liked it. Up to 20 per page; page on with next_page_token.
urlRequired- The TikTok video the comment is on: https://www.tiktok.com/@<user>/video/<ID>, or the video ID.
comment_idRequired- The numeric ID of the top-level comment whose replies
comment_repliesreads: theidof acommentsrow. page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok shop_hot_products parameters mean?
Read the TikTok Shop best-seller list for one market: ID, JP, MX, MY (default), PH, SG, TH or VN. Each product has its rank, ID, link, name, price, original price, currency, units sold, rating, review count, shop name and shop_id. The US, UK and Brazil have no best-seller list.
countryOptional- The TikTok Shop market: ID, JP, MX, MY (default), PH, SG, TH or VN. The US, UK and Brazil have no best-seller list and are declined before you are charged. A market's best-seller list has at most 50 products; one call returns the whole list and there is no next page. You pay per call, whatever the number of rows.
What do the TikTok shop_category_products parameters mean?
List TikTok Shop products in one category by category_id, such as 601450 for beauty and personal care, in a chosen market. Each product has ID, link, name, price, original price, currency, units sold, rating, review count, shop name and shop_id. About 15 per page; page on with next_page_token.
category_idRequired- A numeric TikTok Shop category ID for
shop_category_products, such as 601450 (beauty and personal care); first, second and third-level categories all work. countryOptional- The TikTok Shop market: US (default), SG, MY, PH, TH, VN, ID, JP or MX. Prices are in that market's local currency:
priceis a number andcurrencyis the currency code (USD, MXN, MYR, THB, VND, PHP, SGD, JPY, IDR). page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok following parameters mean?
List the accounts a TikTok user follows, by handle. Each account has user ID, handle, display name, sec_uid, bio, follower, following, like and video counts, verification, avatar and country. 20 per page; page on with next_page_token. A user who hides the list returns an empty list.
usernameRequired- The TikTok handle whose followed accounts you want, such as zachking; a leading @ is removed. A
sec_uidworks too. page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok video_download parameters mean?
Get the download links for one TikTok video from its url, without the watermark. You get video_url with backups, size, width and height, a higher-definition link when there is one, the watermarked link, the sound, the cover, and expires_at, when the links stop working. A photo post returns its image_urls instead.
urlRequired- One TikTok video link: https://www.tiktok.com/@<user>/video/<ID> or a /photo/ link, or the video ID. vt.tiktok.com short links are not accepted.
What do the TikTok live_room parameters mean?
Check whether a TikTok account is live right now, by handle. While it is live you get the room ID, title, link, viewers now and in total, product count, start time, cover and a stream link that expires. An account that is not live returns one row with is_live false. When no live room is found for the handle, because the account has never gone live or the handle does not exist, the result is empty (reason: live_room_not_found) and the call is not charged.
usernameRequired- The TikTok handle to check, such as tiktoklive_latam; a leading @ is removed and a profile link works too. An account that is not live returns one row with
is_livefalse. If no live room is found for the username, the call returns 200 with an empty result andempty_reasonset tolive_room_not_found; the call is not charged. This happens both when the account has never gone live and when the username does not exist.peak_viewer_count,like_countandshare_countare usually absent.
What do the TikTok shop_products parameters mean?
List the products of one TikTok Shop store from its shop_id or store link, in a chosen market. Each product has ID, link, name, price, original price, currency, units sold, rating, review count, shop name and shop_id. Up to 30 products a page; page on with next_page_token, up to 120 products.
shop_idRequired- The numeric TikTok Shop store ID for
shop_products: theshop_idof a product row, or a shop.tiktok.com store link that ends in the ID. countryOptional- The TikTok Shop market the store sells in: US (default), SG, MY, PH, TH, VN, ID, JP or MX.
page_tokenOptional- Page token for TikTok list actions such as
hashtag_search,sound_videos,followingandshop_products. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, with the other parameters unchanged; the last page has none.
What do the TikTok shop_product_reviews parameters mean?
Read buyer reviews of one TikTok Shop product from its product_id or product link. Each review has star rating, text, post time, the variant bought, verified-purchase and incentivized flags, photos, the masked buyer name and country. Sort by newest or recommended and keep one star level with rating. 20 per page.
product_idRequired- The numeric TikTok Shop product ID for
shop_product_reviews(theidof a product row), or a shop.tiktok.com product link. countryOptional- The TikTok Shop market the product sells in: US (default), SG, MY, PH, TH, VN, ID, JP or MX.
page_tokenOptional- Page token. Leave it out for the first page; when the response has
next_page_token, pass it back unchanged aspage_tokento get the next page, with all other parameters unchanged. Tokens last 24 hours, and each page counts as one call. Each page holds up to 20 reviews, set bylimit(default 20; a value above 20 is treated as 20). You can page up to review 600 (page 30 at 20 per page). The first 100 reviews (the first 5 pages at 20 per page) can be read with synchronous requests; beyond that (from page 6 at 20 per page), use async: add"mode": "async"to the same request and pollGET /api/v1/jobs/{job_id}. A synchronous request that goes past review 100 returns 422async_requiredand is not billed. Nonext_page_token(pagination.has_moreisfalse) means you cannot page further:pagination.stop_reasonisend_of_listwhen the product's reviews are exhausted, ordepth_limitwhen you have reached the limit of 600 reviews; more reviews may remain. Page 1 is fetched fresh on every request. Pages 2 onward, up to review 100, are cut in order from a saved copy of the reviews made the first time page 2 is requested; pages after review 100 are cut from another saved copy made the first time a request goes past review 100; within one copy, pages neither repeat nor skip reviews. If the product gets new reviews while you are paging, page 2 onward will not repeat reviews already given on page 1, but the boundary around review 100 may show a few repeats or gaps, so deduplicate by reviewidwhen you merge. ratingOptional- Keep only reviews with this many stars in
shop_product_reviews: 1 to 5. Leave it out for all reviews.Allowed values:12345 sortOptional- Review order:
newest(default) orrecommended. Both values may currently return the same order, and newest first is not guaranteed; to sort by time, sort on each review'sposted_atyourself.Allowed values:newestrecommended
What do the TikTok shop_product_detail parameters mean?
Read one TikTok Shop product from its product_id or product link and country: the title in name, image_url and image_urls, price and original_price in the local currency, skus with each variant's price and stock, shop, rating_distribution, specs, description and shipping. One product per call.
product_idRequired- The numeric TikTok Shop product ID (the
idof a product row from shop_search, shop_category_products or shop_products), or a shop.tiktok.com /pdp/ product link. countryOptional- The TikTok Shop market the product sells in: US (default), MX, SG, MY, PH, TH, VN, ID or JP. Other markets, such as Brazil (BR), return 422 and are not charged. A product that does not exist, was taken down or is not sold in that market returns 200 with an empty result and
empty_reasonset toitem_not_found, not charged.
What do the TikTok trending_hashtags parameters mean?
Read the trending hashtags on TikTok for one market over the last 7, 30 or 90 days. Without industry, one call returns the overall top 3 followed by the top 3 of each industry, each hashtag listed once, about 50 in all; with industry, the top 3 of that industry. Each hashtag has its rank (its position in this list), ID, name, link, video count, view count and trend, its daily popularity from 0 to 100. There is no next_page_token and no second page.
What do the TikTok resolve_user parameters mean?
Turn a TikTok username (with or without @), a profile link or a sec_uid into the account's numeric user_id, its sec_uid, current username and profile url. One account per call.
usernameRequired- A TikTok username such as
nasa(a leading @ is removed), a profile link, or the account'ssec_uid.
What do the TikTok resolve_links parameters mean?
Read the video ID from one TikTok link in url, including vm.tiktok.com and vt.tiktok.com share links. Returns id and the canonical url; pass that url to video for author details. One link per call.
urlRequired- One TikTok link: a full video or photo post link (/video/ or /photo/), or a vm.tiktok.com or vt.tiktok.com share link.
What do the TikTok hashtag_detail parameters mean?
Read one TikTok hashtag from hashtag (its name, with or without #, a tag link or the numeric ID): hashtag_id, hashtag_name, url, exact video_count and view_count, and is_commercial. description, announcement and cover_image_url come back when the tag page has them.
hashtagRequired- A hashtag name such as
nasa(a leading # is removed), a https://www.tiktok.com/tag/<name> link, or a numeric hashtag ID.
What do the TikTok music_detail parameters mean?
Read one TikTok sound by music_id or music link: title, author_name, album, duration_seconds, how many videos use it (use_count), is_original, is_copyrighted, a cover link and a preview audio link that expires.
music_idRequired- A numeric music ID, such as the
idfrommusic_searchormusic_chartor a video'smusic.id, or a https://www.tiktok.com/music/<name>-<ID> link.
What do the TikTok photos parameters mean?
Get every image of a TikTok photo post (photo mode or carousel) from its url, in the post's order: images with each image's url, width and height in pixels, plus image_urls, the same links as a list. The row also carries the post's text, posted_at, counts, author fields and background music fields. Image links expire, so download the ones you keep soon. A video, a missing post or a deleted post returns 503 and is not charged; use video for videos.
urlRequired- A TikTok photo post link with the post ID, such as https://www.tiktok.com/@<user>/photo/<ID> (the /video/<ID> form works too), or the 15 to 21 digit post ID. Short links such as vm.tiktok.com are not recognized, and a value in the wrong form is rejected (422) before you are charged.
What do the TikTok profile_contact parameters mean?
Read the bio text an account wrote on its own TikTok profile, and the link in it, from username (a handle with or without @, a profile link or a sec_uid): user_id, sec_uid, username, display_name, url, bio and external_url, as written, not reworded or guessed. bio and external_url are absent when the owner left them empty. There are no separate email or phone fields; any contact details the owner wrote are in bio. An account that does not exist returns 503 and is not charged.
usernameRequired- A TikTok username such as
nasa(a leading @ is removed), a profile link, or the account'ssec_uid. A value in the wrong form is rejected (422) before you are charged.
What do the TikTok search_suggest parameters mean?
Read the related searches TikTok shows for a search term keyword (1 to 100 characters). One call returns the whole list, usually 4 terms, with no paging and no limit. Each row has rank (its position on the page, from 1), keyword and platform. Run again later and the terms and their order can change. When no related searches could be read, the call returns 503, is not charged and can be retried.
keywordRequired- The search term, 1 to 100 characters.
limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
What do the TikTok top_ads parameters mean?
Read the Top Ads list from TikTok's Creative Center for one country over the last 7, 30 or 180 days. One call returns one page of that list, about 20 ads, in the order TikTok gives. Each ad has its rank (its position on that page, starting from 1 on every page), ID, link, title, brand_name, industry, campaign objective, budget level, ctr_top_percent, like count, and the ad video's duration, size, cover image and video file links. When another page exists, the response includes next_page_token; pass it unchanged as page_token to get that page. limit has no effect. You cannot search by keyword or filter by industry or objective, and there is no advertiser contact information.
countryOptional- The country whose Top Ads you want, default US: AE, AR, AU, BR, CA, CO, DE, ES, FR, GB, ID, IT, JP, KR, MX, MY, NL, PH, PK, RO, SA, SE, SG, TH, TR, US, VN or ZA. Other countries have no list and are declined before you are charged (422, no charge).
page_tokenOptional- Page token. Leave it out for the first page, then pass back the previous response's
next_page_tokenexactly as received, withcountryandtime_windowunchanged. Start at page 1 and fetch the pages one after another, without long gaps. Each page holds about 20 ads and is one call;limithas no effect. TikTok sometimes does not provide later pages; that call returns 503 and is not charged, so retry later with the samepage_token. Tokens last 24 hours; the last page has nonext_page_token. time_windowOptional- The period
top_adsranks over:7d,30d(default) or180d. Other values are declined before you are charged (422, no charge).Allowed values:180d30d7d
What do the TikTok user_playlists parameters mean?
List the playlists on a TikTok profile from username (a handle, profile link or sec_uid), in TikTok's order. Each playlist has playlist_id, title, link, cover, video_count and the owner's handle, name, IDs and avatar. Up to 30 per page; page on with next_page_token. An account that does not exist returns an empty result with empty_reason account_not_found, not charged.
usernameRequired- A TikTok username such as
nasa(a leading @ is removed), a profile link, or the account'ssec_uid. An account that does not exist returns 200 with an empty result andempty_reasonset toaccount_not_found, and the call is not charged. page_tokenOptional- Page token. Leave it out for the first page, then pass back the previous response's
next_page_tokenexactly as received, with the other parameters unchanged. Each page holds up to 30 playlists and counts as one call. Tokens last 24 hours, and the last page has nonext_page_token.
What do the TikTok playlist_videos parameters mean?
List the videos in one TikTok playlist from its playlist_id or playlist link, in the playlist's order. Each video has the user_videos fields plus hashtag and mention details, images for photo posts, the web player's video link and formats, size, caption languages, tagged place and AI label. Up to 30 per page; videos that can no longer be viewed are left out. Page on with next_page_token.
playlist_idRequired- The numeric playlist ID, the
playlist_idof auser_playlistsrow, or a playlist link such as https://www.tiktok.com/@<user>/playlist/<name>-<ID>. A value in the wrong form is rejected (422) before you are charged; a playlist that does not exist returns an empty result and is not charged. page_tokenOptional- Page token. Leave it out for the first page, then pass back the previous response's
next_page_tokenexactly as received, with the other parameters unchanged. Each page holds up to 30 videos and counts as one call; videos that can no longer be viewed are left out, so a short page is not the end. Tokens last 24 hours, and only a page withoutnext_page_tokenis the last one.
What do the TikTok user_reposts parameters mean?
List the videos under the Reposts tab of a TikTok profile, by username, most recent repost first. Each row is the reposted video with the user_videos fields, its original creator as the author, and the same extra fields as playlist_videos; the time of the repost is not given. Up to 30 per page; page on with next_page_token. An account that does not exist returns account_not_found, not charged.
usernameRequired- A TikTok username such as
nasa(a leading @ is removed), a profile link, or the account'ssec_uid. An account that does not exist returns 200 with an empty result andempty_reasonset toaccount_not_found, and the call is not charged. page_tokenOptional- Page token. Leave it out for the first page, then pass back the previous response's
next_page_tokenexactly as received, with the other parameters unchanged. Each page holds up to 30 videos and counts as one call; videos that can no longer be viewed are left out, so a short page is not the end. Tokens last 24 hours, and only a page withoutnext_page_tokenis the last one.
What do the TikTok user_stories parameters mean?
Read the stories a TikTok account has up right now, by username, oldest first, all in one call. Each story has the video fields, expires_at (24 hours after posting) and, for photo stories, images with each image's size. An account with no story up returns an empty list; one that does not exist returns account_not_found. Neither is charged.
usernameRequired- A TikTok username such as
cnn(a leading @ is removed), a profile link, or the account'ssec_uid. An account with no story up returns an empty list; an account that does not exist returns 200 with an empty result andempty_reasonset toaccount_not_found. Neither is charged. limitOptional- Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without
limit, whatever the value.
How to use the TikTok API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"tiktok","action":"search","params":{"keyword":"<keyword>"}}'
TikTok guides
Worked examples and methods built on these actions. Check the current actions, parameters and fields on this page first; an article's examples and limits do not replace the live catalog.
TikTok Creator API: Screen Creators with Profile and Video Samples
Integrate TikTok profile and user_videos endpoints, separate account and video snapshots, calculate clear engagement metrics, handle missing values, and avoid treating public data as conversion results.
Read the articleCreator due diligence with real data: why follower counts are not audience proof
Six TikTok creators with 3M to 18M followers: median views were 0.13% to 11.4% of followers. How to vet in layers, check disclosure and cost it.
Read the articleUnified Data API Getting Started: From Capability Catalog to First Available Result
Access multi-platform data using platform, action, and params: read the capability catalog, complete minimal requests, handle asynchronous tasks, partial results, and billing, and establish traceable data records.
Read the articleTikTok API questions
What can I retrieve with the TikTok API?
Set platform to tiktok. The current catalog lists search, profiles, videos by user, video details, comments, and more. These action names identify different TikTok objects or views; they are not interchangeable search modes.
Which input starts the TikTok search request?
Specifies the search query string for public video searches in the search action. In shop_search, this searches TikTok Shop products instead, which draw from a distinct dataset. In search_suggest, it is the term whose related searches you want. Send it as keyword inside params.
Which fields can TikTok search return?
Its declared schema includes text, author_name, author_username, and like_count. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every TikTok action return immediately?
Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.