GET /v1/tiktok/item_list
TikTok user videos API: list every video of an account by username
Returns a TikTok account's videos, newest first, each with caption, hashtags, views, likes, comments, sound and author. Send handle; with max_pages=1 you get one page of up to 35 videos back at once, and without it the call starts a job that walks the feed until since, max_pages or the end. get_raw=true returns TikTok's own JSON.
- Price
- $0.0005 per 35 results
- Billing
- $0.0005/35
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/tiktok/item_list?handle=nike&max_pages=1' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/tiktok/item_list",
params={
"handle": "nike",
"max_pages": "1",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
handle required | query | string | TikTok handle, with or without @, or a tiktok.com/@handle URL. |
since | query | string | Stop at this date. 2025-09-21 means midnight UTC (2025-09-21T00:00:00Z). Datetimes must use RFC3339 with a timezone, for example 2025-09-21T09:00:00+09:00. 365d means 365 days before submission. Invalid calendar dates return 400. With max_pages, the first boundary reached stops the walk. since alone creates a job. |
max_pages | query | integer | Maximum pages to fetch. -1 walks until exhaustion or since with no page cap, and must be written. Omitted, since alone bounds the walk; with neither, the job stops after 10 pages. Any positive integer is accepted. 1 returns one page synchronously with HTTP 200; any other value creates a durable job with HTTP 202. |
cursor | query | string | Opaque next_cursor from an earlier answer of this operation, also with get_raw=true. A native TikTok cursor from a raw page answers 400. Result download cursors belong to the results route. |
page_size | query | integer | Native count, default 35. TikTok answers at most 35. Billed per 35 unique returned items, one native page. |
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. cache_only reads one saved page per request: omit max_pages or pass 1, and continue with next_cursor. |
get_raw | query | boolean | true returns the upstream JSON exactly as TikTok answered it instead of the normalized Page[Post]. |
Idempotency-Key | header | string | Reuse this key with the same inputs to recover a lost job submission. A different input with the same key returns 409. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": {
"items": [
{
"id": "7695069640657079565",
"shortcode": null,
"taken_at": "2026-10-10T16:00:43+00:00",
"kind": "video",
"product_type": null,
"caption": "Snowball fight ready",
"hashtags": [],
"mentions": [],
"accessibility_caption": null,
"likes": 1419,
"comments": 41,
"views": 45900,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "208464585232822272",
"username": "nike",
"full_name": "Nike",
"is_verified": true,
"is_private": false,
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e0b0ac7b6ad6447a8e923fd1eb162f2c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=eb254230&x-expires=1791982800&x-signature=1QyErOKNGhmDnSaGKnhTLIEdRVM%3D&t=4d5b0474&…",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAA_3ndMt8d_tECTdpKgCxcx238tOnQZX-20wqN01aMui5zQ7hsqSdff-jC5qYC-Cl_"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": null,
"title": "original sound",
"artist": "Nike",
"is_original": null
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oomqCKPAEpSFYDYADgwEySfAREAzDDAvEfnIYS~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=0OYbQ2lyESHF5j5bhSFADwlfzxQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…",
"video_duration": 28,
"media": [],
"media_urls": [],
"extra": {
"url": "https://www.tiktok.com/@nike/video/7695069640657079565",
"shares": 19,
"saves": 52
}
},
{
"id": "7694698658817756429",
"shortcode": null,
"taken_at": "2026-10-09T16:01:22+00:00",
"kind": "video",
"product_type": null,
"caption": "Thermodynamics testing footage 001. ACG Lava Flow Ultralight. Meet your new heat source ♨️",
"hashtags": [],
"mentions": [],
"accessibility_caption": null,
"likes": 7822,
"comments": 81,
"views": 78800,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "208464585232822272",
"username": "nike",
"full_name": "Nike",
"is_verified": true,
"is_private": false,
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e0b0ac7b6ad6447a8e923fd1eb162f2c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=eb254230&x-expires=1791982800&x-signature=1QyErOKNGhmDnSaGKnhTLIEdRVM%3D&t=4d5b0474&…",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAA_3ndMt8d_tECTdpKgCxcx238tOnQZX-20wqN01aMui5zQ7hsqSdff-jC5qYC-Cl_"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": null,
"title": "original sound",
"artist": "Nike",
"is_original": null
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oU9EJfQJJgHRB9AIAI4iAoCSDDyiEpdaqEfOAD~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=tRjbR%2FxEPsHczoo9pybe7D9asg0%3D&t=4d5b0474&ps=13740610&shp=81f88b70&s…",
"video_duration": 24,
"media": [],
"media_urls": [],
"extra": {
"url": "https://www.tiktok.com/@nike/video/7694698658817756429",
"shares": 150,
"saves": 201
}
},
{
"id": "7694398644551748877",
"shortcode": null,
"taken_at": "2026-10-08T20:36:48+00:00",
"kind": "video",
"product_type": null,
"caption": "Five MVPs. At some point, it stops being a debate and starts being a pattern. Congrats, @A’ja Wilson ",
"hashtags": [],
"mentions": [],
"accessibility_caption": null,
"likes": 13500,
"comments": 237,
"views": 64500,
"counts_hidden": null,
"comments_disabled": null,
"is_pinned": null,
"is_paid_partnership": null,
"owner": {
"id": "208464585232822272",
"username": "nike",
"full_name": "Nike",
"is_verified": true,
"is_private": false,
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/e0b0ac7b6ad6447a8e923fd1eb162f2c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=eb254230&x-expires=1791982800&x-signature=1QyErOKNGhmDnSaGKnhTLIEdRVM%3D&t=4d5b0474&…",
"latest_story_at": null,
"extra": {
"sec_uid": "MS4wLjABAAAA_3ndMt8d_tECTdpKgCxcx238tOnQZX-20wqN01aMui5zQ7hsqSdff-jC5qYC-Cl_"
}
},
"coauthors": [],
"sponsors": [],
"tagged": [],
"location": null,
"audio": {
"id": null,
"title": "original sound",
"artist": "Nike",
"is_original": null
},
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/owAefLthAtWN9GWeQQfcfbAnGyIiPWuQAASPIa~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=e5SSGR1hZX75V%2FVtyRQVEGSAW6M%3D&t=4d5b0474&ps=13740610&shp=81f88b70&s…",
"video_duration": 30,
"media": [],
"media_urls": [],
"extra": {
"url": "https://www.tiktok.com/@nike/video/7694398644551748877",
"shares": 648,
"saves": 480
}
}
],
"pages": [
{
"cursor": null,
"fetched_at": "2026-10-12T13:42:50.080320+00:00",
"count": 35
}
],
"next_cursor": "eyJjdXJzb3IiOiIxNzgxNDA3OTcyNzA5Iiwib3AiOiJpdGVtX2xpc3QifQ",
"has_more": true,
"stop_reason": "pages",
"coverage": {
"since": null,
"oldest_at": "2026-10-08T20:36:48+00:00",
"since_reached": false
}
},
"meta": {
"source": "live",
"fetched_at": "2026-10-12T13:42:50.080320+00:00",
"cost": "$0.0005",
"balance": "$3.3627",
"request_id": "req_c57bc898ef47b9ce328001f733dac433"
}
}How it works
The account's videos, newest first. With max_pages=1, returns Page[Post] under data; with get_raw=true returns the upstream JSON.
The default request creates a durable job (202). Use max_pages=1 for one synchronous Page response (200). Poll status_url, then read results_url with its opaque cursor. Acquisition stops at the first of since, max_pages, or exhaustion. Jobs continue after disconnects. Result responses are bounded to 3 MiB; this does not limit the crawl. Supply Idempotency-Key to recover a lost submission response; reuse it with the same inputs.
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.
Billing: $0.0005 per 35 unique returned items (one native page), rounded up to a minimum of one billing unit. Jobs settle once after successful completion. Submission, polling and repeat downloads are free.
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. |