Search
Discover Hashtag
Description
Search for hashtags that are similar to a keyword. For each hashtag, get its ID, use count and view count. You can use the hashtag ID to search posts by hashtags. Up to 20 results per page, up to 300 results total.
Endpoint
GET api/v1/realtime/social/tiktok/v1/search/discover-hashtags?query={query}
Parameters
query
Yes
Query Param
String | The search keyword
cursor
No
Query Param
String | Cursor for paginate data
Post by Keyword
Description
Search for posts by a keyword. You can choose the country to search from, as it affects the results. For each post, get its content (text, hashtags, mentions, media), statistics such as likes count, views, comments count, shares, etc., author info, music info and more. Up to 10 results per page. returns around 200 results total. To get more results, try using the search posts by hashtags which returns up to 5000 results.
Endpoint
GET api/v1/realtime/social/tiktok/v1/search/posts-by-keyword?keyword={keyword}
Parameters
keyword
Yes
Query Param
String | The search keyword
cursor
No
Query Param
String | Cursor for paginate data
country_code
No
Query Param
String | Country code to adjust
the results with
Supported country codes: IR, QC, SA, CN, JP, AU, IN, KR, ID, TH, AR, BR, CA, CY, EG, FR, DE, GR, IL, IT, LB, MX, PA, PT, RU, ES, SE, TR, GB, US, ML, PH, VN, MY, PK, PL, KH, NL, CO, CL, PE, JO, MA, AE, SG, TW
Post by Hashtag
Description
Search for posts by hashtag ID. To get the ID of the hashtag, use the discover hashtags endpoint. For each post, get its content (text, hashtags, mentions, media), statistics such as likes count, views, comments count, shares, etc., author info, music info and more. Up to 20 results per page, up to 5000 results total.
Endpoint
GET api/v1/realtime/social/tiktok/v1/search/posts-by-hashtag?hashtag_id={hashtag_id}
Parameters
hashtag_id
Yes
Query Param
String | The hashtag ID
cursor
No
Query Param
String | Cursor for paginate data
country_code
No
Query Param
String | Country code to adjust
the results with
Supported country codes: IR, QC, SA, CN, JP, AU, IN, KR, ID, TH, AR, BR, CA, CY, EG, FR, DE, GR, IL, IT, LB, MX, PA, PT, RU, ES, SE, TR, GB, US, ML, PH, VN, MY, PK, PL, KH, NL, CO, CL, PE, JO, MA, AE, SG, TW
Discover Users
Description
Search for users by a keyword, and get a list of users who's username might be related to the keyword. For each user, get its user info - ID, nickname, posts count, follower and following count and more. Up to 10 results per page, around 300 results total.
Endpoint
GET api/v1/realtime/social/tiktok/v1/search/discover-users?keyword={keyword}
Parameters
keyword
Yes
Query Param
String | The keyword to use for the search
cursor
No
Query Param
String | Cursor for paginate data
Last updated