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"}

Values from real sample calls for the same account, captured September 26, 2026 – November 21, 2026 (UTC); each box links to that endpoint.

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%
Healthy

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

  • Extract the transcript of a TikTok video from its URL.

    transcript$0.56 per 1,000 calls

  • Get the download links for one TikTok video from its url, without the watermark.

    video_download$0.64 per 1,000 calls

  • 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

  • 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.

    photos$0.56 per 1,000 calls

  • 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

  • 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

  • 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.

    resolve_user$0.56 per 1,000 calls

  • 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.

    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

  • List the playlists on a TikTok profile from username (a handle, profile link or sec_uid), in TikTok's order.

    user_playlists$0.56 per 1,000 calls

  • List the videos in one TikTok playlist from its playlist_id or playlist link, in the playlist's order.

    playlist_videos$0.79 per 1,000 calls

  • 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

  • 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

  • Read the replies under one comment on a TikTok video, from the video url and the comment's id returned by comments.

    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

  • 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.

    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

  • Search TikTok's sound library by keyword, such as a song or artist.

    music_search$0.81 per 1,000 calls

  • Read a TikTok music chart: top50 (default) or viral50.

    music_chart$0.81 per 1,000 calls

  • 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_detail$0.56 per 1,000 calls

  • List the TikTok videos that use one sound, from its music_id or sound page link.

    sound_videos$0.56 per 1,000 calls

TikTok Shop

  • Find TikTok Shop products by keyword.

    shop_search$0.56 per 1,000 calls

  • 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

  • List the products of one TikTok Shop store from its shop_id or store link, in a chosen market.

    shop_products$0.81 per 1,000 calls

  • 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.

    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_id or product link.

    shop_product_reviews$0.76 per 1,000 calls

  • 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

TikTok API pricing

Use cases

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:

ComparedTikTok for DevelopersEveryInfra
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 usersThe 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.

ActionRequiredOptionalLimitPer 1,000Response fields
search

Search

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.

keywordcontent_type, page_tokenEach 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 requestsid · 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
profile

Profiles

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 requestsuser_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_videos

Videos by user

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.

usernamemin_likes, page_token, sort, untilEach 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 requestsid · 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
video

Video 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 requestsid · 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
comments

Comments

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.

urlpage_tokenCatalog 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 callid · text · author_username · author_id · like_count · reply_count · reply_to_id · is_reply · liked_by_author · pinned_by_author · posted_at · platform
hashtag

Hashtag

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 callid · 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
followers

Followers

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.

usernamechannel—$0.56 per 1,000 requestsid · username · url · follower_count · following_count · post_count · like_count · connection_count · precision · platform
transcript

Transcript

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.

url——$0.56 per 1,000 requestsid · url · text · segments · has_transcript · platform
shop_search

Shop 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 country, which defaults to US, and step through results with page. Inventory and GMV are not calculated.

keywordcountry, pageCatalog 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 requestsid · 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_creator

Shop creator details

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.

usernamecountry—$0.56 per 1,000 requestsid · username · url · name · text · avatar_url · country · categories · follower_count · video_count · product_count · sold_count · avg_views · platform
hashtag_search

Hashtag search

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.

keywordpage_tokenEach 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 requestshashtag_id · hashtag_name · url · description · video_count · view_count · next_page_token · platform
music_search

Music search

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.

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 requestsid · url · title · author_name · album · duration_seconds · duration_sec · use_count · is_original · is_commercial · released_at · cover_image_url · audio_url · platform
music_chart

Music chart

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.

chartEach call returns one page of up to 10 rows. There is no next page. Each page is billed once.$0.81 per 1,000 requestsrank · id · url · title · author_name · album · language · duration_seconds · duration_sec · use_count · is_commercial · released_at · cover_image_url · audio_url · platform
user_search

Account search

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.

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 requestsuser_id · username · display_name · url · sec_uid · follower_count · following_count · like_count · video_count · is_verified · avatar_url · platform
sound_videos

Videos using a sound

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_idpage_tokenEach 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 requestsid · 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_replies

Comment replies

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.

url, comment_idpage_tokenEach 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 requestsid · 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_products

Shop 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 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.

countryEach call returns one page of up to 50 rows. There is no next page. Each page is billed once.$0.81 per 1,000 requestsrank · id · url · name · price · original_price · currency · sold_count · rating · rating_scale · review_count · shop_name · shop_id · image_url · platform
shop_category_products

Shop products by category

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_idcountry, page_tokenEach 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 requestsid · 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
following

Following

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.

usernamepage_tokenEach 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 requestsuser_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_download

Video download links

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.

url——$0.64 per 1,000 requestsid · 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_room

Live 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 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.

username——$0.81 per 1,000 requestsusername · 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_products

Shop store products

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_idcountry, page_tokenCatalog 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 requestsid · 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_reviews

Shop product reviews

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_idcountry, page_token, rating, sortEach 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 requestsid · 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_detail

Shop product detail

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_idcountry—$0.79 per 1,000 requestsid · 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_hashtags

Trending hashtags

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.

country, industry, time_windowEach 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 requestsrank · hashtag_id · hashtag_name · url · video_count · view_count · trend · platform
resolve_user

Username to user ID

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.

username——$0.56 per 1,000 requestsuser_id · sec_uid · username · url · platform
resolve_links

Link recognition

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.

url——$0.56 per 1,000 requestsid · url · platform
hashtag_detail

Hashtag detail

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.

hashtag——$0.56 per 1,000 requestshashtag_id · hashtag_name · url · description · video_count · view_count · cover_image_url · is_commercial · announcement · platform
music_detail

Music detail

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_id——$0.56 per 1,000 requestsid · 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
photos

Photo post images

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.

url——$0.56 per 1,000 requestsid · 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_contact

Profile contact

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.

username——$0.56 per 1,000 requestsuser_id · sec_uid · username · display_name · url · bio · external_url · platform
search_suggest

Search suggestions

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.

keywordlimit—$0.56 per 1,000 requestsrank · keyword · platform
top_ads

Top 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 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.

country, page_token, time_windowEach 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 requestsnext_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_playlists

Account playlists

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.

usernamepage_tokenEach 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 requestsplaylist_id · title · url · cover_image_url · video_count · author_username · author_name · author_id · author_sec_uid · author_avatar_url · platform
playlist_videos

Playlist videos

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_idpage_tokenEach 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 requestsid · 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_reposts

User reposts

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.

usernamepage_tokenEach 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 requestsid · 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_stories

Account stories

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.

usernamelimit—$0.88 per 1,000 requestsid · 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.

Full API reference: parameters, code samples, response example and health
keywordRequired
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.
content_typeOptional
Filters results by tab in the search action. Allowed values are video for videos, profile for users, and top for 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, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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 health
usernameRequired
Public TikTok handle, which may optionally include the leading @. Do not supply Douyin secUid tokens or full profile URLs. If the username does not exist, the call returns 200 with an empty result and empty_reason set to account_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.

Full API reference: parameters, code samples, response example and health
usernameRequired
Public TikTok handle, which may optionally include the leading @. Do not supply Douyin secUid tokens or full profile URLs. If the username does not exist, the call returns 200 with an empty result and empty_reason set to account_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's next_page_token exactly as received, with the other parameters unchanged. A request without page_token is also the first page, but its response may not include next_page_token. Each page holds about 30 videos, newest first, and counts as one call. Tokens last 24 hours, and the last page has no next_page_token. Only newest-first requests (sort omitted or newest) without until or min_likes can page.
sortOptional
Sorts author video lists in the user_videos action. Allowed values are newest, oldest, and popular. It applies to user_videos only.
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 health
urlRequired
Target TikTok video URL required for video, comments, and transcript actions. In photos, it is the link of a photo post. In comments, 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 health
urlRequired
Target TikTok video URL required for video, comments, and transcript actions. In photos, it is the link of a photo post. In comments, 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's next_page_token exactly as received, with the other parameters unchanged. Each page asks TikTok for 50 comments and holds at least limit (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 no next_page_token. A request without page_token works as before, returning at most 200 comments; it sometimes includes a next_page_token that can be followed the same way. To paginate, start from page_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 health
hashtagRequired
Target hashtag name for the hashtag action, 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 health
usernameRequired
Public TikTok handle, which may optionally include the leading @. Do not supply Douyin secUid tokens or full profile URLs. In followers, this returns follower counts; in shop_creator, it queries creator e-commerce details for a designated market; in profile_contact, it identifies the account whose bio is read, and a profile link or the TikTok account's sec_uid is 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 followers action. Precedence is lower than username. 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.

Full API reference: parameters, code samples, response example and health
urlRequired
Target TikTok video URL required for video, comments, and transcript actions. In photos, it is the link of a photo post. In comments, 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.

Full API reference: parameters, code samples, response example and health
keywordRequired
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.
countryOptional
Market region code for shop_search and shop_creator actions, defaulting to US or us. 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_search product pagination, defaulting to 1. It does not paginate video comments or author video lists. shop_search returns at most 10 products per page; a limit above 10 is treated as 10, without an error. To get more products, increase page by 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.

Full API reference: parameters, code samples, response example and health
usernameRequired
Public TikTok handle, which may optionally include the leading @. Do not supply Douyin secUid tokens or full profile URLs. In shop_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 and empty_reason set to creator_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_search and shop_creator actions, defaulting to US or us. 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.

Full API reference: parameters, code samples, response example and health
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, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
chartOptional
Which music chart music_chart reads: top50 (default) or viral50.
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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
music_idRequired
The numeric TikTok sound ID for sound_videos (the id of a music_search or music_chart row), 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, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
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_replies reads: the id of a comments row.
page_tokenOptional
Page token for TikTok list actions such as hashtag_search, sound_videos, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
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: price is a number and currency is 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, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
usernameRequired
The TikTok handle whose followed accounts you want, such as zachking; a leading @ is removed. A sec_uid works too.
page_tokenOptional
Page token for TikTok list actions such as hashtag_search, sound_videos, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
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_live false. If no live room is found for the username, the call returns 200 with an empty result and empty_reason set to live_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_count and share_count are 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.

Full API reference: parameters, code samples, response example and health
shop_idRequired
The numeric TikTok Shop store ID for shop_products: the shop_id of 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, following and shop_products. Leave it out for the first page, then pass back the previous response's next_page_token exactly 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.

Full API reference: parameters, code samples, response example and health
product_idRequired
The numeric TikTok Shop product ID for shop_product_reviews (the id of 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 as page_token to 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 by limit (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 poll GET /api/v1/jobs/{job_id}. A synchronous request that goes past review 100 returns 422 async_required and is not billed. No next_page_token (pagination.has_more is false) means you cannot page further: pagination.stop_reason is end_of_list when the product's reviews are exhausted, or depth_limit when 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 review id when 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) or recommended. Both values may currently return the same order, and newest first is not guaranteed; to sort by time, sort on each review's posted_at yourself.
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.

Full API reference: parameters, code samples, response example and health
product_idRequired
The numeric TikTok Shop product ID (the id of 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_reason set to item_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.

Full API reference: parameters, code samples, response example and health

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.

Full API reference: parameters, code samples, response example and health
usernameRequired
A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_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.

Full API reference: parameters, code samples, response example and health

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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
music_idRequired
A numeric music ID, such as the id from music_search or music_chart or a video's music.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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
usernameRequired
A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_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.

Full API reference: parameters, code samples, response example and health
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.

Full API reference: parameters, code samples, response example and health
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_token exactly as received, with country and time_window unchanged. Start at page 1 and fetch the pages one after another, without long gaps. Each page holds about 20 ads and is one call; limit has no effect. TikTok sometimes does not provide later pages; that call returns 503 and is not charged, so retry later with the same page_token. Tokens last 24 hours; the last page has no next_page_token.
time_windowOptional
The period top_ads ranks over: 7d, 30d (default) or 180d. 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.

Full API reference: parameters, code samples, response example and health
usernameRequired
A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_uid. An account that does not exist returns 200 with an empty result and empty_reason set to account_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_token exactly 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 no next_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.

Full API reference: parameters, code samples, response example and health
playlist_idRequired
The numeric playlist ID, the playlist_id of a user_playlists row, 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_token exactly 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 without next_page_token is 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.

Full API reference: parameters, code samples, response example and health
usernameRequired
A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_uid. An account that does not exist returns 200 with an empty result and empty_reason set to account_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_token exactly 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 without next_page_token is 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.

Full API reference: parameters, code samples, response example and health
usernameRequired
A TikTok username such as cnn (a leading @ is removed), a profile link, or the account's sec_uid. An account with no story up returns an empty list; an account that does not exist returns 200 with an empty result and empty_reason set to account_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

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
tiktok_search.sh
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.

Build

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 article
Blog

Creator 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 article
Build

Unified 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 article

TikTok 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.

Google Analytics needs consent. Privacy