GET /v1/tiktok/videos

TikTok stored videos API: captions, plays and likes by username

Returns the videos we have stored for a TikTok account, newest first, with caption, plays, likes, comments, shares, publish time, video and cover URLs, duration and sound. Send q as a username and limit up to 100; pass next_cursor back as cursor for the next page. For a live walk of every video, use the TikTok user videos API.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/tiktok/videos?q=flighthouse' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/tiktok/videos",
    params={
        "q": "flighthouse",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
q requiredquerystringTikTok username, @handle, or tiktok.com/@handle URL. Example flighthouse.
limit queryintegerHow many videos to return (1โ€“100). Flat price regardless of count. Default 30.
cursor querystringOpaque next_cursor from the previous page.

Example response

The example response of the API reference.

json
{
  "data": {
    "videos": [
      {
        "tiktok_video_id": "7514078239745117470",
        "caption": "Hint: The duck is technically a platypus ๐Ÿคญ @Toni @Brianne Howey #antoniagentry #briannehowey #ginnyandgeorgia #ginnyandgeorgiaseason3 #guesstheshow @Netflix ",
        "likes": 186653,
        "comments": 814,
        "shares": 510,
        "plays": 5732193,
        "posted_at": "2025-06-09T22:21:33Z",
        "video_url": "https://www.tiktok.com/@flighthouse/video/7514078239745117470",
        "cover_url": "https://p19-pu-sign-useast8.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oMfRQE2RU1meiykO1BB7Qt6vABFNEoA1R1DVjE~tplv-photomode-tiktok-play.jpeg?lk3s=b59d6b55&x-expires=1750114800&x-signature=UW4EKVSc2%2F8aLe6XKz34kr2vIpw%3D&shp=b59d6b55&shcp=-",
        "duration": 8,
        "music_title": "Fame is a Gun",
        "music_author": "Addison Rae"
      },
      {
        "tiktok_video_id": "7512557695241555246",
        "caption": "OMW to go binge watch the new season of #ginnyandgeorgia like ๐Ÿƒโ€โ™€๏ธ @Toni @Brianne Howey #antoniagentry #briannehowey #overcompensating #ginnyandgeorgiaseason3 @Netflix  ",
        "likes": 839092,
        "comments": 893,
        "shares": 3243,
        "plays": 9938624,
        "posted_at": "2025-06-05T20:00:57Z",
        "video_url": "https://www.tiktok.com/@flighthouse/video/7512557695241555246",
        "cover_url": "https://p19-pu-sign-useast8.tiktokcdn-us.com/tos-useast5-p-0068-tx/ooi1IpxfP3jIZkCI09I0JAirGHbBXNwBAC5qBA~tplv-photomode-tiktok-play.jpeg?lk3s=b59d6b55&x-expires=1749848400&x-signature=hn1qpbo8e%2BjEiHv473mGMgnzNUU%3D&shp=b59d6b55&shcp=-",
        "duration": 26,
        "music_title": "Soul Survivor",
        "music_author": "Young Jeezy"
      }
    ],
    "next_cursor": null,
    "has_more": false
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$0.7952",
    "request_id": "req_2a7080ca40697d71b8a96a154129fa9d"
  }
}

How it works

An account's tracked videos, newest first: caption, likes/comments/shares/plays, publish time, video/cover URLs, duration, and music. DB read over the tracked corpus โ€” flat price for up to 100 videos a page. next_cursor is null on the last page; send it back as cursor for the next one. For a live walk of every video, use /v1/tiktok/item_list.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404Account not in the tracked corpus.
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.

Guides that use this endpoint