TikTok Video API Documentation

GET   /api/v1/search?engine=tiktok_video

The TikTok Video API returns structured data for a single TikTok video, photo, or carousel from its URL. You get caption, likes, comments, shares, thumbnail, author's details and more.

API Parameters

Search Query

  • Name
    url
    Required
    Optional
    Description

    Parameter defines the TikTok video (or photo or carousel) you want to retrieve. Pass the full URL, for example https://www.tiktok.com/@spidermanmovie/video/7670979152308079885. Photo URLs (/photo/) and short vm.tiktok.com / vt.tiktok.com / tiktok.com/t/ links are also accepted, except short links pointing to photo posts; pass the full /photo/ URL for those.

    Required if video_id and username are not provided.

  • Name
    video_id
    Required
    Optional
    Description

    Parameter defines the unique identifier of a TikTok video, photo or carousel. Use it together with username as an alternative to url.

  • Name
    username
    Required
    Optional
    Description

    Parameter defines the TikTok creator's username (with or without the @ symbol). Use it together with video_id as an alternative to url. TikTok resolves the post by its video_id: if the username doesn't match the video's owner, TikTok redirects and the actual owner's video is returned.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to tiktok_video.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=tiktok_video&url=https%3A%2F%2Fwww.tiktok.com%2F%40zachking%2Fvideo%2F7652362186873916686
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_video",
  "url": "https://www.tiktok.com/@zachking/video/7652362186873916686"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_8qWVwGvboYPYTD8dgmDQJaN4",
    "status": "Success",
    "created_at": "2026-08-20T18:47:26Z",
    "request_time_taken": 1.5,
    "parsing_time_taken": 0.26,
    "total_time_taken": 1.76,
    "request_url": "https://www.tiktok.com/@zachking/video/7652362186873916686",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_8qWVwGvboYPYTD8dgmDQJaN4.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_8qWVwGvboYPYTD8dgmDQJaN4"
  },
  "search_parameters": {
    "engine": "tiktok_video",
    "url": "https://www.tiktok.com/@zachking/video/7652362186873916686"
  },
  "video": {
    "id": "7652362186873916686",
    "link": "https://www.tiktok.com/@zachking/video/7652362186873916686",
    "type": "video",
    "caption": "I was so proud of how this one came together, props to the stunts team. And shoutout to the best iced coffee we had on set! #behindthescenes @NESCAFÉ #NescaféICEDHacks ",
    "language": "en",
    "hashtags": [
      "behindthescenes",
      "nescaféicedhacks"
    ],
    "mentions": [
      "nescafe"
    ],
    "iso_date": "2026-06-17T13:54:23Z",
    "duration": 27,
    "width": 720,
    "height": 1280,
    "is_duet_enabled": true,
    "is_stitch_enabled": true,
    "views": 12400000,
    "likes": 624600,
    "comments": 2617,
    "shares": 4569,
    "saves": 26254,
    "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/oooMSEJIDgLcqBpjgEfwA9CiZFkqCqDERveRGy~tplv-tiktokx-origin.image?dr=9636&x-expires=1787421600&x-signature=WKUgaupTVElG4I19Af8h7wJdBCQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5",
    "dynamic_thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/oEQEgpZxIkvESvMBjyFDfDeRcJAFCxqghvtqIq~tplv-tiktokx-origin.image?dr=9636&x-expires=1787421600&x-signature=%2BwHb%2BOU1rMolpR3EkOLKRZpV3Z4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast5",
    "video_meta": {
      "definition": "720p",
      "ratio": "720p",
      "format": "mp4",
      "codec_type": "h264",
      "size": 5675797,
      "bitrate": 1622409,
      "bitrates": [
        {
          "gear_name": "normal_720_0",
          "bitrate": 1622409,
          "fps": 23,
          "codec_type": "h264",
          "format": "mp4"
        },
        {
          "gear_name": "adapt_lowest_1080_1",
          "bitrate": 1056551,
          "fps": 23,
          "codec_type": "h265_hvc1",
          "format": "mp4"
        }
      ]
    },
    "music": {
      "id": "7652362380299881229",
      "title": "original sound",
      "author": "Zach King",
      "cover": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/smgf5f369c884044a8df770614bbfd64717~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=2d9bd129&x-expires=1787421600&x-signature=dH5yE5nywaVMQ%2BQev5wKHxgI6PQ%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "duration": 28,
      "play_url": "https://v16m.tiktokcdn-us.com/e35b87056903ee0f91f867c2878738af/6a87a03b/video/tos/useast5/tos-useast5-v-27dcd7-tx/o8EUyFq9qBAsD1DFEfudASAgEppGTMfRxAcCJx/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=GSDrKInz7Th9zrYGXq8Zmo&mime_type=audio_mpeg&rc=amZxa3k5cjdkOzMzZzU8NEBpamZxa3k5cjdkOzMzZzU8NEA2MGpyMmRjYm1hLS1kMS9zYSM2MGpyMmRjYm1hLS1kMS9zcw%3D%3D&vvpl=1&l=20260820184727E1F0B2B43A745E192825&btag=e00078000",
      "is_original": true,
      "link": "https://www.tiktok.com/music/original-sound-7652362380299881229"
    },
    "subtitles": [
      {
        "language": "eng-US",
        "format": "webvtt",
        "source": "ASR",
        "url": "https://v16m-webapp.tiktokcdn-us.com/f5679f6593d32927e9ba4b75c5e8f0bd/6a89eedb/video/tos/useast5/tos-useast5-v-0068-tx/f8a077f0c54c4b5f8c7b35f0c1d2fd88/?a=1988&bti=ODszNWYuMDE6&&bt=6537&ft=4KLMeMzm8Zmo0OZ-Ka4jVsCDdpWrKsd.&mime_type=video_mp4&rc=M2szOHE5cjVkOzMzZzczNEBpM2szOHE5cjVkOzMzZzczNEBzbV5tMmRjYm1hLS1kMS9zYSNzbV5tMmRjYm1hLS1kMS9zcw%3D%3D&l=20260820184727E1F0B2B43A745E192825&btag=e00078000",
        "url_expires_at": "2026-08-22T18:47:55Z"
      }
    ]
  },
  "author": {
    "id": "68616495085350913",
    "username": "zachking",
    "name": "Zach King",
    "bio": "Bringing a little more wonder into the world, 15 seconds at a time",
    "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/smgf5f369c884044a8df770614bbfd64717~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=d88cb433&x-expires=1787421600&x-signature=VCU0rokPljW0%2BBjqVf70tNMOqu0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
    "is_verified": true,
    "followers": 86800000,
    "following": 180,
    "hearts": 1300000000,
    "posts": 613
  }
}
Photo Carousel
GET
https://www.searchapi.io/api/v1/search?engine=tiktok_video&url=https%3A%2F%2Fwww.tiktok.com%2F%40nomadcentraka%2Fphoto%2F7571216638826122514
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "tiktok_video",
  "url": "https://www.tiktok.com/@nomadcentraka/photo/7571216638826122514"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_Y80BKjxagxvjcbPX35nMQeWO",
    "status": "Success",
    "created_at": "2026-08-13T12:20:08Z",
    "request_time_taken": 1.64,
    "parsing_time_taken": 0.03,
    "total_time_taken": 1.66,
    "request_url": "https://www.tiktok.com/@nomadcentraka/video/7571216638826122514",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcbPX35nMQeWO.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcbPX35nMQeWO"
  },
  "search_parameters": {
    "engine": "tiktok_video",
    "url": "https://www.tiktok.com/@nomadcentraka/photo/7571216638826122514"
  },
  "video": {
    "id": "7571216638826122514",
    "link": "https://www.tiktok.com/@nomadcentraka/photo/7571216638826122514",
    "type": "carousel",
    "title": "Hola, soy Katherine! Un poco sobre mi",
    "caption": "Hace unos años decidí dejar la rutina y construir una vida nómada, donde el trabajo remoto y los viajes pudieran coexistir. No fue fácil: empecé con miedo, usando mis ahorros y una mochila llena de sueños. Pero ese salto cambió todo. Hoy vivo viajando, aprendiendo y compartiendo lo que me ayudó a llegar hasta acá: tips de viajes, inspiración y una dosis de realidad sobre cómo es vivir viajando. Si soñás con viajar y no sabés cómo, querés trabajar remoto o simplemente te inspira este estilo de vida… ¡seamos amigxs! 💛 #nicaragua #travel #viajes #nomad #travelcreator ",
    "language": "es",
    "hashtags": [
      "nicaragua",
      ...
    ],
    "iso_date": "2025-11-10T21:47:35Z",
    "views": 5904,
    "likes": 242,
    "comments": 12,
    "shares": 10,
    "saves": 15,
    "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-i-photomode-sg/46245eeb78f3463e99f9cab9a5ef21d6~tplv-photomode-image.jpeg?dr=9616&x-expires=1786795200&x-signature=if7BkJJ8MidVQMsZPLZoUkA3GyE%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast5&ftpl=1",
    "carousel_items": [
      {
        "position": 1,
        "image": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-i-photomode-sg/46245eeb78f3463e99f9cab9a5ef21d6~tplv-photomode-image.jpeg?dr=9616&x-expires=1786795200&x-signature=if7BkJJ8MidVQMsZPLZoUkA3GyE%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast5&ftpl=1",
        "width": 2160,
        "height": 2700
      },
      ...
    ],
    "music": {
      "id": "7517896116034472734",
      "title": "sonido original",
      "author": "iMUSIC",
      "cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/b2f77dbd3046a34e2f01c6ab6343376d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=bc941bca&x-expires=1786795200&x-signature=q63%2B91TTmYk9Z4txi1vQE9RQUdU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
      "duration": 44,
      "play_url": "https://v19.tiktokcdn-us.com/6bf6132fefcf39abb9f54c2be735f017/6a7e0b06/video/tos/useast8/tos-useast8-v-27dcd7-tx2/okAAnEAnU70Ba097YFibAiKKEisBIAdqgEfBHn/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=GSDrKInz7ThYt27GXq8Zmo&mime_type=audio_mpeg&rc=MzozOXU5cm1oNDMzaTU8NEBpMzozOXU5cm1oNDMzaTU8NEBhYzExMmRzcV5hLS1kMTJzYSNhYzExMmRzcV5hLS1kMTJzcw%3D%3D&vvpl=1&l=202608131220091F484FD504EC9B1893FD&btag=e00048000",
      "is_original": true,
      "is_copyrighted": true,
      "link": "https://www.tiktok.com/music/sonido-original-7517896116034472734"
    }
  },
  "author": {
    "id": "7456490848043713541",
    "username": "nomadcentraka",
    "name": "nomadcentraka",
    "bio": "No soy de aquí ni soy de allá 📍🇪🇸\nInspirando a tomar riesgos y viajar más ◡̈\nTips y experiencias como nómada & travel creator\nDescuentos y guías aquí👇🏼",
    "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/6fa3edd6a62b435292455a545c4e3058~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=ae90a418&x-expires=1786795200&x-signature=ZK9HCMbKbCyNtxypMD1Ph0hIS2c%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
    "followers": 7687,
    "following": 116,
    "hearts": 769700,
    "posts": 249
  }
}