API ReferenceTikTok Search API

TikTok Search API

The TikTok Search API allows you to search for TikTok videos by keyword or phrase, returning detailed information about matching videos including metadata, author information, statistics, and video URLs.

Endpoint

https://api.socialkit.dev/tiktok/search

Example Request

GET https://api.socialkit.dev/tiktok/search?access_key=<your-access-key>&query=funny%20cats

Response

{
  "success": true,
  "data": {
    "query": "funny cats",
    "results": [
      {
        "id": "7580072621367102743",
        "desc": "Funniest cat moment ever | Try not to laugh | Cat funny video for kids | Cat funny video compilation #fyp #foryoupage #funnyvideos #trendingcats #cutecats ",
        "createTime": 1764873191,
        "textLanguage": "en",
        "url": "https://www.tiktok.com/@funny_cats_for_kids/video/7580072621367102743",
        "author": {
          "id": "7378760219276870688",
          "uniqueId": "funny_cats_for_kids",
          "nickname": "Funny Cat😹😂",
          "avatar": "https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/145d7ef18fbede9dd542a928f4a7cd7f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=5c08075d&x-expires=1768590000&x-signature=O2lpzEcoYV9MuY329BKu3lErJA8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=maliva",
          "verified": false
        },
        "stats": {
          "views": 12700000,
          "likes": 109300,
          "comments": 20000,
          "shares": 16200,
          "saves": 20800
        },
        "video": {
          "duration": 92,
          "cover": "https://p16-pu-sign-no.tiktokcdn-eu.com/tos-no1a-p-0037-no/osINTRBpFMjpJFZzkWBDegAEkNFfAPYIKQt9Ed~tplv-tiktokx-origin.image?dr=14575&x-expires=1768590000&x-signature=1asEncsUgM7dd3rOypC3EDdaEFM%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=maliva",
          "playAddr": "https://v16-webapp-prime.tiktok.com/video/tos/no1a/tos-no1a-ve-0068c001-no/owmYADJIrHFdF5PfEgkxekpA1MRMMACaEElBQD/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C&cv=1&br=1236&bt=618&cs=0&ds=2&ft=-Csk_mcRPD12NQYpzd-Ux8V5aYKt3wv25UcAp&mime_type=video_mp4&qs=0&rc=OWQ3Z2c6NGdlZjY5Nmk7OUBpajluOmw5cm13NzMzbzczNUAxNjVhMjBeXy4xYzE1XjY2YSNpbWgzMmRzMWxhLS1kMTFzcw%3D%3D&btag=e00090000&expire=1768592494&l=20260115034001B5C4D6FED95558264FA2&ply_type=2&policy=2&signature=a1e730c4e8683076fc699538de96c4c2&tk=tt_chain_token"
        },
        "music": {
          "id": "7580072625737599766",
          "title": "original sound",
          "author": "Funny Cat😹😂"
        }
        "subtitleInfos": [
          {
            "languageCodeName": "spa-ES",
            "source": "ASR"
          },
          {
            "languageCodeName": "eng-US",
            "source": "MT"
          }
        ],
      }
    ]
  }
}

Parameters

query string Required
The search query to find TikTok videos. Can include keywords, hashtags, or phrases.


access_key string Required
Your API access key. Can be provided via the access_key query parameter, x-access-key header, or request body.


limit number Optional Defaults to 10
Number of search results to return. Maximum value may vary based on TikTok’s availability.


cache boolean Optional Defaults to false
Cache the response for faster subsequent requests.


cache_ttl number Optional Defaults to 2592000
Cache the response for a custom TTL (in seconds). Maximum 2592000 seconds (1 month), minimum 3600 seconds (1 hour).

Response Structure

Search Results

Each result in the results array contains:

Basic Information

  • id: Unique video identifier
  • desc: Video description/caption including hashtags
  • createTime: Unix timestamp of when the video was created
  • textLanguage: Language code of the video text (e.g., “en” for English)
  • url: Direct URL to the TikTok video

Author Information (author object)

  • id: Author’s unique identifier
  • uniqueId: Author’s username/handle
  • nickname: Author’s display name
  • avatar: URL to author’s profile picture
  • verified: Whether the author is verified

Statistics (stats object)

  • views: Number of video views
  • likes: Number of likes
  • comments: Number of comments
  • shares: Number of shares
  • saves: Number of times the video was saved/bookmarked

Video Information (video object)

  • duration: Video duration in seconds
  • cover: URL to the video thumbnail/cover image
  • playAddr: Direct URL to play the video

Music Information (music object)

  • id: Music track identifier
  • title: Music track title
  • author: Music track author/creator

Use Cases

  • Content Discovery: Find trending videos by topic or hashtag
  • Market Research: Analyze content trends and popular themes
  • Competitor Analysis: Monitor competitor content and engagement
  • Influencer Research: Discover creators in specific niches
  • Trend Analysis: Track viral content and emerging trends
  • Content Curation: Build collections of videos around specific topics
  • Campaign Research: Find successful content strategies for marketing campaigns
  • Social Listening: Monitor brand mentions and user-generated content