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.
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.
Parameters
| Parameters | Required | Description |
|---|---|---|
query | Required | Required non-empty keyword query for public TikTok video discovery. |
results_limit | Optional | Positive requested video result limit. Defaults to 100. |
sort_by | Optional | Result ordering: relevance, date, or likes. Defaults to relevance. |
published_within | Optional | Optional publication window: day, week, month, three_months, or six_months. |
How to Use
Define the research question first, then choose the keyword, ranking goal, and publication window.
- Turn the research topic into a specific query and choose results_limit, sort_by, and published_within.
- POST the request to /v1/tiktok/search and save the returned task_id.
- Poll /v1/tasks/{task_id} until the task reaches succeeded or failed.
- 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 trueBest 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.
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.
Related APIs
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.
Combine TikTok data with public data from other supported social platforms.