tiktok/
search

Use the TikTok Search API to search public TikTok videos by keyword with relevance, date, likes, and publication-window filters, returning normalized creator, content, media, and engagement records.

TikTok Search API

Keyword discovery
Research samples
Time windows
0.7 credits / result
Ready
Ready

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

README

TikTok Search

TikTok Search results are public videos matched to a keyword or phrase, with creator details, captions, media, publication context, and visible engagement. These records support topic discovery, trend research, competitor monitoring, and content opportunity analysis.

TikTok Search API Features

  • Keyword video discoveryTurn a topic, brand, product, or event keyword into a candidate video set.
  • Relevance and recency sortingSwitch between relevance, date, and likes for topical, recent, or high-like perspectives.
  • Publication windowsShape the research period with day, week, month, three_months, or six_months.
  • Content and creator fieldsReturn video, creator, engagement, hashtag, and music fields in a consistent search result structure.
  • Traceable search snapshotsRecord every search experiment through search_query and collected_at.

TikTok Search API Parameters

ParametersRequiredDescription
queryRequiredRequired non-empty keyword query for public TikTok video discovery.
results_limitOptionalPositive requested video result limit. Defaults to 100.
sort_byOptionalResult ordering: relevance, date, or likes. Defaults to relevance.
published_withinOptionalOptional publication window: day, week, month, three_months, or six_months.

How to Use the TikTok Search API

Before calling the TikTok Search API, define the research question, then choose the keyword, ranking goal, and publication window.

  1. Turn the research topic into a specific query and choose results_limit, sort_by, and published_within.
  2. POST the request to /v1/tiktok/search and save the returned task_id.
  3. Poll /v1/tasks/{task_id} until the task reaches succeeded or failed.
  4. Read data.results.items. When has_more is true, continue with next_cursor.
curl -X POST "https://api.socq.ai/v1/tiktok/search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"space exploration","results_limit":100,"sort_by":"relevance","published_within":"month"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

TikTok Search API Use Cases

  • Market and category scans: Use product, category, and use-case terms to map the TikTok content landscape and creator sample.
  • Event momentum tracking: Combine date with a day or week window to follow recent content around launches, events, and news moments.
  • High-like creative research: Order by likes and study recurring hooks, captions, music choices, and hashtag combinations.
  • Brand mention monitoring: Run brand and product queries on a schedule and save snapshots for content and communications teams.

TikTok Search API Pro Tips

  • Split a broad topic into brand, need, occasion, and trend queries, then merge the resulting video sets.
  • Choose relevance to map a topic, date to track new publishing, and likes to study popular creative patterns.
  • Use published_within to keep samples on a consistent time scale, such as week for recurring reports.
  • Store query, sort_by, published_within, and collected_at together so the search can be reproduced.
  • Deduplicate across queries by video id and retain every search_query that matched the video.
  • Repeat core queries on a schedule to compare shifts in creators, themes, and engagement.

Beyond the TikTok Search API, 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 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 Search Users API — Search public TikTok accounts by keyword.

Explore other platforms

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

TikTok Search API — FAQ

TikTok Search API finds publicly accessible videos from a keyword or phrase. It returns normalized video, creator, caption, media, publication, and engagement data with supported sorting and time filters.

query is a required non-empty keyword or phrase, such as a brand, product, campaign, person, or research topic.

relevance organizes results by topic relevance, date emphasizes recent publishing, and likes emphasizes public like performance. relevance is the default.

published_within accepts day, week, month, three_months, and six_months for videos published in the corresponding recent period.

results_limit sets the requested video result cap, must be a positive integer, and defaults to 100.

Results include video ID, canonical URL, caption, language, publication time, creator, public engagement, hashtags, mentions, media, and music data.

search_query records the term that produced the result, while collected_at records the collection time for traceable search snapshots.

The TikTok Search API charges 0.7 credits for each returned video result.

By SocQ · Updated

From the official TikTok API documentation:

“Qualified researchers in the U.S., Europe, Canada, and Brazil can apply to study public data about TikTok content and accounts.”
TikTok for Developers: Research API · accessed November 2026