Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TikTok Video Detail

API 文件
https://api.sandbase.ai/v1/api/tiktok/web/post-detail

Returns detailed data for a single TikTok video using its item ID. Supports filtering by region code to view localized post content.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Video id
Region code, optional; affects content region, e.g. US/GB/JP/ID, default US.
輸出範例
回應outputs · 21.8 KB · 365 行
[
  {
    "data": {
      "extra": {
        "fatal_item_ids": [],
        "logid": "20261001065823D48EB7F4EB424B7544C4",
        "now": 1790837904000
      },
      "itemInfo": {
        "itemStruct": {
          "AIGCDescription": "",
          "CategoryType": 120,
          "IsHDBitrate": false,
          "ShowAIGC": true,
          "author": {
            "UserStoryStatus": 0,
            "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=4e18ab43&x-expires=1791007200&x-signature=09eMsaAaPrWr9eWz6eIJFzI2ezI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=f240041b&x-expires=1791007200&x-signature=Hff83HaMsz93ernaSwt5PaLYzHM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=7684ec59&x-expires=1791007200&x-signature=AtDOezlxQEbEWMG%2Bmvb%2BaQ4Jp%2FU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "commentSetting": 0,
            "downloadSetting": 0,
            "duetSetting": 0,
            "ftc": false,
            "id": "7206370018739618858",
            "isADVirtual": false,
            "isEmbedBanned": false,
            "nickname": "Owl City",
            "openFavorite": false,
            "privateAccount": false,
            "relation": 0,
            "secUid": "MS4wLjABAAAAzfvUUlMzH7MO4_sgTZm04q93Uo_97Ho15H1VSjDzaKk8j1RSNCbQ2zWPYz_O39Ee",
            "secret": false,
            "shortDramaCreator": {},
            "signature": "New music out now!\n\nOwlcitymusic.com",
            "stitchSetting": 0,
            "uniqueId": "owlcitymusic",
            "verified": false
          },
          "authorStats": {
            "diggCount": 1,
            "followerCount": 23300,
            "followingCount": 0,
            "friendCount": 0,
            "heart": 74700,
            "heartCount": 74700,
            "videoCount": 77
          },
          "authorStatsV2": {
            "diggCount": "1",
            "followerCount": "23300",
            "followingCount": "0",
            "friendCount": "0",
            "heart": "74700",
            "heartCount": "74700",
            "videoCount": "77"
          },
          "backendSourceEventTracking": "",
          "challenges": [
            {
              "coverLarger": "",
              "coverMedium": "",
              "coverThumb": "",
              "desc": "",
              "id": "39276392",
              "profileLarger": "",
              "profileMedium": "",
              "profileThumb": "",
              "title": "cocomoon"
            },
            {
              "coverLarger": "",
              "coverMedium": "",
              "coverThumb": "",
              "desc": "",
              "id": "571",
              "profileLarger": "",
              "profileMedium": "",
              "profileThumb": "",
              "title": "owlcity"
            }
          ],
          "collected": false,
          "contents": [
            {
              "desc": "Vegas - see you this fall!"
            },
            {
              "desc": ""
            },
            {
              "desc": "#cocomoon #owlcity ",
              "textExtra": [
                {
                  "awemeId": "",
                  "end": 9,
                  "hashtagId": "39276392",
                  "hashtagName": "cocomoon",
                  "isCommerce": false,
                  "start": 0,
                  "subType": 0,
                  "type": 1
                },
                {
                  "awemeId": "",
                  "end": 18,
                  "hashtagId": "571",
                  "hashtagName": "owlcity",
                  "isCommerce": false,
                  "start": 10,
                  "subType": 0,
                  "type": 1
                }
              ]
            }
          ],
          "createTime": 1680733358,
          "creatorAIComment": {
            "eligibleVideo": false,
            "hasAITopic": false,
            "notEligibleReason": 101
          },
          "desc": "Vegas - see you this fall! #cocomoon #owlcity ",
          "digged": false,
          "duetDisplay": 0,
          "duetEnabled": true,
          "forFriend": false,
          "id": "7218694761253735723",
          "isAd": false,
          "isProhibited": false,
          "isReviewing": false,
          "itemCommentStatus": 0,
          "item_control": {
            "can_repost": true
          },
          "music": {
            "authorName": "Owl City",
            "coverLarge": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=4e18ab43&x-expires=1791007200&x-signature=09eMsaAaPrWr9eWz6eIJFzI2ezI%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "coverMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=f240041b&x-expires=1791007200&x-signature=Hff83HaMsz93ernaSwt5PaLYzHM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "coverThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/3eac9753f7ca02443288eb5ce741ec26~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=7684ec59&x-expires=1791007200&x-signature=AtDOezlxQEbEWMG%2Bmvb%2BaQ4Jp%2FU%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
            "duration": 10,
            "id": "7218694771441699626",
            "isCopyrighted": true,
            "is_commerce_music": true,
            "is_unlimited_music": false,
            "original": true,
            "playUrl": "https://v16m.tiktokcdn-us.com/3d9fac51b60d53a1c3ec910a49592a5e/6abe58fa/video/tos/useast5/tos-useast5-v-27dcd7-tx/5fe593dfac654e0fa9d69ce64ceb47dc/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=GSDrKInz7Th4Mu4GXq8Zmo&mime_type=audio_mpeg&rc=M3g8cDw6ZmV5ajMzZzU8NEBpM3g8cDw6ZmV5ajMzZzU8NEBzL15rcjRvNmpgLS1kMS9zYSNzL15rcjRvNmpgLS1kMS9zcw%3D%3D&vvpl=1&l=20261001065823D48EB7F4EB424B7544C4&btag=e00070000",
            "private": false,
            "shoot_duration": 10,
            "title": "original sound",
            "tt2dsp": {
              "tt_to_dsp_song_infos": [
                {
                  "meta_song_id": "6809376905691662338",
                  "platform": 1,
                  "song_id": "1893143058",
                  "token": {
                    "apple_music_token": {
                      "developer_token": "eyJhbGciOiJFUzI1NiIsImtpZCI6Ikc2Q0dLMjdWQzMifQ.eyJleHAiOjE3OTA5MDMyNDgsImlhdCI6MTc5MDY0NDA0OCwiaXNzIjoiTUo3OTdEOFU2RiJ9.rJHb1Y7g0xI-tqwu3TXFD7OUM-mb18PWymGK3jlW9gwP9nAg2jvHSJE76TZjKxk-BtIVOMB3aLe_3_wQOTmBdA"
                    }
                  }
                },
                {
                  "meta_song_id": "6809376905691662338",
                  "platform": 3,
                  "song_id": "12GZ2iKKwKk69Z9QisQ0hq"
                }
              ]
            }
          },
          "officalItem": false,
          "originalItem": false,
          "penaltyContext": {
            "display_penalty_type": 0,
            "display_policy": 0,
            "display_ui_type": 0,
            "reviewed": 0,
            "status": 102,
            "tns_status": 102,
            "video_status": 10
          },
          "privateItem": false,
          "secret": false,
          "shareEnabled": true,
          "stats": {
            "collectCount": 27,
            "commentCount": 13,
            "diggCount": 508,
            "playCount": 11700,
            "shareCount": 2
          },
          "statsV2": {
            "collectCount": "27",
            "commentCount": "13",
            "diggCount": "508",
            "playCount": "11700",
            "repostCount": "0",
            "shareCount": "2"
          },
          "stitchDisplay": 0,
          "stitchEnabled": true,
          "textExtra": [
            {
              "awemeId": "",
              "end": 36,
              "hashtagId": "39276392",
              "hashtagName": "cocomoon",
              "isCommerce": false,
              "start": 27,
              "subType": 0,
              "type": 1
            },
            {
              "awemeId": "",
              "end": 45,
              "hashtagId": "571",
              "hashtagName": "owlcity",
              "isCommerce": false,
              "start": 37,
              "subType": 0,
              "type": 1
            }
          ],
          "textLanguage": "en",
          "textTranslatable": true,
          "video": {
            "PlayAddrStruct": {
              "DataSize": 1103916,
              "FileCs": "c:0-9771-4fc4",
              "FileHash": "0029dd893522012ceb1bdea52b161181",
              "Height": 1280,
              "Uri": "v12044gd0000cgmv91bc77ucnbv27rr0",
              "UrlKey": "v12044gd0000cgmv91bc77ucnbv27rr0_h264_720p_878476",
              "UrlList": [
                "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=9d9dafd8493043158742a6e7924ce571&is_play_url=1&item_id=7218694761253735723&line=0&ply_type=2&pt=YXdlbWUud2ViLndlYmFwaSYvYXBpL2l0ZW0vZGV0YWlsLyYyMDI2MTAwMTA2NTgyM0Q0OEVCN0Y0RUI0MjRCNzU0NEM0JjE3OTA4Mzc5MDQmYTQ3NGNlOGQ3NDc0&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjg3NWUyMTI1ZWI3NWE2YzQ4OTVlNWJmOTMwMDVjZmRj&tk=tt_chain_token&video_id=v12044gd0000cgmv91bc77ucnbv27rr0",
                "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-pve-0068-tx/ow6fIHoySgnHAxAFQJxICzfbsk8ojW3DeCg6bG/?a=1988&bti=ODszNWYuMDE6&&bt=857&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=NDhmNTo5NTo4NjM8O2lnZ0BpM3U1ZWY6ZjR5ajMzZzczNEA0YjE2Yl4xNS4xMDFhXjY2YSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=d24e4b1837262b43e95dcc06d84940f0&tk=tt_chain_token&btag=e000f0000",
                "https://v19-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-pve-0068-tx/ow6fIHoySgnHAxAFQJxICzfbsk8ojW3DeCg6bG/?a=1988&bti=ODszNWYuMDE6&&bt=857&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=NDhmNTo5NTo4NjM8O2lnZ0BpM3U1ZWY6ZjR5ajMzZzczNEA0YjE2Yl4xNS4xMDFhXjY2YSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=d24e4b1837262b43e95dcc06d84940f0&tk=tt_chain_token&btag=e000f0000"
              ],
              "Width": 720
            },
            "VQScore": "50.23",
            "bitrate": 878476,
            "bitrateInfo": [
              {
                "Bitrate": 878476,
                "BitrateFPS": 29,
                "CodecType": "h264",
                "Format": "mp4",
                "GearName": "normal_720_0",
                "MVMAF": "",
                "PlayAddr": {
                  "DataSize": 1103916,
                  "FileCs": "c:0-9771-4fc4",
                  "FileHash": "0029dd893522012ceb1bdea52b161181",
                  "Height": 1280,
                  "Uri": "v12044gd0000cgmv91bc77ucnbv27rr0",
                  "UrlKey": "v12044gd0000cgmv91bc77ucnbv27rr0_h264_720p_878476",
                  "UrlList": [
                    "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=9d9dafd8493043158742a6e7924ce571&is_play_url=1&item_id=7218694761253735723&line=0&ply_type=2&pt=YXdlbWUud2ViLndlYmFwaSYvYXBpL2l0ZW0vZGV0YWlsLyYyMDI2MTAwMTA2NTgyM0Q0OEVCN0Y0RUI0MjRCNzU0NEM0JjE3OTA4Mzc5MDQmYTQ3NGNlOGQ3NDc0&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjg3NWUyMTI1ZWI3NWE2YzQ4OTVlNWJmOTMwMDVjZmRj&tk=tt_chain_token&video_id=v12044gd0000cgmv91bc77ucnbv27rr0",
                    "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-pve-0068-tx/ow6fIHoySgnHAxAFQJxICzfbsk8ojW3DeCg6bG/?a=1988&bti=ODszNWYuMDE6&&bt=857&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=NDhmNTo5NTo4NjM8O2lnZ0BpM3U1ZWY6ZjR5ajMzZzczNEA0YjE2Yl4xNS4xMDFhXjY2YSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=d24e4b1837262b43e95dcc06d84940f0&tk=tt_chain_token&btag=e000f0000",
                    "https://v19-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-pve-0068-tx/ow6fIHoySgnHAxAFQJxICzfbsk8ojW3DeCg6bG/?a=1988&bti=ODszNWYuMDE6&&bt=857&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=NDhmNTo5NTo4NjM8O2lnZ0BpM3U1ZWY6ZjR5ajMzZzczNEA0YjE2Yl4xNS4xMDFhXjY2YSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=d24e4b1837262b43e95dcc06d84940f0&tk=tt_chain_token&btag=e000f0000"
                  ],
                  "Width": 720
                },
                "QualityType": 10,
                "VideoExtra": "{\"PktOffsetMap\":\"\",\"mvmaf\":\"\",\"ufq\":\"\",\"volume_info_json\":\"\",\"transcode_feature_id\":\"46a7bb47b4fd1280f3d3825bf2b29388\",\"dec_info\":\"\",\"gearvqm\":\"\",\"audio_bit_rate\":65044}"
              },
              {
                "Bitrate": 818345,
                "BitrateFPS": 29,
                "CodecType": "h265_hvc1",
                "Format": "mp4",
                "GearName": "adapt_lowest_1080_1",
                "MVMAF": "",
                "PlayAddr": {
                  "DataSize": 1028353,
                  "FileCs": "c:0-9877-ccc3",
                  "FileHash": "ddf3fc99cd347da490e02df58443f4d3",
                  "Height": 1920,
                  "Uri": "v12044gd0000cgmv91bc77ucnbv27rr0",
                  "UrlKey": "v12044gd0000cgmv91bc77ucnbv27rr0_bytevc1_1080p_818345",
                  "UrlList": [
                    "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=6080569852aa42009ae9ebf156be1e3b&is_play_url=1&item_id=7218694761253735723&line=0&ply_type=2&pt=YXdlbWUud2ViLndlYmFwaSYvYXBpL2l0ZW0vZGV0YWlsLyYyMDI2MTAwMTA2NTgyM0Q0OEVCN0Y0RUI0MjRCNzU0NEM0JjE3OTA4Mzc5MDQmYTQ3NGNlOGQ3NDc0&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjc3MDdlMWE4NTQ1ZTRlN2UwODdiYTRhYTA4YTAxZTZi&tk=tt_chain_token&video_id=v12044gd0000cgmv91bc77ucnbv27rr0",
                    "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c003-tx/oI2IMFhE4sujKtpVCvpC9OwIztAJfBP7jAQyvU/?a=1988&bti=ODszNWYuMDE6&&bt=799&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=ZWhoOTRlPGQzNWQ1OzkzM0BpM3U1ZWY6ZjR5ajMzZzczNEAwLl8yY2JiNi0xXjI2MjUzYSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=794c78fb8090a562fd41d78ad8178ec2&tk=tt_chain_token&btag=e000b0000",
                    "https://v19-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-ve-0068c003-tx/oI2IMFhE4sujKtpVCvpC9OwIztAJfBP7jAQyvU/?a=1988&bti=ODszNWYuMDE6&&bt=799&ft=aEeq8qT0mIoPD12MQtMI3wUXqcAbMeF~O5&mime_type=video_mp4&rc=ZWhoOTRlPGQzNWQ1OzkzM0BpM3U1ZWY6ZjR5ajMzZzczNEAwLl8yY2JiNi0xXjI2MjUzYSNvNHNrcjRfNmpgLS1kMS9zcw%3D%3D&expire=1791010714&l=20261001065823D48EB7F4EB424B7544C4&ply_type=2&policy=2&signature=794c78fb8090a562fd41d78ad8178ec2&tk=tt_chain_token&btag=e000b0000"
                  ],
                  "Width": 1080
                },
                "QualityType": 2,
                "VideoExtra": "{\"PktOffsetMap\":\"\",\"mvmaf\":\"\",\"ufq\":\"\",\"volume_info_json\":\"\",\"transcode_feature_id\":\"eb4c918b9cc575f3dbb154e6c6a43e47\",\"dec_info\":\"\",\"gearvqm\":\"\",\"audio_bit_rate\":65044}"
              },
              {
                "Bitrate": 754562,
                "BitrateFPS": 29,
                "CodecType": "h264",
                "Format": "mp4",
                "GearName": "normal_540_0",
                "MVMAF": "",
                "PlayAddr": {
                  "DataSize": 963388,
                  "FileCs": "c:0-9712-394b",

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

TikTok Video Detail API

Returns the full record for one TikTok video: caption, author, stats, music, hashtags and posting settings. It needs the video's itemId, with an optional region code.

Use cases

  • Pull play, like, comment, share and save counts for a single video to log its performance.
  • Read the caption, hashtags and music of a video to study how a trend is built.
  • Check the author's follower and video counts next to a specific post.
  • Compare a video's data across regions by changing region, for example US, GB, JP or ID.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itemId": "7339393672959757570"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
itemIdstringYesVideo id
regionstringNoRegion code, optional; affects content region, e.g. US/GB/JP/ID, default US.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611030744289D1BCEAFB0AA6802D6F7",
    "now": 1793691868000
  },
  "itemInfo": {
    "itemStruct": {
      "AIGCDescription": "",
      "CategoryType": 119,
      "IsHDBitrate": false,
      "ShowAIGC": false,
      "author": {
        "UserStoryStatus": 0,
        "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d7e8c4a3573642d087e4…",
        "avatarMedium": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d7e8c4a3573642d087e4…",
        "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d7e8c4a3573642d087e4…",
        "commentSetting": 0,
        "downloadSetting": 0,
        "duetSetting": 0,
        "ftc": false
      },
      "authorStats": {
        "diggCount": 65500,
        "followerCount": 3900000,
        "followingCount": 552,
        "friendCount": 0,
        "heart": 115000000,
        "heartCount": 115000000,
        "videoCount": 640
      },
      "authorStatsV2": {
        "diggCount": "65500",
        "followerCount": "3900000",
        "followingCount": "552",
        "friendCount": "0",
        "heart": "115000000",
        "heartCount": "115000000",
        "videoCount": "640"
      },
      "backendSourceEventTracking": "",
      "challenges": [
        {
          "coverLarger": "",
          "coverMedium": "",
          "coverThumb": "",
          "desc": "",
          "id": "7066697838675099650",
          "profileLarger": "",
          "profileMedium": "",
          "profileThumb": ""
        }
      ],
      "collected": false,
      "contents": [
        {
          "desc": "Singing that Chinese dance meme song. #科目三 #chinese #cover",
          "textExtra": [
            {
              "awemeId": "",
              "end": 42,
              "hashtagId": "7066697838675099650",
              "hashtagName": "科目三",
              "isCommerce": false,
              "start": 38,
              "subType": 0,
              "type": 1
            }
          ]
        }
      ],
      "createTime": 1708835760
    }
  },
  "log_pb": {
    "impr_id": "202611030744289D1BCEAFB0AA6802D6F7"
  },
  "shareMeta": {
    "desc": "Singing that Chinese dance meme song. #科目三 #chinese #cover",
    "title": "sugar on TikTok"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": ""
}

Response fields

FieldMeaning
itemInfo.itemStruct.idThe video ID. It matches the itemId you sent.
itemInfo.itemStruct.descThe video caption text, including hashtags.
itemInfo.itemStruct.createTimeWhen the video was posted, as a Unix timestamp in seconds.
itemInfo.itemStruct.stats.playCount / diggCount / commentCount / shareCount / collectCountCounts for plays, likes, comments, shares and saves. Large values are rounded.
itemInfo.itemStruct.statsV2.playCount / diggCount / commentCount / shareCount / collectCount / repostCountThe same counts as strings. collectCount here is more exact than in stats.
itemInfo.itemStruct.authorThe author's avatar image URLs and settings such as commentSetting, duetSetting and downloadSetting.
itemInfo.itemStruct.authorStats.followerCount / followingCount / videoCount / heartCountThe author's follower, following, video and total like counts.
itemInfo.itemStruct.music.id / authorName / durationThe sound used in the video: its ID, the name of its author and its length. duration is 32 in this example.
itemInfo.itemStruct.challenges[].id / descThe hashtags on the video. desc is empty for some hashtags.
itemInfo.itemStruct.textExtra[].hashtagName / start / endEach hashtag in the caption and its character position in desc.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.05JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

問題

常見問題

我要如何使用 TikTok Video Detail API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/web/post-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

TikTok Video Detail API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

TikTok Video Detail API 接受哪些參數?

必要:itemId (string)。 選填:region (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok Video Detail API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 TikTok 開發者帳號或 API 金鑰嗎?

不需要。TikTok Video Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。