GET /v1/tiktok/related_item_list
TikTok related videos API: find similar videos by video URL
Returns the videos TikTok ranks as similar to one video, each with caption, views, likes, comments and author. Send url as the full video URL. TikTok picks them by similar content, so they find creators in the same niche; they do not show duets, stitches or collaborations.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/tiktok/related_item_list?url=https%3A%2F%2Fwww.tiktok.com%2F%40khaby.lame%2Fvideo%2F7681719358225239326' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/tiktok/related_item_list",
params={
"url": "https://www.tiktok.com/@khaby.lame/video/7681719358225239326",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
url required | query | string | TikTok video URL, https://www.tiktok.com/@handle/video/<id>. A bare video id is refused, because the read needs the author. |
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 TikTok (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 TikTok 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": "7691740195418377502",
"shortcode": null,
"taken_at": "2026-10-01T16:40:54+00:00",
"kind": "video",
"product_type": null,
"caption": "Just give me 5 more minutes 😭#learnfromkhaby #comedy ",
"hashtags": [
"comedy"
],
"mentions": [],
"accessibility_caption": null,
"likes": 880300,
"comments": 12400,
"views": 9700000,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": false,
"owner": {
"id": "127905465618821121",
"username": "khaby.lame",
"full_name": "Khabane lame",
"is_verified": true,
"is_private": false,
"avatar_url": "https://f005.backblazeb2.com/file/influencer-prod/production/crawler/tiktok_account/57323.webp",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": "7691740326570019615",
"title": "original sound",
"artist": "Khabane lame",
"is_original": true
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o0jRDQRMAbfFAlZX8eqGQcARBqerRfAHR7gVSU~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=DsVcepuvDU%2FuQqXuupcG0QAklfQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…",
"video_duration": 34,
"media": [
{
"kind": "video",
"url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYVBvkqAFowDQa0IgGyRS9fyEWEFejEqAQ0IGi/?a=1988&bti=ODszNWYuMDE6&&bt=791&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=Ozo7NjU4aTkzOTNlODVmM0BpM2Uzb…",
"width": 720,
"height": 1280,
"duration": 34
}
],
"media_urls": [
"https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYVBvkqAFowDQa0IgGyRS9fyEWEFejEqAQ0IGi/?a=1988&bti=ODszNWYuMDE6&&bt=791&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=Ozo7NjU4aTkzOTNlODVmM0BpM2Uzb…"
],
"extra": {
"url": "https://www.tiktok.com/@khaby.lame/video/7691740195418377502",
"shares": 56400,
"saves": 45253
}
},
{
"id": "7689510970292489502",
"shortcode": null,
"taken_at": "2026-09-25T16:30:18+00:00",
"kind": "video",
"product_type": null,
"caption": "Ye… I’m gonna mind my business #learnfromkhaby #comedy ",
"hashtags": [
"comedy"
],
"mentions": [],
"accessibility_caption": null,
"likes": 1900000,
"comments": 30500,
"views": 15600000,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": false,
"owner": {
"id": "127905465618821121",
"username": "khaby.lame",
"full_name": "Khabane lame",
"is_verified": true,
"is_private": false,
"avatar_url": "https://f005.backblazeb2.com/file/influencer-prod/production/crawler/tiktok_account/57323.webp",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": "7689511071434001182",
"title": "original sound",
"artist": "Khabane lame",
"is_original": true
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/okAC2FovEtZZDosYRffBq2EiAVEYEiGIuqyVIN~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=TpqgsWjQRkigfuob7zX2XG%2BeB5M%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…",
"video_duration": 26,
"media": [
{
"kind": "video",
"url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oseqRRGFRfG2rtCIvQLSfQn2QaFeIAFEocgUzA/?a=1988&bti=ODszNWYuMDE6&&bt=880&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=ZjkzZmg6NThmaGdkOmc3ZEBpamhwa…",
"width": 720,
"height": 1280,
"duration": 26
}
],
"media_urls": [
"https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oseqRRGFRfG2rtCIvQLSfQn2QaFeIAFEocgUzA/?a=1988&bti=ODszNWYuMDE6&&bt=880&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=ZjkzZmg6NThmaGdkOmc3ZEBpamhwa…"
],
"extra": {
"url": "https://www.tiktok.com/@khaby.lame/video/7689510970292489502",
"shares": 106500,
"saves": 100406
}
},
{
"id": "7683944847840922911",
"shortcode": null,
"taken_at": "2026-09-10T16:30:36+00:00",
"kind": "video",
"product_type": null,
"caption": "DM to purchase ✌🏾#learnfromkhaby #comedy ",
"hashtags": [
"comedy"
],
"mentions": [],
"accessibility_caption": null,
"likes": 8700000,
"comments": 60100,
"views": 109200000,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": false,
"owner": {
"id": "127905465618821121",
"username": "khaby.lame",
"full_name": "Khabane lame",
"is_verified": true,
"is_private": false,
"avatar_url": "https://f005.backblazeb2.com/file/influencer-prod/production/crawler/tiktok_account/57323.webp",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": "7683944896974523167",
"title": "original sound",
"artist": "Khabane lame",
"is_original": true
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/okvIlfuZIGtR8q3FKQLFAZQIjAfYAiXeIAEVAb~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=fPohMjyBegaLAcrg1T8ZMSzufok%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=…",
"video_duration": 31,
"media": [
{
"kind": "video",
"url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oQ2AaR2QA82CW2q1I7CAiaHgziEMIQiimyCUfB/?a=1988&bti=ODszNWYuMDE6&&bt=667&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=NGg7OTYzPDY3NDw8ZWllaEBpM2t3O…",
"width": 720,
"height": 1280,
"duration": 31
}
],
"media_urls": [
"https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oQ2AaR2QA82CW2q1I7CAiaHgziEMIQiimyCUfB/?a=1988&bti=ODszNWYuMDE6&&bt=667&ft=-Csk_msoPD12N9~ugY-UxWK5SY9e3wv25ocAp&mime_type=video_mp4&rc=NGg7OTYzPDY3NDw8ZWllaEBpM2t3O…"
],
"extra": {
"url": "https://www.tiktok.com/@khaby.lame/video/7683944847840922911",
"shares": 273800,
"saves": 313149
}
}
],
"meta": {
"source": "db",
"fetched_at": "2026-11-25T07:48:41.054238+00:00",
"cost": "$0.0005",
"balance": "$326.8507",
"request_id": "req_7b7328807ed11d33255cecd4540ca162"
}
}How it works
The videos TikTok ranks as similar to one video. TikTok picks them by similar content, so they find creators in the same niche; they do not show duets, stitches or collaborations. Returns Post[] under data; with get_raw=true returns the upstream JSON.
A field TikTok does not carry is null, a list it does not carry is [], and TikTok-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 TikTok 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. |