GET /v1/tiktok/stored/post
TikTok stored video API: caption, plays and author by video ID
Returns one TikTok video we have stored, with its caption, counts, publish time, video and cover URLs, duration, sound and author. Send q as the video id or its tiktok.com/@handle/video/<id> URL. It reads our database only, so a video we never stored is a 404, not billed and never a crawl; the TikTok video API reads it live.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/tiktok/stored/post?q=7697307919943060767' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/tiktok/stored/post",
params={
"q": "7697307919943060767",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | TikTok video id, or its tiktok.com/@handle/video/<id> URL. |
Example response
The example response of the API reference.
json
{
"data": {
"tiktok_video_id": "7697307919943060767",
"caption": "I guess is time to retire #learnfromkhaby #comedy ๐ฅ",
"likes": 302500,
"comments": 7406,
"shares": 32500,
"plays": 4400000,
"posted_at": "2026-10-16T16:46:21Z",
"video_url": "https://www.tiktok.com/@khaby.lame/video/7697307919943060767",
"duration": 9,
"music_title": "original sound",
"music_author": "Khabane lame",
"author_username": "khaby.lame",
"author_full_name": "Khabane lame",
"author_followers": 162990885,
"author_is_verified": true,
"cover_url": "https://api.virev.ai/v1/media/tiktok_video/29940675/video_thumbnail?e=1793750400&s=47b7ff47153001fd73798b60ae3ac4a7"
},
"meta": {
"cost": "$0.0005",
"balance": "$3.3627",
"request_id": "req_5c448ce558f96ef85efc4cfc04ae4668"
}
}How it works
One stored video with its author: caption, counts, publish time, video and cover URLs, duration and sound.
Strictly DB: this reads what the crawler already stored and never crawls. A miss is a 404 and is not billed. Fetch a fresh one with /v1/tiktok/item_detail.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The video is not stored. You are not charged. |
429 | Over 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. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |