TikTok API for AI agents — UnifAPI

UnifAPI’s TikTok API gives AI agents access to TikTok videos, profiles, hashtags, sounds, and the trending feed — through one normalized endpoint.

Endpoints (v1)

Endpoint Description
tiktok/videos/get Fetch a video by id / share URL
tiktok/videos/comments Comments on a video
tiktok/users/get Profile by username
tiktok/users/videos Recent videos by a user
tiktok/hashtag Posts under a hashtag
tiktok/search Search videos / users
tiktok/trending Currently trending content

Example

curl https://api.unifapi.com/v1/tiktok/trending \
  -H "Authorization: Bearer $UNIFAPI_KEY" \
  -d '{"geo": "US"}'

What it’s for

→ Start free · Browse all APIs