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.

ParameterDescription
queryrequiredWhat to search for.
dateoptionalOnly videos posted within: day, week, month, 3months, 6months. Omit for all time.
sortoptionalrelevance (default), likes (most liked first), or newest (latest first). Combines with date.
cursoroptionalPage cursor. Omit (or 0) for the first page; pass the next_cursor from the previous response. Keep the same filters when paging.
formatoptionalOmit 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