logidstring
Pagination cursor. Leave empty for the first page; to load the next page, pass the `logid` value returned by the previous response
Varsayılan: ""
https://api.sandbase.ai/v1/api/tiktok/web/live-recommend-tabsReturns available recommendation tabs and category tags for TikTok broadcast homepages. Supports pagination via a log identifier cursor.
[
{
"data": {
"data": [
{
"is_not_show_tab": false,
"sub_tabs": [
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Garena_Free_Fire_co52c7.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=66a8bc9e&x-expires=1791892800&x-signature=iJLyGjuk5z%2BPo1Ywfz61QoPRIQo%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Garena Free Fire",
"tab_type": "Garena Free Fire",
"viewer_count": 156952
},
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Minecraft_co2b4k.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=3ba25e64&x-expires=1791892800&x-signature=1FxbJCX%2Fzip9LH3aA8aWT6TjIwI%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Minecraft",
"tab_type": "Minecraft",
"viewer_count": 30324
},
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Fortnite_co2ekt.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=8b0c87dd&x-expires=1791892800&x-signature=SHEYxDCfG%2FEA2Dvs1J8mGdkOMRI%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Fortnite",
"tab_type": "Fortnite",
"viewer_count": 39545
},
"… 47 more items in the full response"
],
"tab_name": "Gaming",
"tab_type": "gaming"
},
{
"is_not_show_tab": false,
"sub_tabs": [
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_chatting.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Chats",
"tab_type": "chatting",
"viewer_count": 2780865
},
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_outdoor.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Outdoors",
"tab_type": "outdoor",
"viewer_count": 399402
},
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_mix_talent.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Talents",
"tab_type": "mix_talent",
"viewer_count": 277972
},
"… 2 more items in the full response"
],
"tab_name": "Lifestyle",
"tab_type": "lifestyle"
},
{
"is_not_show_tab": true,
"sub_tabs": [
{
"cover_url": "",
"position": 4,
"rank_type": "",
"tab_name": "Esports",
"tab_type": "Esports",
"viewer_count": 0
}
],
"tab_name": "Section",
"tab_type": "setting_section"
}
],
"extra": {
"has_more": true,
"if_expire": true,
"now": 1791290366060
},
"logid": "20261006203925480224A4D68FBD901B8A",
"status_code": 0
}
}
]Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
Returns the recommendation tabs and category tags shown on the TikTok LIVE homepage, with sub-tabs and viewer counts. It needs no input for the first page and takes an optional logid cursor for later pages.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/live-recommend-tabs" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
logid | string | No | Pagination cursor. Leave empty for the first page; to load the next page, pass the logid value returned by the previous response |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"is_not_show_tab": false,
"sub_tabs": [
{
"cover_url": "https://p19-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Garena_Free_Fire…",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Garena Free Fire",
"tab_type": "Garena Free Fire",
"viewer_count": 71422
}
],
"tab_name": "Gaming",
"tab_type": "gaming"
}
],
"extra": {
"has_more": true,
"if_expire": true,
"now": 1793691866004
},
"logid": "20261103154425C6E4DDDF5B9C6943B3EB",
"status_code": 0
}
| Field | Meaning |
|---|---|
data[].tab_name / data[].tab_type | Display name and internal type of a top-level tab, for example Gaming and gaming. |
data[].is_not_show_tab | When true, the tab is a settings entry and is not shown as a normal tab. Its sub_tabs list is empty. |
data[].sub_tabs[].tab_name | Display name of a category inside the tab, such as Fortnite or Chats. |
data[].sub_tabs[].tab_type | Internal type of the sub-tab. For games it matches the game name. For lifestyle tabs it is a code like chatting or outdoor. |
data[].sub_tabs[].viewer_count | Viewer count shown for the sub-tab. |
data[].sub_tabs[].rank_type | Ranking label for the sub-tab, such as hot_game. It is an empty string when no label applies. |
data[].sub_tabs[].cover_url | Signed URL of the cover image for the sub-tab. |
data[].sub_tabs[].position | Position value of the sub-tab. It is 0 for every item in this response. |
extra.has_more | Shows whether another page is available. |
logid | Cursor value for the next page. Pass it as the logid request parameter. |
logid empty for the first page. For the next page, send the logid value from the previous response.extra.has_more to see if more pages exist.extra.now is a timestamp in milliseconds, for example 1793691866004.x-expires parameter, so save the images soon after you fetch them.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/live-recommend-tabs" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"logid": ""
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
logidstringPagination cursor. Leave empty for the first page; to load the next page, pass the `logid` value returned by the previous response
Varsayılan: ""
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
[
{
"data": {
"data": [
{
"is_not_show_tab": false,
"sub_tabs": [
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Garena_Free_Fire_co52c7.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=66a8bc9e&x-expires=1791892800&x-signature=iJLyGjuk5z%2BPo1Ywfz61QoPRIQo%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Garena Free Fire",
"tab_type": "Garena Free Fire",
"viewer_count": 156952
},
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Minecraft_co2b4k.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=3ba25e64&x-expires=1791892800&x-signature=1FxbJCX%2Fzip9LH3aA8aWT6TjIwI%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Minecraft",
"tab_type": "Minecraft",
"viewer_count": 30324
},
{
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-i-agnx3xz2cs-sg/Fortnite_co2ekt.png~tplv-tiktokx-origin.image?dr=14582&refresh_token=8b0c87dd&x-expires=1791892800&x-signature=SHEYxDCfG%2FEA2Dvs1J8mGdkOMRI%3D&t=4d5b0474&ps=13740610&shp=82f28457&shcp=9b759fb9&idc=my3",
"position": 0,
"rank_type": "hot_game",
"tab_name": "Fortnite",
"tab_type": "Fortnite",
"viewer_count": 39545
},
"… 47 more items in the full response"
],
"tab_name": "Gaming",
"tab_type": "gaming"
},
{
"is_not_show_tab": false,
"sub_tabs": [
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_chatting.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Chats",
"tab_type": "chatting",
"viewer_count": 2780865
},
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_outdoor.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Outdoors",
"tab_type": "outdoor",
"viewer_count": 399402
},
{
"cover_url": "https://p16-webcast.tiktokcdn.com/img/alisg/webcast-sg/drawer_tab_cover_mix_talent.png~tplv-obj.image",
"position": 0,
"rank_type": "",
"tab_name": "Talents",
"tab_type": "mix_talent",
"viewer_count": 277972
},
"… 2 more items in the full response"
],
"tab_name": "Lifestyle",
"tab_type": "lifestyle"
},
{
"is_not_show_tab": true,
"sub_tabs": [
{
"cover_url": "",
"position": 4,
"rank_type": "",
"tab_name": "Esports",
"tab_type": "Esports",
"viewer_count": 0
}
],
"tab_name": "Section",
"tab_type": "setting_section"
}
],
"extra": {
"has_more": true,
"if_expire": true,
"now": 1791290366060
},
"logid": "20261006203925480224A4D68FBD901B8A",
"status_code": 0
}
}
]Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.05 çağrı başına | JSON |
Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/web/live-recommend-tabs adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: logid (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. TikTok Stream Recommendation Tabs, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.