Unofficial TikTok Video Search API
GET/api/v1/search_videos· paginated
Search videos (one page per call, cursor-paginated). Filter by date and sort by likes or newest.
| Parameter | Description | |
|---|---|---|
query | required | What to search for. |
date | optional | Only videos posted within: day, week, month, 3months, 6months. Omit for all time. |
sort | optional | relevance (default), likes (most liked first), or newest (latest first). Combines with date. |
cursor | optional | Page cursor. Omit (or 0) for the first page; pass the next_cursor from the previous response. Keep the same filters when paging. |
format | optional | Omit for raw video objects (default). clean for a trimmed subset (id, desc, stats, music, urls). |
Returns
query, next_cursor, has_more, count, and a results array of aweme (video) objects — raw by default, trimmed with format=clean.
Example Request
https://dev.omar-thing.site/api/v1/search_videos?query=messi%20goal&date=week&sort=likes&cursor=0&format=clean&key=YOUR_API_KEY
Example Response
{
"data": {
"count": 15,
"has_more": true,
"next_cursor": "15",
"query": "messi goal",
"results": [
{
"...": "more (format=clean shown; raw aweme by default)",
"desc": "Best Messi solo goals ☠️",
"id": "76...",
"music": {
"title": "original sound"
},
"no_watermark": "https://...",
"stats": {
"comments": 1029,
"likes": 98639,
"views": 659441
}
}
]
},
"status": "success"
}Sends a live request using your API key above.
More Search endpoints
- Unofficial TikTok User Search API — Search users/accounts (one page per call, cursor-paginated). Filter by
followers,verifiedaccounts, ormatchusernames only. - Unofficial TikTok Photo Search API — Search photo/slideshow posts (one page per call, cursor-paginated).
- Unofficial TikTok Hashtag Search API — Search hashtags (one page per call, cursor-paginated).
- Unofficial TikTok Place Search API — Search places/POIs (venues, landmarks, restaurants). Results are localized to the
countryyou pass (ISO-2). One page per call, cursor-paginated. - Unofficial TikTok Music Search API — Search sounds/music (one page per call, cursor-paginated).
- Unofficial TikTok Search Suggestions API — Search autocomplete — the suggestions shown while you type.
- Unofficial TikTok Related Searches API — Related search terms suggested under a video ("others searched for"). Add
queryto steer them toward a topic.