tiktok/
top-search
tiktok / profilesTikTok Profiles APItiktok / videosTikTok Videos APItiktok / video-transcriptTikTok Video Transcript APItiktok / commentsTikTok Comments APItiktok / comment-repliesTikTok Comment Replies APItiktok / searchTikTok Search APItiktok / hashtagsTikTok Hashtags APItiktok / trending-feedTikTok Trending Feed APItiktok / followers-listTikTok Followers List APItiktok / following-listTikTok Following List APItiktok / user-videosTikTok User Videos APItiktok / live-room-infoTikTok Live Room Info APItiktok / search-usersTikTok Search Users APItiktok / songTikTok Song APItiktok / song-videosTikTok Song Videos APItiktok / popular-songsTikTok Popular Songs APItiktok / top-searchTikTok Top Search APItiktok / user-liveTikTok User Live APIx / profilesTwitter Profile Scraper APIx / followers-listX Followers List APIx / postsTwitter Tweet Scraper APIx / post-retweetersX Post Retweeters APIx / user-postsTwitter User Tweets Scraper APIx / searchTwitter Search APIx / following-listX Following List APIx / post-quotesX Post Quotes APIx / post-repliesX Post Replies APIx / trendsX Trends APIx / mentionsTwitter Mentions APIx / search-usersTwitter User Search APIx / communityX Community APIx / community-postsX Community Posts APIx / thread-contextX Thread Context APIinstagram / postsInstagram Posts APIinstagram / post-infoInstagram Post Info APIinstagram / hashtag-postsInstagram Hashtag Posts APIinstagram / reels-searchInstagram Reels Search APIinstagram / story-highlightsInstagram Story Highlights APIinstagram / tagged-postsInstagram Tagged Posts APIinstagram / transcriptInstagram Transcript APIinstagram / audio-reelsInstagram Audio Reels APIinstagram / commentsInstagram Comments APIfacebook / pagesFacebook Pages APIfacebook / postsFacebook Posts APIfacebook / group-postsFacebook Group Posts APIfacebook / reelsFacebook Reels APIfacebook / commentsFacebook Comments APIfacebook / comment-repliesFacebook Comment Replies APIfacebook / company-reviewsFacebook Company Reviews APIfacebook / video-transcriptFacebook Video Transcript APIfacebook / ad-transcriptFacebook Ad Transcript APIfacebook / events-searchFacebook Events Search APIfacebook / event-detailsFacebook Event Details APIfacebook / profile-eventsFacebook Profile Events APIfacebook / profile-photosFacebook Profile Photos APIfacebook / profilesFacebook Profiles APIinstagram / followers-countInstagram Followers Count APIinstagram / profilesInstagram Profiles APIinstagram / followers-listInstagram Followers List APIinstagram / following-listInstagram Following List APIinstagram / reelsInstagram Reels APIinstagram / searchInstagram Search APIinstagram / highlight-itemsInstagram Highlight Items APIinstagram / trending-reelsInstagram Trending Reels APIyoutube / channelsYouTube Channels APIyoutube / videosYouTube Videos APIyoutube / channel-videosYouTube Channel Videos APIyoutube / playlist-videosYouTube Playlist Videos APIyoutube / channel-live-videosYouTube Channel Live Videos APIyoutube / commentsYouTube Comments APIyoutube / comment-repliesYouTube Comment Replies APIyoutube / community-postsYouTube Community Posts APIyoutube / shortsYouTube Shorts APIyoutube / searchYouTube Search APIyoutube / hashtag-searchYouTube Hashtag Search APIyoutube / transcriptsYouTube Transcripts APIlinkedin / profilesLinkedIn Profiles APIlinkedin / companiesLinkedIn Companies APIlinkedin / postsLinkedIn Posts APIlinkedin / jobsLinkedIn Jobs APIlinkedin / company-jobsLinkedIn Company Jobs APIlinkedin / company-postsLinkedIn Company Posts APIlinkedin / post-commentsLinkedIn Post Comments APIlinkedin / profile-postsLinkedIn Profile Posts APIlinkedin / search-jobsLinkedIn Search Jobs APIlinkedin / search-peopleLinkedIn Search People APIlinkedin / search-postsLinkedIn Search Posts APIreddit / postsReddit Posts APIreddit / commentsReddit Comments APIreddit / subreddit-postsReddit Subreddit Posts APIreddit / searchReddit Search APIreddit / subreddit-detailsReddit Subreddit Details APIreddit / subreddit-searchReddit Subreddit Search APIpinterest / profilesPinterest Profiles APIpinterest / pinsPinterest Pins APIpinterest / user-pinsPinterest User Pins APIpinterest / searchPinterest Search APIthreads / postsThreads Posts APIthreads / profilesThreads Profiles APIthreads / user-postsThreads User Posts APIbluesky / profileBluesky Profile APIbluesky / postBluesky Post APIbluesky / user-postsBluesky User Posts APIfacebook-marketplace / location-searchFacebook Marketplace Location Search APIfacebook-marketplace / searchFacebook Marketplace Search APIfacebook-marketplace / itemFacebook Marketplace Item APIfacebook-ad-library / adFacebook Ad Library Ad APIfacebook-ad-library / company-adsFacebook Ad Library Company Ads APIfacebook-ad-library / company-searchFacebook Ad Library Company Search APIfacebook-ad-library / searchFacebook Ad Library Search APIgoogle-ad-library / adGoogle Ad Library Ad APIgoogle-ad-library / advertiser-searchGoogle Ad Library Advertiser Search APIgoogle-ad-library / company-adsGoogle Ad Library Company Ads APIgoogle-maps / searchGoogle Maps Search APIgoogle-maps / place-detailsGoogle Maps Place Details APIgoogle-maps / reviewsGoogle Maps Reviews APItiktok-ad-library / adTikTok Ad Library Ad APItiktok-ad-library / searchTikTok Ad Library Search APIlinkedin-ad-library / adLinkedIn Ad Library Ad APIlinkedin-ad-library / searchLinkedIn Ad Library Search APItiktok-shop / searchTikTok Shop Search APItiktok-shop / productsTikTok Shop Products APItiktok-shop / productTikTok Shop Product APItiktok-shop / product-reviewsTikTok Shop Product Reviews APIseo / google-organic-serpGoogle Organic SERP APIseo / keyword-difficultyKeyword Difficulty APIseo / keyword-overviewKeyword Overview APIseo / keyword-search-volumeKeyword Search Volume APIseo / keywords-for-siteKeywords for Site APIseo / keyword-suggestionsKeyword Suggestions APIseo / ranked-keywordsRanked Keywords APIseo / related-keywordsRelated Keywords APIseo / relevant-pagesRelevant Pages APIseo / search-intentSearch Intent APItiktok-shop / user-showcaseTikTok Shop User Showcase APIsnapchat / profileSnapchat Profile APIsnapchat / spotlightSnapchat Spotlight APIsnapchat / spotlight-commentsSnapchat Spotlight Comments APItwitch / profileTwitch Profile APItwitch / user-videosTwitch User Videos APIkwai / profileKwai Profile APIkwai / user-postsKwai User Posts APIkwai / postKwai Post APIamazon / best-sellersAmazon Best Sellers APIamazon / product-detailAmazon Product Details APIamazon / product-searchAmazon Product Search APIamazon / reviewsAmazon Reviews APIamazon / seller-infoAmazon Seller Info APIgoogle-play / app-detailGoogle Play App Detail APIgoogle-play / app-rankingsGoogle Play App Rankings APIgoogle-play / app-reviewsGoogle Play App Reviews APIapple-app-store / app-detailApple App Store App Detail APIapple-app-store / app-reviewsApple App Store App Reviews APIapple-app-store / rankingsApple App Store Rankings APItruth-social / profileTruth Social Profile APItruth-social / user-postsTruth Social User Posts APItruth-social / postTruth Social Post APIdouyin / live-room-detailDouyin Live Room Detail APIdouyin / user-profileDouyin User Profile APIdouyin / user-videosDouyin User Videos APIdouyin / video-commentsDouyin Video Comments APIdouyin / video-detailDouyin Video Detail APIdouyin / video-searchDouyin Video Search APIrednote / comment-repliesRednote Comment Replies APIrednote / home-recommendationsRednote Home Recommendations APIrednote / note-commentsRednote Note Comments APIrednote / note-detailRednote Note Detail APIrednote / search-notesRednote Search Notes APIrednote / search-usersRednote Search Users APIrednote / user-notesRednote User Notes APIrednote / user-profileRednote User Profile API

Search TikTok videos and photo carousels by keyword, with captions, creator details, media links and engagement counts returned together in one JSON list.

TikTok Top Search API

Videos and photo carousels
Keyword search
Sorting and publication filters
0.7 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

TikTok Top Search

TikTok Top search brings together videos and photo carousels, which are posts made up of multiple images, around a keyword or phrase. Captions, creator identities, media and interaction counts help you compare how the same topic appears across those different content formats.

Features

  • Find videos and image posts in one searchThe same keyword query can return video posts and photo carousels, with the type field identifying the format so you can keep both in one dataset or separate them for review.
  • Choose the ordering and publication rangeSort matching content by relevance, publication date or likes and add a publication-time filter to focus the returned selection on the kind of content you want to inspect.
  • Read the content together with its creator and countersEach result brings the caption, creator information, media links and available interaction counts together, so you can relate a post’s subject and format to the account that published it.

Parameters

ParametersRequiredDescription
queryRequiredRequired keyword or phrase describing what you want to find, such as coffee or home workout; enter search text rather than a TikTok post URL.
sort_byOptionalOptional ordering: relevance puts matching relevance first, date uses publication-date ordering, and likes uses like-count ordering; the default is relevance.
published_withinOptionalOptional publication-time range: day selects yesterday, week this week, month this month, three_months the last three months, and six_months the last six months; leave it blank to apply no additional publication-time filter.
regionOptionalOptional two-letter region code, such as US or GB, that changes which content is accessible for the search; it does not prove that returned posts or creators are located in that country.
results_limitOptionalOptional maximum number of content records, from 1 to 2000, with a default of 100; videos and photo carousels both count toward this total, and fewer results can be returned.

How to Use

The request starts a background collection task, so its first response gives you a task ID rather than the finished data; use that ID to check progress and retrieve the results.

  1. Enter a subject keyword, choose whether relevance, date or likes is most useful, and set a result limit; add a publication range or region only when you need those options.
  2. Before running the example, replace $SOCQ_API_KEY with your own API key or set that environment variable. Send the JSON input to POST /v1/tiktok/top-search with the Authorization header shown below, then save the task_id from the response.
  3. Use GET /v1/tasks/{task_id} with the saved ID to check progress. queued means waiting, running means collection is in progress, and retrying means another attempt is underway. Wait for succeeded before reading the results; if the task is failed, read error_message for the reason.
  4. When the task succeeds, read data.results.items: each item in this list describes one video or photo-carousel post. An empty list means the task completed without returning any records.
  5. If data.results.has_more is true, the next_cursor value is the marker for another page of saved results. Copy it unchanged into the cursor parameter of GET /v1/tasks/{task_id}?cursor=... and continue until has_more is false.
curl -X POST "https://api.socq.ai/v1/tiktok/top-search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"coffee","sort_by":"relevance","results_limit":20}'

Best Use Cases

  • Build a topic-based content collection: Search a subject such as coffee, then save captions, creator handles, links and content types into a review table containing both video and image-post examples.
  • Compare interaction counts across the returned posts: Combine the available likes, comments and shares with each post’s format and publication time to prepare a comparison sheet, keeping the query and filters so you know how the examples were selected.

Pro Tips

  • When displaying a result, inspect type and media first: photo_carousel means an image post and should use an image gallery rather than a video player.
  • When collecting several keywords, use the post ID to deduplicate repeated matches and keep the keyword associated with each collection so the same post is not counted several times by accident.
  • If your workflow only accepts videos, use TikTok Search; if you need both videos and image posts, keep Top Search and handle both formats in your display.
  • When a photo result has no duration or playback count, leave that measurement empty instead of interpreting it as a zero-second video or an unviewed post.

Use these APIs when you need a different type of public TikTok data.

  • TikTok Profiles API — Retrieve public profile identity, biographies, account flags, and audience counts by username.
  • TikTok Hashtags API — Collect public videos, creators, media, sound, and engagement for specified hashtags.
  • TikTok Comments API — Collect public top-level comments, authors, engagement, mentions, and creator interaction flags.
  • TikTok Videos API — Retrieve creator, caption, media, music, tags, mentions, and engagement from video URLs.
  • TikTok Search API — Search public videos by keyword with supported sorting and publication filters.
  • TikTok Comment Replies API — Collect public replies for a known comment using its TikTok video URL and comment ID, with authors, engagement, timestamps, and parent context.
  • TikTok Followers List API — Collect normalized profiles visible in public follower lists, with retained source context and supported metrics.
  • TikTok Following List API — Collect public profiles followed by TikTok accounts with normalized identity, biographies, visible metrics, and source-account context.
  • TikTok User Videos API — Collect public profile-feed videos by username with captions, creators, media, timestamps, engagement, and source-account context.
  • TikTok Live Room Info API — Look up one known live room by paired room and owner IDs, returning status, owner context, cover media, and audience counts.
  • TikTok Trending Feed API — Collect the current public video feed for a region with creator, caption, cover, timestamp, and visible engagement fields.
  • TikTok Video Transcript API — Extract available transcript text, language, format, and source context from public video URLs.
  • TikTok Search Users API — Search public TikTok accounts by keyword.
  • TikTok Song API — Retrieve public sound metadata by clip ID or music URL.
  • TikTok Song Videos API — Collect public videos using specified sound IDs.
  • TikTok Popular Songs API — Get the TikTok App Top 50 or Viral 50 songs chart, with track names, artists, sound IDs and available video counts.
  • TikTok User Live API — Check usernames for live or offline status and available live-room details.

Explore other platforms

Combine TikTok data with public data from other supported social platforms.

TikTok Top Search API — FAQ