Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Web Home Feed

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/web/home-feed

Returns recommended video items and metadata from the TikTok web home feed. Supports filtering by target region code and page item count.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Number per page
Region code, optional parameter, affects the region of recommended content, e.g. US/GB/JP/KR/SG, default US.
Đầu raVí dụ
Phản hồioutputs · 24.0 KB · 469 dòng
[
  {
    "data": {
      "cookie": "tt_chain_token=TgVkflJFCkhzSM/FmiHjNw==;",
      "extra": {
        "fatal_item_ids": [],
        "logid": "2026100612392749BBF86F581D5482F7E1",
        "now": 1791290369000
      },
      "hasMore": true,
      "itemList": [
        {
          "AIGCDescription": "",
          "CategoryType": 111,
          "IsHDBitrate": false,
          "ShowAIGC": true,
          "anchors": [
            {
              "description": "CapCut · Video Editor",
              "extraInfo": {
                "subtype": ""
              },
              "icon": {
                "urlList": [
                  "https://p19-common-sign.tiktokcdn-us.com/tiktok-obj/capcut_logo_64px_bk.png~tplv-tiktokx-origin.image?dr=9627&x-expires=1791309600&x-signature=ZFmkGFrKmd9d9aZe2dGZYtHTX80%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast8",
                  "https://p16-common-sign.tiktokcdn-us.com/tiktok-obj/capcut_logo_64px_bk.png~tplv-tiktokx-origin.image?dr=9627&x-expires=1791309600&x-signature=8BTixihppdyA8YZJ0mfSWMPwUNE%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast8",
                  "… 1 more items in the full response"
                ]
              },
              "id": "0",
              "keyword": "CapCut · Editing made easy",
              "logExtra": "{\"anchor_id\":0,\"anchor_name\":\"CapCut · Editing made easy\",\"anchor_title_detail\":\"None\",\"anchor_title_id\":21502485763,\"anchor_type\":\"TT_CAPCUT\",\"anchor_type_level1\":\"tool\",\"anchor_type_level2\":\"tool_universal\",\"capability_key\":\"default\",\"ccep_vip\":0,\"if_race_trigger\":0,\"is_two_line\":0,\"landing_page_s…",
              "schema": "https://www.capcut.com/tools/desktop-video-editor?channel=capcutpc_ttweb_anchor_edit1&download_channel=capcutpc_ttweb_anchor_edit1&enter_from=capcutpc_ttweb_anchor_edit1&force_dp=1&from_page=capcutpc_ttweb_anchor_edit1&type=tools",
              "thumbnail": {
                "height": 64,
                "urlList": [
                  "https://p19-common-sign.tiktokcdn-us.com/tiktok-obj/64x_Capcut3x.png~tplv-tiktokx-origin.image?dr=9627&x-expires=1791309600&x-signature=GhfcMIlUFa9Y02zyW9iU7GHTrbQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast8",
                  "https://p16-common-sign.tiktokcdn-us.com/tiktok-obj/64x_Capcut3x.png~tplv-tiktokx-origin.image?dr=9627&x-expires=1791309600&x-signature=YHk6Z%2Bf8wg6x6FDa9PFGZINs1o4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=useast8",
                  "… 1 more items in the full response"
                ],
                "width": 64
              },
              "type": 54
            }
          ],
          "author": {
            "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=d113a1f3&x-expires=1791460800&x-signature=ut98bgpJCUxXVYhzXZV%2BtTLd%2Fmo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=fdfaf9e2&x-expires=1791460800&x-signature=%2BivFPg20xm8j4q7NEc60fxxIgpw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=2ca42078&x-expires=1791460800&x-signature=P%2FdimqGZYLVhnILU8I0b%2F092ino%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "commentSetting": 0,
            "downloadSetting": 0,
            "duetSetting": 0,
            "ftc": false,
            "id": "7607710948674159632",
            "isADVirtual": false,
            "isEmbedBanned": false,
            "nickname": "Cooking Vibe",
            "openFavorite": false,
            "privateAccount": false,
            "relation": 0,
            "secUid": "MS4wLjABAAAAoOyHIsHVfFstDhdTF9Jr2vSYjhJGvXudakWyiDOqSUjZxzptwOgE6vxXDM0t8hce",
            "secret": false,
            "shortDramaCreator": {},
            "signature": "",
            "stitchSetting": 0,
            "uniqueId": "cookingvibe01",
            "verified": false
          },
          "authorStats": {
            "diggCount": 0,
            "followerCount": 101900,
            "followingCount": 0,
            "friendCount": 0,
            "heart": 2000000,
            "heartCount": 2000000,
            "videoCount": 76
          },
          "authorStatsV2": {
            "diggCount": "0",
            "followerCount": "101900",
            "followingCount": "0",
            "friendCount": "0",
            "heart": "2000000",
            "heartCount": "2000000",
            "videoCount": "76"
          },
          "backendSourceEventTracking": "fyp_35",
          "collected": false,
          "contentContext": {
            "status_tag": "{\"traffic_structure_info\":\"{\\\"slate_group_type\\\":\\\"0\\\"}\"}"
          },
          "contents": [
            {
              "desc": "Cooking stir fried crab and eat recipe"
            }
          ],
          "createTime": 1790911701,
          "desc": "Cooking stir fried crab and eat recipe",
          "digged": false,
          "diversificationId": 10040,
          "duetDisplay": 0,
          "forFriend": false,
          "id": "7691907160216734994",
          "isAd": false,
          "isProhibited": false,
          "isReviewing": false,
          "itemCommentStatus": 0,
          "item_control": {
            "can_repost": true
          },
          "music": {
            "authorName": "Cooking Vibe",
            "coverLarge": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=d113a1f3&x-expires=1791460800&x-signature=ut98bgpJCUxXVYhzXZV%2BtTLd%2Fmo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "coverMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=fdfaf9e2&x-expires=1791460800&x-signature=%2BivFPg20xm8j4q7NEc60fxxIgpw%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "coverThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/d446b72bd58430275907eba4aca74d38~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=2ca42078&x-expires=1791460800&x-signature=P%2FdimqGZYLVhnILU8I0b%2F092ino%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "duration": 400,
            "id": "7691907345098853141",
            "isCopyrighted": false,
            "is_commerce_music": true,
            "is_unlimited_music": false,
            "original": true,
            "playUrl": "https://v16m.tiktokcdn-us.com/4a07bc44b16b9cec4b6336427231c3e7/6ac541f1/video/tos/alisg/tos-alisg-v-27dcd7/occjNkELGxeSQCnnJALAAgmPEFeCqYGgIeAYQf/?a=1233&bti=ODszNWYuMDE6&&bt=125&ft=GSDrKInz7ThlgBnGXq8Zmo&mime_type=audio_mpeg&rc=NjRmNjxmM2Q0OWUzOjlnZkBpMzQ2Z3M5cnNsZDMzODU8NEA0My5iYl9gXl4xLTMvLy8tYSM…",
            "private": false,
            "shoot_duration": 400,
            "title": "original sound - Cooking Vibe",
            "tt2dsp": {}
          },
          "officalItem": false,
          "originalItem": false,
          "penaltyContext": {
            "arb_content_safety_status": 102,
            "display_penalty_type": 0,
            "display_policy": 0,
            "display_ui_type": 0,
            "ec_global_verdict": 1,
            "reviewed": 1,
            "status": 102,
            "tns_status": 102,
            "video_status": 10
          },
          "privateItem": false,
          "secret": false,
          "shareEnabled": true,
          "stats": {
            "collectCount": 73100,
            "commentCount": 14200,
            "diggCount": 1400000,
            "playCount": 28600000,
            "shareCount": 95700
          },
          "statsV2": {
            "collectCount": "73111",
            "commentCount": "14200",
            "diggCount": "1400000",
            "playCount": "28600000",
            "repostCount": "0",
            "shareCount": "95700"
          },
          "stitchDisplay": 0,
          "textLanguage": "en",
          "textTranslatable": true,
          "video": {
            "PlayAddrStruct": {
              "DataSize": 240362441,
              "FileCs": "c:0-327339-548f",
              "FileHash": "b68b3e40dd0d01da3b50dd976bfd2557",
              "Height": 1920,
              "Uri": "v14025g50000davi5jvog65p2pj6sp40",
              "UrlKey": "v14025g50000davi5jvog65p2pj6sp40_h264_1080p_4801271",
              "UrlList": [
                "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oEegkLKtgGVLfmSsSAUZAOf5gekfWIMIlAR6IO/?a=1988&bti=ODszNWYuMDE6&&bt=4688&ft=aEeq8qT0mIoPD12_8V0I3wUuhCAbMeF~O5&mime_type=video_mp4&rc=aTxnaWY0Z2g5O2lmNjg5NUBpM3M5c3M5cm1sZDMzODgzNEAuYDBiMjEwNS0xMzRfXjI1YSMxcGcvMmRzMnNhLS1kLzFz…",
                "https://v19-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oEegkLKtgGVLfmSsSAUZAOf5gekfWIMIlAR6IO/?a=1988&bti=ODszNWYuMDE6&&bt=4688&ft=aEeq8qT0mIoPD12_8V0I3wUuhCAbMeF~O5&mime_type=video_mp4&rc=aTxnaWY0Z2g5O2lmNjg5NUBpM3M5c3M5cm1sZDMzODgzNEAuYDBiMjEwNS0xMzRfXjI1YSMxcGcvMmRzMnNhLS1kLzFz…",
                "… 1 more items in the full response"
              ],
              "Width": 1080
            },
            "VQScore": "70.89",
            "bitrate": 4801271,
            "bitrateInfo": [
              {
                "Bitrate": 3896513,
                "BitrateFPS": 29,
                "CodecType": "h265_hvc1",
                "Format": "mp4",
                "GearName": "adapt_lowest_1080_1",
                "MVMAF": "{\"v2.0\": {\"ori\": {\"v1080\": 92.432}}}",
                "PlayAddr": {
                  "DataSize": 195068254,
                  "FileCs": "c:0-330650-c161",
                  "FileHash": "6416531c3df2a8f3d5dac66af0ccdbdc",
                  "Height": 1920,
                  "Uri": "v14025g50000davi5jvog65p2pj6sp40",
                  "UrlKey": "v14025g50000davi5jvog65p2pj6sp40_bytevc1_1080p_3896513",
                  "UrlList": "… 3 items in the full response",
                  "Width": 1080
                },
                "QualityType": 2,
                "VideoExtra": "{\"PktOffsetMap\":\"[{\\\"time\\\": 1, \\\"offset\\\": 1064214}, {\\\"time\\\": 2, \\\"offset\\\": 1596195}, {\\\"time\\\": 3, \\\"offset\\\": 2058620}, {\\\"time\\\": 4, \\\"offset\\\": 2594412}, {\\\"time\\\": 5, \\\"offset\\\": 3201372}, {\\\"time\\\": 10, \\\"offset\\\": 7752021}]\",\"mvmaf\":\"{\\\"v2.0\\\": {\\\"ori\\\": {\\\"v1080\\\": 92.432}}}\",\"ufq\":\"{\\\"e…"
              },
              {
                "Bitrate": 1620816,
                "BitrateFPS": 30,
                "CodecType": "h264",
                "Format": "mp4",
                "GearName": "lower_540_0",
                "MVMAF": "{\"v2.0\": {\"srv1\": {\"v1080\": 77.853, \"v960\": 79.507, \"v864\": 81.942, \"v720\": 88.149}, \"ori\": {\"v1080\": 68.074, \"v960\": 68.955, \"v864\": 76.658, \"v720\": 80.897}}}",
                "PlayAddr": {
                  "DataSize": 81141696,
                  "FileCs": "c:0-327817-09ec",
                  "FileHash": "bea151fa26f887b63b095f5fda4cee92",
                  "Height": 1024,
                  "Uri": "v14025g50000davi5jvog65p2pj6sp40",
                  "UrlKey": "v14025g50000davi5jvog65p2pj6sp40_h264_540p_1620816",
                  "UrlList": "… 3 items in the full response",
                  "Width": 576
                },
                "QualityType": 24,
                "VideoExtra": "{\"PktOffsetMap\":\"[{\\\"time\\\": 1, \\\"offset\\\": 487459}, {\\\"time\\\": 2, \\\"offset\\\": 646070}, {\\\"time\\\": 3, \\\"offset\\\": 809838}, {\\\"time\\\": 4, \\\"offset\\\": 948366}, {\\\"time\\\": 5, \\\"offset\\\": 1108846}, {\\\"time\\\": 10, \\\"offset\\\": 2361388}]\",\"mvmaf\":\"{\\\"v2.0\\\": {\\\"srv1\\\": {\\\"v1080\\\": 77.853, \\\"v960\\\": 79.507,…"
              },
              "… 2 more items in the full response"
            ],
            "claInfo": {
              "enableAutoCaption": true,
              "hasOriginalAudio": false,
              "noCaptionReason": 3
            },
            "codecType": "h264",
            "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-tiktokx-origin.image?dr=9636&x-expires=1791460800&x-signature=I8W7GYN6xIJJ4d1sg5VFPeMBd0c%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8",
            "definition": "1080p",
            "downloadAddr": "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oEegkLKtgGVLfmSsSAUZAOf5gekfWIMIlAR6IO/?a=1988&bti=ODszNWYuMDE6&&bt=4688&ft=aEeq8qT0mIoPD12_8V0I3wUuhCAbMeF~O5&mime_type=video_mp4&rc=aTxnaWY0Z2g5O2lmNjg5NUBpM3M5c3M5cm1sZDMzODgzNEAuYDBiMjEwNS0xMzRfXjI1YSMxcGcvMmRzMnNhLS1kLzFz…",
            "duration": 400,
            "dynamicCover": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-tiktokx-origin.image?dr=9636&x-expires=1791460800&x-signature=I8W7GYN6xIJJ4d1sg5VFPeMBd0c%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8",
            "encodeUserTag": "",
            "encodedType": "normal",
            "format": "mp4",
            "height": 1920,
            "id": "7691907160216734994",
            "originCover": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/owyLUFDjVCB4HQMP7fEQMLBAJEcgNyVzvqfQyN~tplv-tiktokx-origin.image?dr=9636&x-expires=1791460800&x-signature=LHzj8VdvBbnbOeCfTej3%2F%2BjrJ0k%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8",
            "playAddr": "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oEegkLKtgGVLfmSsSAUZAOf5gekfWIMIlAR6IO/?a=1988&bti=ODszNWYuMDE6&&bt=4688&ft=aEeq8qT0mIoPD12_8V0I3wUuhCAbMeF~O5&mime_type=video_mp4&rc=aTxnaWY0Z2g5O2lmNjg5NUBpM3M5c3M5cm1sZDMzODgzNEAuYDBiMjEwNS0xMzRfXjI1YSMxcGcvMmRzMnNhLS1kLzFz…",
            "ratio": "1080p",
            "size": 240362441,
            "videoID": "v14025g50000davi5jvog65p2pj6sp40",
            "videoQuality": "normal",
            "volumeInfo": {
              "Loudness": -17.5,
              "Peak": 1
            },
            "width": 1080,
            "zoomCover": {
              "240": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-photomode-zoomcover:240:240.avif?dr=9616&x-expires=1791460800&x-signature=QcfnORnx5nkThwSmimaLugsPtdI%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8&ftpl=1",
              "480": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-photomode-zoomcover:480:480.avif?dr=9616&x-expires=1791460800&x-signature=vfYjf%2FWWXHpDyKVswEXUe081CMs%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8&ftpl=1",
              "720": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-photomode-zoomcover:720:720.avif?dr=9616&x-expires=1791460800&x-signature=w2Pbm65WDEz6bKEwM5BtAU8vw8A%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8&ftpl=1",
              "960": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oMAABC2qpEmAAVNQNGffCFIvFDHZRyI6M1Bzog~tplv-photomode-zoomcover:960:960.avif?dr=9616&x-expires=1791460800&x-signature=ljhAFMm7NRTmbVrZo93kS5%2B3PMQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=useast8&ftpl=1"
            }
          }
        },
        {
          "AIGCDescription": "",
          "CategoryType": 101,
          "IsHDBitrate": false,
          "ShowAIGC": true,
          "author": {
            "avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/82eb0723610c92614ff0e847c76e32d3~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=921999f1&x-expires=1791460800&x-signature=THI1h921P5Sgep%2FSHev25Eg8GLY%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "avatarMedium": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/82eb0723610c92614ff0e847c76e32d3~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=c799413f&x-expires=1791460800&x-signature=2ltryNQhnawBj6il8UiF2GHlLD0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/82eb0723610c92614ff0e847c76e32d3~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=a795333e&x-expires=1791460800&x-signature=8Y9akC0GBw0A632bpjdwok1fYBk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8",
            "commentSetting": 0,
            "downloadSetting": 0,
            "duetSetting": 0,
            "ftc": false,
            "id": "7317950271115478058",
            "isADVirtual": false,
            "isEmbedBanned": false,
            "nickname": "562.marrrr",
            "openFavorite": false,
            "privateAccount": false,
            "relation": 0,
            "secUid": "MS4wLjABAAAA4PCVgPTn72PGBhjMw2Ih92XrDEAKAjPcrN8J7r9adb48Ev7qBCjtdRnNLy_CydZ3",
            "secret": false,
            "shortDramaCreator": {},
            "signature": "\" you come here\"\nNo content on some days🚫\nMultiple people own this act 👀\nDm for questions or concerns ☺️\n@iambiglex__ @ʙᴀᴅᴅɪᴇꜱ.ʟᴏᴠᴇʀ67 🌷☝️❤️",
            "stitchSetting": 0,
            "uniqueId": "562.marrrr",
            "verified": false
          },
          "authorStats": {
            "diggCount": 14900,
            "followerCount": 22100,
            "followingCount": 88,
            "friendCount": 0,
            "heart": 10500000,
            "heartCount": 10500000,
            "videoCount": 1007
          },
          "authorStatsV2": {
            "diggCount": "14900",
            "followerCount": "22100",
            "followingCount": "88",
            "friendCount": "0",
            "heart": "10500000",
            "heartCount": "10500000",

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

TikTok Web Home Feed API

Returns a page of recommended TikTok videos from the web home feed. Each item includes the caption, author, author stats, music, and engagement counts. The request needs no input, and you can set region and count to change the feed.

Use cases

  • Sample what TikTok recommends in a region such as US, GB, or JP by changing the region value.
  • Collect stats counts for recommended videos to compare how much attention each one gets.
  • Find hashtags used in recommended videos by reading textExtra[].hashtagName.
  • Check author size by reading authorStats.followerCount for each creator in the feed.

Request

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

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

Parameters

NameTypeRequiredDescription
countintegerNoNumber per page
regionstringNoRegion code, optional parameter, affects the region of recommended content, e.g. US/GB/JP/KR/SG, default US.

Example response

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

{
  "cookie": "tt_chain…",
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611030744251010435B508133018A93",
    "now": 1793691866000
  },
  "hasMore": true,
  "itemList": [
    {
      "AIGCDescription": "",
      "CategoryType": 120,
      "IsHDBitrate": false,
      "ShowAIGC": true,
      "aigcLabelType": 2,
      "author": {
        "avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7761710511d4467…",
        "avatarMedium": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7761710511d4467…",
        "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7761710511d4467…",
        "commentSetting": 0,
        "downloadSetting": 0,
        "duetSetting": 0,
        "ftc": false,
        "id": "6916577766381569029"
      },
      "authorStats": {
        "diggCount": 2882,
        "followerCount": 13900,
        "followingCount": 170,
        "friendCount": 0,
        "heart": 638700,
        "heartCount": 638700,
        "videoCount": 185
      },
      "authorStatsV2": {
        "diggCount": "2882",
        "followerCount": "13900",
        "followingCount": "170",
        "friendCount": "0",
        "heart": "638700",
        "heartCount": "638700",
        "videoCount": "185"
      },
      "backendSourceEventTracking": "fyp_35",
      "challenges": [
        {
          "coverLarger": "",
          "coverMedium": "",
          "coverThumb": "",
          "desc": "",
          "id": "7690364272014000142",
          "profileLarger": "",
          "profileMedium": "",
          "profileThumb": ""
        }
      ],
      "collected": false,
      "contentContext": {
        "status_tag": "{\"traffic_structure_info\":\"{\\\"slate_group_type\\\":\\\"0\\\"}\"}"
      }
    }
  ],
  "log_pb": {
    "impr_id": "202611030744251010435B508133018A93"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": "",
  "tt_chain_token": "8e8wZ0N6…"
}

Response fields

FieldMeaning
itemList[]The list of recommended video items in this page of the feed.
itemList[].idThe ID of the video, as a string. Pass it to a video detail API to look up one video.
itemList[].descThe caption of the video, including its hashtags.
itemList[].createTimeWhen the video was posted, as a Unix timestamp in seconds.
itemList[].author.idThe ID of the creator who posted the video.
itemList[].stats.playCount / diggCount / commentCount / shareCount / collectCountEngagement counts for the video. statsV2 holds the same counts as strings.
itemList[].authorStats.followerCount / heartCount / videoCountCounts for the creator: followers, total likes received (heartCount), and number of videos posted. authorStatsV2 holds the same values as strings.
itemList[].textExtra[].hashtagNameThe name of each hashtag in the caption. start and end give its position in desc.
itemList[].music.id / authorName / durationThe ID of the sound used in the video, the name of its author, and its duration value.
itemList[].isAdWhether the item is marked as an ad.
hasMoreWhether the response reports more items after this page.

Notes

  • region takes a region code such as US, GB, JP, KR, or SG. The default is US.
  • count sets the number of items per page. The default is 15.
  • Both parameters are optional, so an empty request body {} works.
  • To get full data for one video, take its id and call TikTok Video Detail.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.05 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Web Home Feed?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/home-feed với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Web Home Feed có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Web Home Feed chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: count (integer) và region (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Web Home Feed trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Web Home Feed chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.