GET /v1/tiktok/challenge_item_list

TikTok hashtag videos API: videos that use a hashtag by tag name

Returns the videos of a TikTok hashtag, each with caption, views, likes, comments and author. Send tag with or without #. TikTok pads the feed with videos that lack the tag, so only videos that carry it are answered; get_raw=true returns every item TikTok sent. Use max_pages=1 for one page at once, or omit it to run a job.

Price
$0.0005 per 30 results
Billing
$0.0005/30
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/tiktok/challenge_item_list?tag=skincare&max_pages=1' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/tiktok/challenge_item_list",
    params={
        "tag": "skincare",
        "max_pages": "1",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
tag requiredquerystringA hashtag, with or without #. Example skincare.
since querystringStop 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 queryintegerMaximum 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. Example 1.
cursor querystringOpaque 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 queryintegerNative count, default 30. TikTok answers at most 30. Billed per 30 unique returned items, one native page. Default 30.
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 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. Default auto.
get_raw querybooleantrue returns the upstream JSON exactly as TikTok answered it instead of the normalized Page[Post]. Default false.
Idempotency-Key headerstringReuse 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.

json
{
  "data": {
    "items": [
      {
        "id": "6890345164812913925",
        "shortcode": null,
        "taken_at": "2020-11-02T02:18:53+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "Reply to @mkujawaaa Should I do more responses like this to your questions? Lmk in the comments! #skincarebyhyram #skincare",
        "hashtags": [
          "skincare",
          "skincarebyhyram"
        ],
        "mentions": [],
        "accessibility_caption": null,
        "likes": 148800,
        "comments": 1858,
        "views": 1200000,
        "counts_hidden": null,
        "comments_disabled": null,
        "is_pinned": null,
        "is_paid_partnership": null,
        "owner": {
          "id": "6756108693149205510",
          "username": "hyram",
          "full_name": "Hyram",
          "is_verified": true,
          "is_private": false,
          "avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7314271688706195461~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=794252f8&x-expires=1791982800&x-signature=lHsDzBx8WR4%2FXxT7CFUf%2BLBgQao%3D&t=4d5b0474&ps=137406…",
          "latest_story_at": null,
          "extra": {
            "sec_uid": null
          }
        },
        "coauthors": [],
        "sponsors": [],
        "tagged": [],
        "location": null,
        "audio": {
          "id": null,
          "title": "original sound",
          "artist": "Hyram",
          "is_original": null
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/d5b262918103438b98a2860b3f8edb65~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=9a3%2BcVW6eymG7Gv9i0mZIneIze4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2…",
        "video_duration": 55,
        "media": [],
        "media_urls": [],
        "extra": {
          "url": "https://www.tiktok.com/@hyram/video/6890345164812913925",
          "shares": 616,
          "saves": 2277
        }
      },
      {
        "id": "6887980428649696513",
        "shortcode": null,
        "taken_at": "2020-10-26T17:21:59+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "🧝🏽‍♀️💥 #fyp #foryou #skincare #oilyskin #doctorv #paulaschoice #cerave #xyzbca",
        "hashtags": [
          "cerave",
          "doctorv",
          "foryou"
        ],
        "mentions": [],
        "accessibility_caption": null,
        "likes": 5746,
        "comments": 64,
        "views": 138100,
        "counts_hidden": null,
        "comments_disabled": null,
        "is_pinned": null,
        "is_paid_partnership": null,
        "owner": {
          "id": "6735157991278806022",
          "username": "drvanitarattan",
          "full_name": "SkincareByDrV",
          "is_verified": true,
          "is_private": false,
          "avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/15260c2b3dc9fcf4c885559fd41a5e0f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=9a4c9070&x-expires=1791982800&x-signature=ePJ2YTsJ1xX2eZr%2FfbNkU4u8Sq0%3D&t=4d5b047…",
          "latest_story_at": null,
          "extra": {
            "sec_uid": null
          }
        },
        "coauthors": [],
        "sponsors": [],
        "tagged": [],
        "location": null,
        "audio": {
          "id": null,
          "title": "yike or die remix",
          "artist": "sydney♡₊˚",
          "is_original": null
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-p-0037/6393cf85cb104d27bff4a33de0f04257~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=Svt8xQluzDB3rVm6bKQGEsZKZQQ%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&…",
        "video_duration": 15,
        "media": [],
        "media_urls": [],
        "extra": {
          "url": "https://www.tiktok.com/@drvanitarattan/video/6887980428649696513",
          "shares": 99,
          "saves": 552
        }
      },
      {
        "id": "6877613497849482497",
        "shortcode": null,
        "taken_at": "2020-09-28T18:53:00+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "💥WHY WE GET ACNE! DM me on IG for help: mattrandon🥰 (follow first) #skincare #skincareroutine #acne #pimple #learnontiktok #DreamLongChallenge",
        "hashtags": [
          "acne",
          "dreamlongchallenge",
          "learnontiktok"
        ],
        "mentions": [],
        "accessibility_caption": null,
        "likes": 162800,
        "comments": 1310,
        "views": 1000000,
        "counts_hidden": null,
        "comments_disabled": null,
        "is_pinned": null,
        "is_paid_partnership": null,
        "owner": {
          "id": "6754664095708808197",
          "username": "mattrandon",
          "full_name": "Mama Randon🧩",
          "is_verified": false,
          "is_private": false,
          "avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/1860f0af5ad3e3b95df184cc4e25361c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=126207e7&x-expires=1791982800&x-signature=gQSVmg6dfO7K%2F%2FWT0AGYnTfHsvM%3D…",
          "latest_story_at": null,
          "extra": {
            "sec_uid": null
          }
        },
        "coauthors": [],
        "sponsors": [],
        "tagged": [],
        "location": null,
        "audio": {
          "id": null,
          "title": "Smile (Simlish Version)",
          "artist": "Lily Allen",
          "is_original": null
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-p-0037/4da29497f1d3423a9d37ca5e64d5aee2~tplv-tiktokx-origin.image?dr=10395&x-expires=1791982800&x-signature=k2fEpYVLj1sWOQVq%2BVnIDzb3s08%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f…",
        "video_duration": 36,
        "media": [],
        "media_urls": [],
        "extra": {
          "url": "https://www.tiktok.com/@mattrandon/video/6877613497849482497",
          "shares": 2431,
          "saves": 17668
        }
      }
    ],
    "pages": [
      {
        "cursor": null,
        "fetched_at": "2026-10-12T13:39:35.921783+00:00",
        "count": 30
      }
    ],
    "next_cursor": "eyJjdXJzb3IiOiIzMCIsIm9wIjoiY2hhbGxlbmdlX2l0ZW1fbGlzdCJ9",
    "has_more": true,
    "stop_reason": "pages",
    "coverage": {
      "since": null,
      "oldest_at": "2020-09-28T18:53:00+00:00",
      "since_reached": false
    }
  },
  "meta": {
    "source": "live",
    "fetched_at": "2026-10-12T13:39:35.921783+00:00",
    "cost": "$0.0005",
    "balance": "$3.3627",
    "request_id": "req_4eb963d32fbf84551d8fef324b36e6de"
  }
}

How it works

A hashtag's videos. TikTok pads the feed with videos that lack the tag, so only videos that carry it are answered; get_raw=true returns every native item. 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 30 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

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 TikTok 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.

TikTok API guide