Social platformsLive

TikTok API for AI agents

Pull TikTok profiles, videos, comments, hashtags, music and trending feeds as unified JSON — every endpoint tested against the live API.

Using ChatGPT, Claude Code or another client? See the setup steps

Agent workflows

Use TikTok records as evidence, not glue code.

UnifAPI keeps the public TikTok surface discoverable through MCP and callable over HTTP. Agents can inspect the schema, fetch only the records needed for the task, and return the result with request, pagination, and billing metadata intact.

Analyze public TikTok videos, creators, comments, hashtags, music, feeds, and search results for creator and trend workflows.

Power KOL pricing, campaign vetting, and content discovery Skills with canonical video, user, music, and hashtag records.

Resolve TikTok URLs or ids into normalized data that an agent can rank, cite, and compare across other platforms.

Endpoints

20 ready-to-call endpoints

POST/tiktok/feed/recommended$min $0.001

Get TikTok recommendation videos

Return a batch of videos from TikTok's recommendation feed for a given region. Useful for sampling trending and algorithmically surfaced content across a market.

Details →
GET/tiktok/hashtags/{id}$min $0.001

Get a TikTok hashtag by ID

Return a TikTok hashtag (challenge) by its numeric ID, including its title, description, and aggregate view count. Useful for sizing a hashtag's reach before pulling its videos.

Details →
GET/tiktok/hashtags/{id}/videos$min $0.001

List videos tagged with a TikTok hashtag

Return the videos tagged with a given TikTok hashtag, by hashtag ID, as a cursor-paginated list. Useful for tracking trend participation and collecting user-generated content around a campaign.

Details →
GET/tiktok/music/{id}$min $0.001

Get a TikTok music track by ID

Return a TikTok sound (music track) by its numeric ID, including title, author, and usage stats. Useful for sound-trend research and identifying the audio driving a trend.

Details →
GET/tiktok/music/{id}/videos$min $0.001

List videos using a TikTok music track

Return the videos that use a given TikTok sound, by music ID, as a cursor-paginated list. Useful for measuring how a sound is spreading and finding the creators who adopted it.

Details →
GET/tiktok/search$min $0.001

General TikTok search (returns videos)

Returns TikTok videos for the keyword `q`. Use type-specific endpoints when needed.

Details →
GET/tiktok/search/hashtags$min $0.001

Search TikTok hashtags by keyword

Search TikTok hashtags by keyword, returning matching hashtags with their metadata as a cursor-paginated list. Useful for trend discovery and planning hashtag strategy.

Details →
GET/tiktok/search/users$min $0.001

Search TikTok users by keyword

Search TikTok accounts by keyword, returning matching public profiles as a cursor-paginated list. Useful for creator discovery, influencer research, and competitive account mapping.

Details →
GET/tiktok/search/videos$min $0.001

Search TikTok videos by keyword

Returns a paginated list of TikTok videos matching the keyword `q`. Use `next_cursor` from the response as the next request's `cursor`.

Details →
GET/tiktok/users/{id}$min $0.001

Get a TikTok user profile

Returns the canonicalized public profile for the TikTok user with the given sec_uid, numeric user id, or handle.

Details →
GET/tiktok/users/{id}/followers$min $0.001

List a TikTok user's followers

Return a paginated list of the accounts that follow a given TikTok user, identified by sec_uid, numeric ID, or handle. Useful for audience analysis and mapping a creator's following.

Details →
GET/tiktok/users/{id}/following$min $0.001

List users a TikTok user is following

Return a paginated list of the accounts a given TikTok user follows, identified by sec_uid, numeric ID, or handle. Returns empty when the user hides their following list — useful for mapping a creator's interest graph.

Details →
GET/tiktok/users/{id}/likes$min $0.001

List videos liked by a TikTok user

Returns a paginated list of videos the user has liked where the user has made their likes public.

Details →
GET/tiktok/users/{id}/videos$min $0.001

List videos posted by a TikTok user

Returns a paginated list of public videos posted by the user. Use `next_cursor` from the response as the next request's `cursor`.

Details →
GET/tiktok/users/resolve$min $0.001

Resolve a TikTok username to a user id

Accepts a public TikTok username (handle) and returns the user's stable opaque id for other /tiktok/users/{id} endpoints.

Details →
GET/tiktok/videos/{id}$min $0.001

Get a TikTok video by ID

Returns canonicalized metadata for a single TikTok video. The `{id}` must be the numeric TikTok video id.

Details →
GET/tiktok/videos/{id}/comments$min $0.001

List top-level comments on a TikTok video

Returns a paginated list of top-level comments on the given video. Use `next_cursor` from the response as the next request's `cursor`.

Details →
GET/tiktok/videos/{id}/comments/{comment_id}/replies$min $0.001

List replies to a TikTok comment

Return the replies to a specific comment on a TikTok video, identified by the numeric video ID and comment ID, as a cursor-paginated list. Useful for following threaded conversations and analyzing audience discussion.

Details →
POST/tiktok/videos/batch$min $0.001

Batch-fetch TikTok videos by ID

Return canonicalized metadata — author, captions, sound, and engagement counts — for up to 20 TikTok videos in one request, by numeric video ID. Useful for hydrating a set of videos without one call each.

Details →
GET/tiktok/videos/resolve$min $0.001

Resolve a TikTok share URL to a video

Accepts a TikTok share URL (long or short / vm.tiktok.com) and returns the canonical Video object.

Details →