Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok Web Home Feed

Dokumentacja 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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 2 opcjonalnych

Playground

Wejście
Number per page
Region code, optional parameter, affects the region of recommended content, e.g. US/GB/JP/KR/SG, default US.
WyjściePrzykład
Odpowiedźoutputs · 24.0 KB · 469 wierszy
[
  {
    "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",

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.05 za wywołanieJSON

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

Pytania

FAQ

Jak używać API TikTok Web Home Feed?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/web/home-feed z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok Web Home Feed?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok Web Home Feed?

Nie są wymagane żadne parametry. Opcjonalne: count (integer) i region (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API TikTok Web Home Feed?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok Web Home Feed działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.