GET /v1/tiktok/music_item_list

TikTok sound API: list the videos that use a sound by music ID

Returns the videos that use one TikTok sound, each with caption, views, likes, comments and author. Send music_id as the sound id or a tiktok.com/music/<title>-<id> URL. Use max_pages=1 for one page at once. Leave it out to run a job that reads 10 pages, or send max_pages=-1 to walk the whole list.

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/music_item_list?music_id=7681719448159619870&max_pages=1' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

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

Parameters

NameInTypeDescription
music_id requiredquerystringTikTok sound id, or a tiktok.com/music/<title>-<id> URL. Example 7681719448159619870.
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": "7681719358225239326",
        "shortcode": null,
        "taken_at": "2026-09-04T16:34:44+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "Well… that didn’t go as planned #learnfromkhaby #comedy ",
        "hashtags": [
          "comedy",
          "learnfromkhaby"
        ],
        "mentions": [],
        "accessibility_caption": null,
        "likes": 2400000,
        "comments": 33200,
        "views": 20700000,
        "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": "7681719448159619870",
          "title": "original sound",
          "artist": "Khabane lame",
          "is_original": true
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/ocklIYFbAlVjfsD1EADAQMmzRZqA5CEEAvEcfg~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=jaDTzk%2FHSH1DedOhM0xsfm%2B40aY%3D&t=4d5b0474&ps=13740610&shp=81f88b70&s…",
        "video_duration": 48,
        "media": [
          {
            "kind": "video",
            "url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ooEBHqvBF3KEEjFRmfEQQ1AVJ8AfP1taPqmIzD/?a=1988&bti=ODszNWYuMDE6&&bt=1219&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=ZGZmPDhpZ2U3aTgzMzhoNkBpanlt…",
            "width": 720,
            "height": 1280,
            "duration": 48
          }
        ],
        "media_urls": [
          "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ooEBHqvBF3KEEjFRmfEQQ1AVJ8AfP1taPqmIzD/?a=1988&bti=ODszNWYuMDE6&&bt=1219&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=ZGZmPDhpZ2U3aTgzMzhoNkBpanlt…"
        ],
        "extra": {
          "url": "https://www.tiktok.com/@khaby.lame/video/7681719358225239326",
          "shares": 42100,
          "saves": 107197
        }
      },
      {
        "id": "7699864790897921311",
        "shortcode": null,
        "taken_at": "2026-10-23T14:08:26+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "Bad luck🤦🏾‍♂️ #learnfromkhaby #comedy @Khabane lame ",
        "hashtags": [
          "comedy",
          "learnfromkhaby"
        ],
        "mentions": [
          "khaby.lame"
        ],
        "accessibility_caption": null,
        "likes": 460,
        "comments": 7,
        "views": 9618,
        "counts_hidden": null,
        "comments_disabled": null,
        "is_pinned": null,
        "is_paid_partnership": false,
        "owner": {
          "id": "7698863794353406990",
          "username": "khabelame_fan",
          "full_name": "khabelame_fan",
          "is_verified": false,
          "is_private": false,
          "avatar_url": "https://api.virev.ai/v1/media/tiktok_account/48727447/profile_pic?e=1796256000&s=f4029c17233b7a1ccb9ca502944a16bb",
          "latest_story_at": null,
          "extra": {
            "sec_uid": "MS4wLjABAAAAxuCw0sBMFfIDtnsPkX7xMOVcq1RhcsaSbA1gDpuMjTpvKxOcT2UdF6d6HagQp-b4"
          }
        },
        "coauthors": [],
        "sponsors": [],
        "tagged": [],
        "location": null,
        "audio": {
          "id": "7681719448159619870",
          "title": "original sound",
          "artist": "Khabane lame",
          "is_original": true
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o0dI6biDwcZuibqlC8TmawAEBfAFiiBpWAy1bI~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=Dh%2BQd4CLDEnDn3cXLXZnpylK9VA%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…",
        "video_duration": 48,
        "media": [
          {
            "kind": "video",
            "url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/o8fqZtR3EzD2gbMEkaFnNQemE6G5IAB02SgVzA/?a=1988&bti=ODszNWYuMDE6&&bt=585&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=MzQ1Z2lnZjNnNGU8Ojg6ZEBpajw0e…",
            "width": 576,
            "height": 1024,
            "duration": 48
          }
        ],
        "media_urls": [
          "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/o8fqZtR3EzD2gbMEkaFnNQemE6G5IAB02SgVzA/?a=1988&bti=ODszNWYuMDE6&&bt=585&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=MzQ1Z2lnZjNnNGU8Ojg6ZEBpajw0e…"
        ],
        "extra": {
          "url": "https://www.tiktok.com/@khabelame_fan/video/7699864790897921311",
          "shares": 15,
          "saves": 31
        }
      },
      {
        "id": "7700774930673175841",
        "shortcode": null,
        "taken_at": "2026-10-26T00:59:59+00:00",
        "kind": "video",
        "product_type": null,
        "caption": "Perdí mi Tiempo 😂#parati ",
        "hashtags": [
          "parati"
        ],
        "mentions": [],
        "accessibility_caption": null,
        "likes": 371,
        "comments": 6,
        "views": 10200,
        "counts_hidden": null,
        "comments_disabled": null,
        "is_pinned": null,
        "is_paid_partnership": false,
        "owner": {
          "id": "7551060662356608023",
          "username": "stiper690",
          "full_name": "STIPER 👑",
          "is_verified": false,
          "is_private": false,
          "avatar_url": "https://api.virev.ai/v1/media/tiktok_account/48727450/profile_pic?e=1796256000&s=a5564b514e1874ceca8a686e9d1cc799",
          "latest_story_at": null,
          "extra": {
            "sec_uid": "MS4wLjABAAAAsPZs1efe0eafn3nkkGslmzLKkDY504IjL7Tn2Aaz6RhbYKWzUXC3lxz112YVlz2F"
          }
        },
        "coauthors": [],
        "sponsors": [],
        "tagged": [],
        "location": null,
        "audio": {
          "id": "7681719448159619870",
          "title": "original sound",
          "artist": "Khabane lame",
          "is_original": true
        },
        "thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/owDejDMTveU8rERN9EEeMPPQVMRWgIVpGggACt~tplv-tiktokx-origin.image?dr=14575&x-expires=1795762800&x-signature=mZ%2FK0DdYEdcP%2FPS4P4mWo31TLwI%3D&t=4d5b0474&ps=13740610&shp=81f88b7…",
        "video_duration": 71,
        "media": [
          {
            "kind": "video",
            "url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c001-euttp/oc2eRqmMqQmdE0DkpB3FUuVEIGDgRKA0nQfdkP/?a=1988&bti=ODszNWYuMDE6&&bt=1702&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=OTRnNDUzOjpoaTxla…",
            "width": 576,
            "height": 1024,
            "duration": 71
          }
        ],
        "media_urls": [
          "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c001-euttp/oc2eRqmMqQmdE0DkpB3FUuVEIGDgRKA0nQfdkP/?a=1988&bti=ODszNWYuMDE6&&bt=1702&ft=-Csk_mr3PD12NJ~ugY-UxbX2hY6e3wv25HcAp&mime_type=video_mp4&rc=OTRnNDUzOjpoaTxla…"
        ],
        "extra": {
          "url": "https://www.tiktok.com/@stiper690/video/7700774930673175841",
          "shares": 29,
          "saves": 9
        }
      }
    ],
    "pages": [
      {
        "cursor": null,
        "fetched_at": "2026-11-25T07:48:36.446762+00:00",
        "count": 26,
        "signed_in": false
      }
    ],
    "next_cursor": "eyJjdXJzb3IiOiI2MCIsIm9wIjoibXVzaWNfaXRlbV9saXN0Iiwic2VhcmNoX2lkIjoiMjAyNjExMjUxNTQ4MzQ0MkUzMTQ1MDU0Q0UxRTQyQUJFNCJ9",
    "has_more": true,
    "stop_reason": "pages",
    "coverage": {
      "since": null,
      "oldest_at": "2026-09-04T16:34:44+00:00",
      "since_reached": false
    }
  },
  "meta": {
    "source": "db",
    "fetched_at": "2026-11-25T07:48:36.446762+00:00",
    "cost": "$0.0005",
    "balance": "$326.8502",
    "request_id": "req_1b9a505a57b733e0bedb73557f937d6c"
  }
}

How it works

The videos that use one sound, with each video's author. 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