UnifAPI Docs

Quickstart

Make your first call to UnifAPI in under two minutes.

Get from signup to your first successful response in three steps.

Create an account

Sign up at unifapi.com/signup. Free to start — no credit card required.

Grab your API key

Copy your key from the dashboard. Treat it like a password.

export UNIFAPI_KEY="ua_live_..."

Make a call

Every endpoint is HTTP + JSON. One key, one base URL.

curl https://api.unifapi.com/tiktok/videos/7350810998023949599 \
  -H "Authorization: Bearer $UNIFAPI_KEY"

A successful response is the canonical resource object itself — no envelope:

{
  "id": "7350810998023949599",
  "title": "im so sick of being tired im so tired of being sick",
  "video_description": "im so sick of being tired im so tired of being sick",
  "duration": 6,
  "author": {
    "id": "MS4wLjABAAAA...",
    "username": "jennmelon",
    "display_name": "Jenn Melon"
  },
  "like_count": 2002496,
  "comment_count": 4350,
  "share_url": "https://www.tiktok.com/@jennmelon/video/7350810998023949599"
}

List endpoints (e.g. /tiktok/users/{id}/videos) wrap items in { items, has_more, next_cursor }. Errors come back with HTTP 4xx/5xx and an error object — see Errors.

Next steps

On this page