Skip to main content
Xpoz provides 10 TikTok tools across three categories: users, posts, and comments. TikTok is unique in having hashtag-specific search tools.

Available Fields

User Fields

These fields are available on all user tools (getTiktokUser, searchTiktokUsers, getTiktokUsersByKeywords, getTiktokUsersByHashtags). Default: id, username, nickname getTiktokUsersByKeywords and getTiktokUsersByHashtags also return aggregation fields: aggRelevance, relevantPostsCount, relevantPostsLikesSum, relevantPostsCommentsSum, relevantPostsPlaysSum, relevantPostsForwardsSum.

Post Fields

These fields are available on all post tools (getTiktokPostsByIds, getTiktokPostsByUser, getTiktokPostsByKeywords, getTiktokPostsByHashtags). Default: id, description, username, createdAtDate

Comment Fields

These fields are available on getTiktokCommentsByPostId. Default: id, text, username, createdAtDate
Always specify only the fields you need using the fields parameter. For example, ["id", "description", "playCount", "likeCount", "hashtags"] for content analysis. See Field Selection for details.

User Tools

getTiktokUser

Get a single TikTok user profile by ID or username.
For exact username lookups, use getTiktokUser. For name-based or fuzzy searches, use searchTiktokUsers instead.

searchTiktokUsers

Search TikTok users by name or username with real-time results.
This tool performs a real-time search. For exact username lookups, use getTiktokUser instead.

getTiktokUsersByKeywords

Search for users who authored TikTok posts matching keywords. Returns unique, deduplicated user profiles. Supports server-side pagination with 100 users per page. See Pagination and Query Syntax for details.

getTiktokUsersByHashtags

Search for users who posted content tagged with specific hashtags. Returns unique, deduplicated user profiles. Example hashtags values: ["dance", "fyp"], ["cooking"], ["sustainable_fashion"]
Pass bare alphanumeric tags only — no leading #. Each hashtag must match the pattern [A-Za-z0-9_] with a max length of 500 characters.

Post Tools

getTiktokPostsByIds

Get one or more TikTok posts by IDs (1-100 per request). Returns only found posts, omitting not-found IDs. Returns the most up-to-date data available.
Data older than 3 days is automatically refreshed.

getTiktokPostsByUser

Get posts from a TikTok user by ID or username.
Data older than 1 week is automatically refreshed.
Supports server-side pagination with 100 posts per page. See Pagination for details.

getTiktokPostsByKeywords

Search TikTok posts by keywords in descriptions and video transcripts. Supports server-side pagination with 100 posts per page. See Query Syntax for details on search operators.
For hashtag-based search, use getTiktokPostsByHashtags instead — it searches the indexed hashtags column directly, which is more precise than keyword search in descriptions.

getTiktokPostsByHashtags

Search TikTok posts by hashtags. Searches the indexed hashtags column directly (not post descriptions). Example hashtags values: ["dance", "fyp", "viral"], ["cooking"], ["sustainable_fashion"]
Pass bare alphanumeric tags only — no leading #. Each hashtag must match the pattern [A-Za-z0-9_] with a max length of 500 characters.
Use getTiktokPostsByHashtags for precise hashtag matching. Use getTiktokPostsByKeywords when searching for terms in post descriptions and transcripts.

Comment Tools

getTiktokCommentsByPostId

Get comments for a TikTok post.
Data older than 1 week is automatically refreshed.
Supports server-side pagination with 100 comments per page.