GET /v1/douyin/aweme_related
Douyin related videos API: find similar videos by video ID
Returns the videos Douyin ranks as related to one video, each with caption, likes, comments and author. Send aweme_id. Douyin picks them by similar content, so they find creators in the same niche; they are not collaborations.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/douyin/aweme_related?aweme_id=7626744113161170259' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/douyin/aweme_related",
params={
"aweme_id": "7626744113161170259",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
aweme_id required | query | string | A numeric Douyin video id, or the https://www.douyin.com/video/{id} URL. |
cached | query | auto | cache_only | live | auto (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. |
get_raw | query | boolean | true returns the upstream JSON exactly as Douyin answered it instead of the normalized Post[]. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": [
{
"id": "7690075080454182378",
"shortcode": null,
"taken_at": "2026-09-27T04:58:51+00:00",
"kind": "video",
"product_type": "0",
"caption": "喜人四大名著之二吕严去酷滕家过年 最强吐槽役吕严没有吐槽空间,只弱弱反驳了几句豆奶没有乳糖#名场面连麦 #吕严 #酷酷的天放 #喜人 #酷滕",
"hashtags": [
"名场面连麦",
"吕严",
"喜人"
],
"mentions": [],
"accessibility_caption": null,
"likes": 119345,
"comments": 2036,
"views": null,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "84915326471",
"username": "wenrou_xiaohu",
"full_name": "温柔小狐",
"is_verified": false,
"is_private": null,
"avatar_url": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_73dd13af4f098c1bd1d45e98755a5e0c.jpeg?from=327834062",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAAXabozy4mboxKCKoEAsyUeWVbxpDOfe3uFbpkptyAY_I"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": "7690075035825883944",
"title": "@温柔小狐创作的原声",
"artist": "温柔小狐",
"is_original": false
},
"thumbnail_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos/b1b87dc52bb81daaee72dfc7bce12037~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2108494800&x-signature=OLx9ORlOFN5Ze1xBEkZEQfQGNFw%3D&from=327834062&s=PackSourceEnum_WEBPC_R…",
"video_duration": 345.734,
"media": [
{
"kind": "video",
"url": "https://v3-web-prime.douyinvod.com/video/tos/cn/tos-cn-ve-15c000-ce/os4M9LbBIEWIgucFU4eSfmnA7upDVGOeJQU0DX/?a=6383&ch=164&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=917&bt=917&cs=0&ds=4&ft=L~zg4YX1DyjNHvVQ9wnFjKHhd.ZuWkK73-ApQX&mime_type=vid…",
"width": 1206,
"height": 1142,
"duration": 345.734
}
],
"media_urls": [
"https://v3-web-prime.douyinvod.com/video/tos/cn/tos-cn-ve-15c000-ce/os4M9LbBIEWIgucFU4eSfmnA7upDVGOeJQU0DX/?a=6383&ch=164&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=917&bt=917&cs=0&ds=4&ft=L~zg4YX1DyjNHvVQ9wnFjKHhd.ZuWkK73-ApQX&mime_type=vid…"
],
"extra": {
"url": "https://www.douyin.com/video/7690075080454182378",
"shares": 91117,
"saves": 7977,
"region": "CN"
}
},
{
"id": "7692133500611361905",
"shortcode": null,
"taken_at": "2026-10-02T18:06:36+00:00",
"kind": "video",
"product_type": "0",
"caption": "小何能有什么心思 只是想知道头发里面空心还是实心罢了@何秋亊 #何铮 #何秋亊 #李真棒 #何秋亊直播录屏 #直播录屏分享",
"hashtags": [
"何秋亊",
"何秋亊直播录屏",
"何铮"
],
"mentions": [
"何秋亊"
],
"accessibility_caption": null,
"likes": 42669,
"comments": 341,
"views": null,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "1097769915517945",
"username": "55355887971",
"full_name": "鱼鱼籽🍂",
"is_verified": false,
"is_private": null,
"avatar_url": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_4ac59af5b5262c1978605865db63460a.jpeg?from=327834062",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAAp1sWYZxjx98DE8EmB8-J3gSYBRs_ZbMwh-aZUVLgo8_wYxnWRNXLFVEnK6m4x8Cb"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": "7692133265355852553",
"title": "@鱼鱼籽🍂创作的原声",
"artist": "鱼鱼籽🍂",
"is_original": false
},
"thumbnail_url": "https://p3-pc-sign.douyinpic.com/image-cut-tos-priv/f27decc36418e06a81505eb86daf0adb~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2108494800&x-signature=eqj2wNwc%2BMx9kAiFibu%2F5qd%2B6Y8%3D&from=327834062&s=PackSourceE…",
"video_duration": 124.272,
"media": [
{
"kind": "video",
"url": "https://v3-web-prime.douyinvod.com/video/tos/cn/tos-cn-ve-15c000-ce/oAlBUDwXvAIp7yvJQBe11UClHiEeiASScfTEK8/?a=6383&ch=164&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=1271&bt=1271&cs=0&ds=4&ft=L~zg4YX1DyjNHvVQ9wnFjKHhd.ZuWkK73-ApQX&mime_type=v…",
"width": 1080,
"height": 1440,
"duration": 124.272
}
],
"media_urls": [
"https://v3-web-prime.douyinvod.com/video/tos/cn/tos-cn-ve-15c000-ce/oAlBUDwXvAIp7yvJQBe11UClHiEeiASScfTEK8/?a=6383&ch=164&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=1271&bt=1271&cs=0&ds=4&ft=L~zg4YX1DyjNHvVQ9wnFjKHhd.ZuWkK73-ApQX&mime_type=v…"
],
"extra": {
"url": "https://www.douyin.com/video/7692133500611361905",
"shares": 61481,
"saves": 1555,
"region": "CN"
}
}
],
"meta": {
"source": "live",
"fetched_at": "2026-10-27T21:05:17.314411+00:00",
"cost": "$0.0005",
"balance": "$9.9955",
"request_id": "req_704c07d50a2709963f56358ce8b1aecf"
}
}How it works
The videos Douyin ranks as related to one video, with their authors. Douyin picks them by similar content, so they find creators in the same niche; they are not collaborations. 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
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | cached=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. |
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. |