TikTok API
Returns TikTok account profiles and statistics, an account's videos, video details, comments and replies, hashtags and sounds with their top videos, live rooms, trending videos and hashtags, search suggestions, and video transcripts.
View as Markdown| GET | /tiktok/user | Profile and statistics of one account. |
| GET | /tiktok/userPosts | Posts of one TikTok account, newest first. |
| GET | /tiktok/live | Whether one TikTok account is live now, and its live room. |
| GET | /tiktok/video | Details and statistics of one video or photo post. |
| GET | /tiktok/comments | Top-level comments of one video or photo post, one page at a time. |
| GET | /tiktok/commentReplies | Replies to one comment of a video or photo post, one page at a time. |
| GET | /tiktok/searchSuggestions | Search suggestions TikTok shows for a keyword. |
| GET | /tiktok/transcript | Subtitles of one video with timestamps: TikTok's captions and machine translations. |
| GET | /tiktok/trending | Trending videos in one country, from TikTok's Explore feed. |
| GET | /tiktok/trendingHashtags | Trending hashtags in one country: TikTok's official top hashtags from Creative Center, and the hashtags of the videos trending on the Explore feed, ranked by how many of them use each. |
| GET | /tiktok/hashtag | Statistics of one TikTok hashtag and its top videos. |
| GET | /tiktok/sound | Information about one TikTok sound and its top videos. |
user
/v1/tiktok/userProfile and statistics of one account.
Parameters
usernamestring required | Username, with or without @, or profile URL. e.g. tiktok |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
16 fields
avatarUrl | string |
bio | string |
bioLink | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
friendCount | integer (int64) |
id | string |
likeCount | integer (int64) |
name | string |
postCount | integer (int64) |
private | boolean |
secUid | string |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/tiktok/user?username=tiktok" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/user?username=tiktok", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/user?username=tiktok", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=…", "bio": "Your next discovery is waiting on TikTok.", "bioLink": "", "createdAt": "2015-02-28T17:22:29Z", "followerCount": 96999385, "followingCount": 2, "friendCount": 2, "id": "107955", "likeCount": 469464567, "name": "TikTok", "postCount": 1519, "private": false, "secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", "url": "https://www.tiktok.com/@tiktok", "username": "tiktok", "verified": true }, "meta": { "cached": false, "endpoint": "user", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 5 } }
userPosts
/v1/tiktok/userPostsPosts of one TikTok account, newest first.
Parameters
usernamestring required | Username, with or without @, or profile URL. e.g. tiktok |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 35. default 15 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
40 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
authorVerified | boolean |
collectCount | integer (int64) |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
hashtags | Hashtag[] |
name | string |
height | integer (int64) |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
isAd | boolean |
likeCount | integer (int64) |
location | string |
music | VideoMusic |
author | string |
durationSeconds | integer (int64) |
id | string |
original | boolean |
title | string |
publishedAt | string |
repostCount | integer (int64) |
shareCount | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
width | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/userPosts?username=tiktok" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/userPosts?username=tiktok", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/userPosts?username=tiktok", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=…", "id": "107955", "name": "TikTok", "url": "https://www.tiktok.com/@tiktok", "username": "tiktok" }, "authorSecUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", "authorVerified": true, "collectCount": 906, "commentCount": 2709, "description": "You know their game 🎾 But are the @WTA singles stars ready for your TikTok comments? We let them unlock what you had to say 🔓 See how they r…", "durationSeconds": 79, "hashtags": [ { "name": "fagewtafinals" }, { "name": "theultimatestage" } ], "height": 1280, "id": "7708408003065580831", "images": [], "isAd": false, "likeCount": 7090, "location": "", "music": { "author": "TikTok", "durationSeconds": 79, "id": "7708408053574011678", "original": true, "title": "original sound" }, "publishedAt": "2026-11-15T14:40:20Z", "repostCount": 0, "shareCount": 921, "thumbnails": [ { "height": 0, "url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ocAMiAaxBAAqEg51vFl5EAiIBPUvWQLEAnDKR~tplv-tiktokx-origin.image?dr=9636&x-ex…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@tiktok/video/7708408003065580831", "viewCount": 691500, "width": 720 }, { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=…", "id": "107955", "name": "TikTok", "url": "https://www.tiktok.com/@tiktok", "username": "tiktok" }, "authorSecUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", "authorVerified": true, "collectCount": 602, "commentCount": 1601, "description": "We let your comments do the interviewing with the @WTA doubles duos 🎾 From match-day fits to champagne showers and very specific coffee orde…", "durationSeconds": 63, "hashtags": [ { "name": "fagewtafinals" }, { "name": "theultimatestage" } ], "height": 1280, "id": "7707831843487354143", "images": [], "isAd": false, "likeCount": 6522, "location": "", "music": { "author": "TikTok", "durationSeconds": 63, "id": "7707831878887230239", "original": true, "title": "original sound" }, "publishedAt": "2026-11-14T01:24:24Z", "repostCount": 0, "shareCount": 643, "thumbnails": [ { "height": 0, "url": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/o8FhEAbq9AqnERGAEte7DRuCVZ3fI1pAEiNAED~tplv-tiktokx-origin.image?dr=9636&x-e…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@tiktok/video/7707831843487354143", "viewCount": 333700, "width": 720 } ], "meta": { "cached": false, "endpoint": "userPosts", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 10 } }
live
/v1/tiktok/liveWhether one TikTok account is live now, and its live room.
Parameters
usernamestring required | Username, with or without @, or profile URL. e.g. tiktok |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
coverUrl | string |
isLive | boolean |
roomId | string |
startedAt | string |
title | string |
url | string |
viewerCount | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/live?username=tiktok" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/live?username=tiktok", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/live?username=tiktok", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.webp?dr=…", "id": "107955", "name": "TikTok", "url": "https://www.tiktok.com/@tiktok", "username": "tiktok" }, "coverUrl": "", "isLive": false, "roomId": "", "startedAt": "", "title": "", "url": "https://www.tiktok.com/@tiktok/live", "viewerCount": 0 }, "meta": { "cached": false, "endpoint": "live", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 1 } }
video
/v1/tiktok/videoDetails and statistics of one video or photo post.
Parameters
idstring required | Post id, or a tiktok.com video or photo URL. e.g. https://www.tiktok.com/@scout2015/video/6718335390845095173 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
40 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
authorVerified | boolean |
collectCount | integer (int64) |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
hashtags | Hashtag[] |
name | string |
height | integer (int64) |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
isAd | boolean |
likeCount | integer (int64) |
location | string |
music | VideoMusic |
author | string |
durationSeconds | integer (int64) |
id | string |
original | boolean |
title | string |
publishedAt | string |
repostCount | integer (int64) |
shareCount | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
width | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/video?id=https%3A%2F%2Fwww.tiktok.com%2F%40scout2015%2Fvideo%2F6718335390845095173" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/video?id=https%3A%2F%2Fwww.tiktok.com%2F%40scout2015%2Fvideo%2F6718335390845095173", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/video?id=https%3A%2F%2Fwww.tiktok.com%2F%40scout2015%2Fvideo%2F6718335390845095173", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/4cbe05e194623e3f19aef975d9fdf26c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr…", "id": "53279706535428096", "name": "Scout, Suki & Stella", "url": "https://www.tiktok.com/@scout2015", "username": "scout2015" }, "authorSecUid": "MS4wLjABAAAAPZWNdkF_cmVSPCvV0Y6MCsH29mlAOlMOX3ikzGvlfMm3K6OMZv-JrRImpEHxdIMI", "authorVerified": true, "collectCount": 651, "commentCount": 5711, "description": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic", "durationSeconds": 10, "hashtags": [ { "name": "foryoupage" }, { "name": "petsoftiktok" } ], "height": 1024, "id": "6718335390845095173", "images": [], "isAd": false, "likeCount": 35200, "location": "US", "music": { "author": "tiff", "durationSeconds": 10, "id": "6689804660171082501", "original": true, "title": "original sound" }, "publishedAt": "2019-07-27T13:32:38Z", "repostCount": 0, "shareCount": 1531, "thumbnails": [ { "height": 0, "url": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-p-0068/2367c7d45cf54a1397abd0e72bf22eac~tplv-tiktokx-origin.image?dr=9636&x-expires=1795…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@scout2015/video/6718335390845095173", "viewCount": 160300, "width": 576 }, "meta": { "cached": false, "endpoint": "video", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 5 } }
comments
/v1/tiktok/commentsTop-level comments of one video or photo post, one page at a time.
Parameters
idstring required | Post id, or a tiktok.com video or photo URL. e.g. 6718335390845095173 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
createdAt | string |
id | string |
language | string |
likeCount | integer (int64) |
parentId | string |
postId | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/tiktok/comments?id=6718335390845095173" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/comments?id=6718335390845095173", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/comments?id=6718335390845095173", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7328085019259748357~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=9…", "id": "6627564337508761605", "name": "Quit", "url": "https://www.tiktok.com/@pretzelsticks0", "username": "pretzelsticks0" }, "authorSecUid": "MS4wLjABAAAABCmZv8sEMzxVXCLVjoVUMYM465WA0BMplKB9c7y5WWXDpV0OykgbTV3qOf0Jbleg", "createdAt": "2019-07-27T13:35:22Z", "id": "6718336105873702917", "language": "un", "likeCount": 345, "parentId": "", "postId": "6718335390845095173", "replyCount": 20, "text": "Well it’s pretty easy...and obvious 😂 hlysa" }, { "author": { "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7331407432645509126~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=a…", "id": "6718326650415203333", "name": "vsco_room_xx", "url": "https://www.tiktok.com/@vsco_room_xx", "username": "vsco_room_xx" }, "authorSecUid": "MS4wLjABAAAArG6B4beBhFRzOVGzxvDgAKuz2yK0AHG9jfU6PiSjFoIPrtYEASAPir_quhWWPs-4", "createdAt": "2019-08-06T13:23:37Z", "id": "6722043930156417030", "language": "un", "likeCount": 53, "parentId": "", "postId": "6718335390845095173", "replyCount": 44, "text": "srii good luck" } ], "meta": { "cached": false, "endpoint": "comments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 1 } }
commentReplies
/v1/tiktok/commentRepliesReplies to one comment of a video or photo post, one page at a time.
Parameters
idstring required | Post id, or a tiktok.com video or photo URL. e.g. 7106594312292453675 |
commentIdstring required | Id of the comment whose replies to list, from comments. e.g. 7106606555949433646 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
createdAt | string |
id | string |
language | string |
likeCount | integer (int64) |
parentId | string |
postId | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/tiktok/commentReplies?id=7106594312292453675&commentId=7106606555949433646" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/commentReplies?id=7106594312292453675&commentId=7106606555949433646", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/commentReplies?id=7106594312292453675&commentId=7106606555949433646", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/81fe25c4a4c9d723ccf446e989d91806~tplv-tiktokx-cropcenter:100:100.jpg?dr=964…", "id": "6790110031654355973", "name": "Waylon", "url": "https://www.tiktok.com/@waylonkatty", "username": "waylonkatty" }, "authorSecUid": "MS4wLjABAAAAvosMfaqbWUGZoNTWOtdJGUpliaOCjQK7D9HLX8b9ACI_WLteuzs09KQ4E8UmAWuV", "createdAt": "2022-06-08T02:44:45Z", "id": "7106694601016640298", "language": "un", "likeCount": 0, "parentId": "7106606555949433646", "postId": "7106594312292453675", "replyCount": 0, "text": "16" }, { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/b507caaaa707d7a35081fae0b88b6e21~tplv-tiktokx-cropcenter:100:100.jpg?dr=96…", "id": "6875912783813673989", "name": "Riku.bku", "url": "https://www.tiktok.com/@yelglazer46", "username": "yelglazer46" }, "authorSecUid": "MS4wLjABAAAAL2Ft3eTjZZRcXbMZ3bT305h0vd-JKtJZ97l-7A95iZk6M9f8ZD-zJHYtxqr0-ClZ", "createdAt": "2022-06-08T08:23:35Z", "id": "7106781823955125035", "language": "en", "likeCount": 0, "parentId": "7106606555949433646", "postId": "7106594312292453675", "replyCount": 0, "text": "16 where?" } ], "meta": { "cached": false, "endpoint": "commentReplies", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchSuggestions
/v1/tiktok/searchSuggestionsSearch suggestions TikTok shows for a keyword.
Parameters
querystring required | Text typed into the search box. e.g. music |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
keyword | string |
suggestions | Suggestion[] |
text | string |
curl "https://api.hoshime.com/v1/tiktok/searchSuggestions?query=music" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/searchSuggestions?query=music", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/searchSuggestions?query=music", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "keyword": "music", "suggestions": [ { "text": "music music hotel" }, { "text": "music hotel2026" } ] }, "meta": { "cached": false, "endpoint": "searchSuggestions", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 1 } }
transcript
/v1/tiktok/transcriptSubtitles of one video with timestamps: TikTok's captions and machine translations.
Parameters
idstring required | Post id, or a tiktok.com video URL. e.g. 7554652158981983544 |
langstring | Subtitle language as TikTok names it, such as eng-US or ind-ID. Empty for the video's original language. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
availableLanguages | SubtitleLanguage[] |
code | string |
id | string |
language | string |
segments | TranscriptSegment[] |
durationMs | integer (int64) |
startMs | integer (int64) |
text | string |
text | string |
curl "https://api.hoshime.com/v1/tiktok/transcript?id=7554652158981983544" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/transcript?id=7554652158981983544", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/transcript?id=7554652158981983544", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "availableLanguages": [ { "code": "eng-US" }, { "code": "ind-ID" } ], "id": "7554652158981983544", "language": "ind-ID", "segments": [ { "durationMs": 1360, "startMs": 7720, "text": "pak ini kan banyak yang" }, { "durationMs": 2320, "startMs": 9360, "text": "beri ucapan ke bapak dari netizen" } ], "text": "pak ini kan banyak yang beri ucapan ke bapak dari netizen harapan doa untuk bapak mungkin bapak bisa nyapa teman-teman di TikTok dan di Inst…" }, "meta": { "cached": false, "endpoint": "transcript", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 10 } }
trending
/v1/tiktok/trendingTrending videos in one country, from TikTok's Explore feed.
Parameters
countrystring | Country, as a lowercase ISO 3166-1 alpha-2 code. The US is not offered: TikTok serves its feed only to signed requests.aearaubrcacodeegesfrgbidilitjpkrmxmyphsasgthtrtwvnzadefault ide.g. id |
limitinteger | Items per page, 1 to 100. default 30 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
40 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
authorVerified | boolean |
collectCount | integer (int64) |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
hashtags | Hashtag[] |
name | string |
height | integer (int64) |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
isAd | boolean |
likeCount | integer (int64) |
location | string |
music | VideoMusic |
author | string |
durationSeconds | integer (int64) |
id | string |
original | boolean |
title | string |
publishedAt | string |
repostCount | integer (int64) |
shareCount | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
width | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/trending?country=id" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/trending?country=id", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/trending?country=id", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/9f8c444fa2f1ea84cd8241f26636487d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&re…", "id": "6512259045989367810", "name": "Mamanya sheena", "url": "https://www.tiktok.com/@queensheena0302", "username": "queensheena0302" }, "authorSecUid": "MS4wLjABAAAAMAA-canP3Mp6ZM1tPNdsAax2wigEhCPmQ7Zh7QxRLnXeQ4FJfX2rOhkThOhLXOpa", "authorVerified": false, "collectCount": 46089, "commentCount": 3962, "description": "#cuople #keluargabahagia #keluargakecilku #fyp #masukberanda @DIDIK BUDI ", "durationSeconds": 18, "hashtags": [ { "name": "cuople" }, { "name": "keluargabahagia" } ], "height": 1024, "id": "7708502368719097094", "images": [], "isAd": false, "likeCount": 1000000, "location": "", "music": { "author": "DIDIK BUDI", "durationSeconds": 38, "id": "7700789720659381013", "original": true, "title": "suara asli - DIDIK BUDI" }, "publishedAt": "2026-11-15T22:15:00Z", "repostCount": 0, "shareCount": 19600, "thumbnails": [ { "height": 0, "url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/o066AeDAAIVAFDcoTofEjedchnR1GhINAEDAGE~tplv-tiktokx-origin.image?dr=14575&x-expires=1…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@queensheena0302/video/7708502368719097094", "viewCount": 18500000, "width": 576 }, { "author": { "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/47ed3e3ecbc0b0d563182184382575e4~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&re…", "id": "6945435105612743681", "name": "Arthur Tynel", "url": "https://www.tiktok.com/@arthurtynel", "username": "arthurtynel" }, "authorSecUid": "MS4wLjABAAAABgW3eN8InGwf9CpFVZlIO_kOxMpmgjoLJnUll9CEYhH8Rxs3SSuhQx7vzKFh-Cvd", "authorVerified": false, "collectCount": 29305, "commentCount": 3488, "description": "gimana nih pencarian pertolonganku apakah berhasil... 🙃", "durationSeconds": 90, "hashtags": [], "height": 1024, "id": "7707239332045704500", "images": [], "isAd": false, "likeCount": 727100, "location": "", "music": { "author": "Arthur Tynel", "durationSeconds": 90, "id": "7707239431858309896", "original": true, "title": "original sound - Arthur Tynel" }, "publishedAt": "2026-11-12T11:05:07Z", "repostCount": 0, "shareCount": 29200, "thumbnails": [ { "height": 0, "url": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oIX1jJAIIhGA64ULzTChjVnlnBSDjIH6ISWeee~tplv-tiktokx-origin.image?dr=14575&x-expires=1…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@arthurtynel/video/7707239332045704500", "viewCount": 18500000, "width": 576 } ], "meta": { "cached": false, "endpoint": "trending", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 3 } }
trendingHashtags
/v1/tiktok/trendingHashtagsTrending hashtags in one country: TikTok's official top hashtags from Creative Center, and the hashtags of the videos trending on the Explore feed, ranked by how many of them use each.
Parameters
countrystring | Country, as a lowercase ISO 3166-1 alpha-2 code. The US is not offered: TikTok serves its feed only to signed requests.aearaubrcacodeegesfrgbidilitjpkrmxmyphsasgthtrtwvnzadefault ide.g. id |
periodstring | Days the official ranking covers: 7 or 30.730default 7 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
18 fields
country | string |
feed | FeedHashtag[] |
name | string |
url | string |
videoCount | integer (int64) |
videoIds | string[] |
viewCount | integer (int64) |
official | OfficialHashtag[] |
id | string |
name | string |
popularity | Popularity[] |
date | string |
value | number (double) |
postCount | integer (int64) |
rank | integer (int64) |
url | string |
viewCount | integer (int64) |
sampledVideoCount | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/trendingHashtags?country=id" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/trendingHashtags?country=id", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/trendingHashtags?country=id", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "country": "ID", "feed": [ { "name": "fyp", "url": "https://www.tiktok.com/tag/fyp", "videoCount": 2, "videoIds": [ "7708502368719097094", "7708395118809894165" ], "viewCount": 23600000 }, { "name": "cuople", "url": "https://www.tiktok.com/tag/cuople", "videoCount": 1, "videoIds": [ "7708502368719097094" ], "viewCount": 18500000 } ], "official": [ { "id": "7707226165055848469", "name": "thegrandherofiesta", "popularity": [ { "date": "2026-11-12", "value": 0 }, { "date": "2026-11-13", "value": 19.782294319675582 } ], "postCount": 40987, "rank": 1, "url": "https://www.tiktok.com/tag/thegrandherofiesta", "viewCount": 36788608 }, { "id": "20345", "name": "fairytail", "popularity": [ { "date": "2026-11-12", "value": 2.68463332914423 }, { "date": "2026-11-13", "value": 0 } ], "postCount": 42363, "rank": 2, "url": "https://www.tiktok.com/tag/fairytail", "viewCount": 282518531 } ], "sampledVideoCount": 14 }, "meta": { "cached": false, "endpoint": "trendingHashtags", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 5 } }
hashtag
/v1/tiktok/hashtagStatistics of one TikTok hashtag and its top videos.
Parameters
namestring required | Hashtag, with or without #, or a tiktok.com/tag URL. e.g. fyp |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
46 fields
id | string |
name | string |
url | string |
videoCount | integer (int64) |
videos | Video[] |
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
authorVerified | boolean |
collectCount | integer (int64) |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
hashtags | Hashtag[] |
name | string |
height | integer (int64) |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
isAd | boolean |
likeCount | integer (int64) |
location | string |
music | VideoMusic |
author | string |
durationSeconds | integer (int64) |
id | string |
original | boolean |
title | string |
publishedAt | string |
repostCount | integer (int64) |
shareCount | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
width | integer (int64) |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/hashtag?name=fyp" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/hashtag?name=fyp", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/hashtag?name=fyp", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "id": "229207", "name": "fyp", "url": "https://www.tiktok.com/tag/fyp", "videoCount": 9550028407, "videos": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "https://www.tiktok.com/@mara.lazeez", "username": "mara.lazeez" }, "authorSecUid": "", "authorVerified": false, "collectCount": 0, "commentCount": 0, "description": "بسكويت ولا اطيب 🍪😍 #شي_طيب #حلويات #foodie #foodart #cookies #TikTokCookBook #instafood", "durationSeconds": 0, "hashtags": [], "height": 1024, "id": "7075778590062988546", "images": [], "isAd": false, "likeCount": 0, "location": "", "music": { "author": "", "durationSeconds": 0, "id": "", "original": false, "title": "" }, "publishedAt": "", "repostCount": 0, "shareCount": 0, "thumbnails": [ { "height": 0, "url": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/077d75412fc848f590d1c195471172fa_1647458088~tplv-tiktokx-dmt-logom:tos-alisg-i-000…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@mara.lazeez/video/7075778590062988546", "viewCount": 1200000, "width": 576 }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "https://www.tiktok.com/@heraf.wa.holoul", "username": "heraf.wa.holoul" }, "authorSecUid": "", "authorVerified": false, "collectCount": 0, "commentCount": 0, "description": "مقاس الخصر 😉👖 #حرف_وحلول #lifehack #hack #tips #tricks #fyp #tipsandtricks #homemade #pants", "durationSeconds": 0, "hashtags": [], "height": 1024, "id": "7059420819948195073", "images": [], "isAd": false, "likeCount": 0, "location": "", "music": { "author": "", "durationSeconds": 0, "id": "", "original": false, "title": "" }, "publishedAt": "", "repostCount": 0, "shareCount": 0, "thumbnails": [ { "height": 0, "url": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/a62a8c275f9f46f5816cbbed2d3b022b~tplv-tiktokx-dmt-logom:tos-alisg-i-0000/276ef60d6…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@heraf.wa.holoul/video/7059420819948195073", "viewCount": 1500000, "width": 576 } ], "viewCount": 132262833578320 }, "meta": { "cached": false, "endpoint": "hashtag", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 1 } }
sound
/v1/tiktok/soundInformation about one TikTok sound and its top videos.
Parameters
idstring required | Sound id, or a tiktok.com/music URL. e.g. 7028292655268268033 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
48 fields
author | string |
coverUrl | string |
durationSeconds | integer (int64) |
id | string |
title | string |
url | string |
videoCount | integer (int64) |
videos | Video[] |
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
authorSecUid | string |
authorVerified | boolean |
collectCount | integer (int64) |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
hashtags | Hashtag[] |
name | string |
height | integer (int64) |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
isAd | boolean |
likeCount | integer (int64) |
location | string |
music | VideoMusic |
author | string |
durationSeconds | integer (int64) |
id | string |
original | boolean |
title | string |
publishedAt | string |
repostCount | integer (int64) |
shareCount | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
width | integer (int64) |
curl "https://api.hoshime.com/v1/tiktok/sound?id=7028292655268268033" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/tiktok/sound?id=7028292655268268033", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/tiktok/sound?id=7028292655268268033", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Taylor Swift", "coverUrl": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/o4TLAYiZiAKO05BAiUAhPuZlhrAASElPREWiA~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9584&t=4d…", "durationSeconds": 9, "id": "7028292655268268033", "title": "All Too Well (Taylor's Version)", "url": "https://www.tiktok.com/music/all-too-well-taylor-s-version-7028292655268268033", "videoCount": 58900, "videos": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "https://www.tiktok.com/@taylorswift", "username": "taylorswift" }, "authorSecUid": "", "authorVerified": false, "collectCount": 0, "commentCount": 0, "description": "*blink* and it’s red season 🍁😆#swifttok #alltoowelltaylorsversion", "durationSeconds": 0, "hashtags": [], "height": 1024, "id": "7028996202435775749", "images": [], "isAd": false, "likeCount": 0, "location": "", "music": { "author": "", "durationSeconds": 0, "id": "", "original": false, "title": "" }, "publishedAt": "", "repostCount": 0, "shareCount": 0, "thumbnails": [ { "height": 0, "url": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-p-0068/00b333df95434682b03bedff828df714~tplv-tiktokx-origin.image?dr=9636&x-expires=1795…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@taylorswift/video/7028996202435775749", "viewCount": 29600000, "width": 576 }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "https://www.tiktok.com/@joshplaysdrums", "username": "joshplaysdrums" }, "authorSecUid": "", "authorVerified": false, "collectCount": 0, "commentCount": 0, "description": "Adding sound effects to a Taylor Swift music video! This is I Bet You Think About Me (Josh’s Version) #taylorswift #taylorswiftedit #red #as…", "durationSeconds": 0, "hashtags": [], "height": 1024, "id": "7031992827034799366", "images": [], "isAd": false, "likeCount": 0, "location": "", "music": { "author": "", "durationSeconds": 0, "id": "", "original": false, "title": "" }, "publishedAt": "", "repostCount": 0, "shareCount": 0, "thumbnails": [ { "height": 0, "url": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-p-0068/e74d66773f59485cb1d67dc143aca9cd_1637263428~tplv-tiktokx-origin.image?dr=9636&x-e…", "width": 0 } ], "title": "", "url": "https://www.tiktok.com/@joshplaysdrums/video/7031992827034799366", "viewCount": 29400000, "width": 576 } ] }, "meta": { "cached": false, "endpoint": "sound", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "tiktok", "requestId": "req_2Xb9kQ…", "units": 10 } }