GET /v1/douyin/aweme_detail

Douyin video API: get likes, comments and caption by video ID

Returns one Douyin video or image post: caption, hashtags, likes, comments, sound, location and author. Send aweme_id as the numeric video id or a douyin.com/video/<id> URL. An unknown or removed video answers 404 and is not billed.

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

Example request

curl
curl 'https://api.virev.ai/v1/douyin/aweme_detail?aweme_id=7626744113161170259' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

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

Parameters

NameInTypeDescription
aweme_id requiredquerystringA numeric Douyin video id, or the https://www.douyin.com/video/{id} URL. Example 7626744113161170259.
cached queryauto | cache_only | liveauto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts Douyin (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. Default auto.
get_raw querybooleantrue returns the upstream JSON exactly as Douyin answered it instead of the normalized Post. Default false.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "id": "7626744113161170259",
    "shortcode": null,
    "taken_at": "2026-04-09T13:02:21+00:00",
    "kind": "video",
    "product_type": "0",
    "caption": "小城市的神人很多,大城市的神人很神#直播录屏回放 #魏辰宇 #炸裂",
    "hashtags": [
      "炸裂",
      "直播录屏回放",
      "魏辰宇"
    ],
    "mentions": [],
    "accessibility_caption": null,
    "likes": 47877,
    "comments": 2245,
    "views": null,
    "counts_hidden": null,
    "comments_disabled": null,
    "is_pinned": null,
    "is_paid_partnership": null,
    "owner": {
      "id": "92823093519336",
      "username": "62334810861",
      "full_name": "失败的魏",
      "is_verified": false,
      "is_private": null,
      "avatar_url": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_7a028112dd524d8f29b4f146abec6e65.jpeg?from=327834062",
      "latest_story_at": null,
      "extra": {
        "sec_uid": "MS4wLjABAAAArDVBosPJF3eIWVEFp0szuJ-e1V_-rK0ieJeWwpE77E8"
      }
    },
    "coauthors": [],
    "sponsors": [],
    "tagged": [],
    "location": null,
    "audio": {
      "id": "7626744109184699187",
      "title": "@失败的魏创作的原声",
      "artist": "失败的魏",
      "is_original": false
    },
    "thumbnail_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/98fc2facc12910cd9ad016a2ed55522d~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2108494800&x-signature=Z%2F2Sdo9OLBWiBjL1W454MzcEOkw%3D&from=327834062&s=PackSourceEnum_…",
    "video_duration": 471.534,
    "media": [
      {
        "kind": "video",
        "url": "https://v5-hl-zenl-ov.zjcdn.com/9b0c826ae5fbd09d1488d3ac0762e9b0/6ae13e11/video/tos/cn/tos-cn-ve-15/ocTGB1vQ7G48eZeEhAD0xRrrgAzTTVMiSXeBXC/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=1067&bt=1067&cs=0&ds=4&ft=CZdgCYlIDyjNHvVQ9wA…",
        "width": 1080,
        "height": 1920,
        "duration": 471.534
      }
    ],
    "media_urls": [
      "https://v5-hl-zenl-ov.zjcdn.com/9b0c826ae5fbd09d1488d3ac0762e9b0/6ae13e11/video/tos/cn/tos-cn-ve-15/ocTGB1vQ7G48eZeEhAD0xRrrgAzTTVMiSXeBXC/?a=6383&ch=26&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=1067&bt=1067&cs=0&ds=4&ft=CZdgCYlIDyjNHvVQ9wA…"
    ],
    "extra": {
      "url": "https://www.douyin.com/video/7626744113161170259",
      "shares": 109901,
      "saves": 2922,
      "region": "CN"
    }
  },
  "meta": {
    "source": "live",
    "fetched_at": "2026-10-27T21:05:14.442907+00:00",
    "cost": "$0.0005",
    "balance": "$9.9965",
    "request_id": "req_477ddadf8f47626653e6ca588cc613ae"
  }
}

How it works

One video or image post: caption, counts, hashtags, sound, location and author. An unknown or removed video answers 404 and is not billed. Returns Post under data; with get_raw=true returns the upstream JSON.

A field Douyin does not carry is null, a list it does not carry is [], and Douyin-only facts sit under extra. Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the Douyin account or item does not exist (not_found). You are not charged.
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.