> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Scraper API endpoints

> Send synchronous requests to all 5 Bright Data TikTok Scraper API endpoints with copy-paste examples for profiles, posts, comments and shop data.

This guide shows you how to send a synchronous request to each Bright Data TikTok Scraper API endpoint. It covers profiles, posts, TikTok Shop, comments, and posts by profile.

## Prerequisites

* A [Bright Data account](https://brightdata.com/products/web-scraper/tiktok?hs_signup=1\&utm_source=docs) with an active API key
* Completed the [Quickstart](https://docs.brightdata.com/products/scrapers/tiktok/quickstart.md)

## Request structure

Every synchronous request follows the same pattern:

```http theme={null}
POST https://api.brightdata.com/datasets/v3/scrape?dataset_id={DATASET_ID}&format=json
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

[{"url": "https://www.tiktok.com/..."}]
```

The only thing that changes between endpoints is the `dataset_id` and the input URL format.

> [!NOTE]
>
> The `/scrape` endpoint is built for real-time, single-URL requests. The endpoint returns the data in the response when collection finishes within 1 minute. Bright Data recommends one input per request, because more inputs are less likely to finish within 1 minute. If collection takes longer, the response is HTTP `202` with a `snapshot_id` instead of data, and collection continues asynchronously. Fetch the result with [async requests](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests.md) or have it pushed to you with [webhook delivery](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md).

## How to scrape TikTok profiles

**Dataset ID:** `gd_l1villgoiiidt09ci`

```bash theme={null}
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_l1villgoiiidt09ci&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://www.tiktok.com/@tiktok"}]'
```

You should see a `200` response. Processing time varies with target-site conditions and scraper workload.

> [accordion] Example response
>
> ```json theme={null}
> [
>   {
>     "nickname": "TikTok",
>     "account_id": "tiktok",
>     "biography": "One TikTok can make a big impact",
>     "followers": 95600000,
>     "following": 1,
>     "likes": 463200000,
>     "videos_count": 1502,
>     "is_verified": true,
>     "url": "https://www.tiktok.com/@tiktok",
>     "profile_pic_url": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=..."
>   }
> ]
> ```

[Full Profiles response schema](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-profiles-collect-by-url.md)

### Which output fields does the TikTok profiles scraper return?

The TikTok profiles scraper (`gd_l1villgoiiidt09ci`, `collect_by_url`) returns 39 output fields.

> [accordion] Output fields (39)
>
> | Field | Type | Description |
> | - | - | - |
> | `account_id` | text | A unique identifier for the TikTok account |
> | `nickname` | text | The username or display name of the TikTok user |
> | `biography` | text | The bio or description provided by the TikTok user in their profile |
> | `awg_engagement_rate` | number | The average engagement rate for the user's content |
> | `comment_engagement_rate` | number | The engagement rate specifically related to comments on the user's content |
> | `like_engagement_rate` | number | The engagement rate specifically related to likes on the user's content |
> | `bio_link` | url | The link provided in the user's bio |
> | `predicted_lang` | text | The predicted language of the user's content |
> | `is_verified` | boolean | Indicates whether the TikTok account is verified (boolean: True/False) |
> | `followers` | number | The number of followers the TikTok user has |
> | `following` | number | The number of accounts that the TikTok user is following |
> | `likes` | number | The total number of likes received by the TikTok user |
> | `videos_count` | number | The total number of videos uploaded by the TikTok user |
> | `create_time` | date | The timestamp indicating when the TikTok account was created |
> | `id` | text | A unique identifier associated with the TikTok user |
> | `url` | url | The URL or link to the TikTok user's profile |
> | `profile_pic_url` | url | URL to the profile picture of the TikTok user |
> | `like_count` | number | The total number of likes received by the user's content |
> | `digg_count` | number | The total number of "Digg" interactions received by the user's content |
> | `is_private` | boolean | Indicates whether the TikTok account is private (boolean: True/False) |
> | `profile_pic_url_hd` | url | URL to the profile picture |
> | `secu_id` | text | A identifier associated with the TikTok user |
> | `short_id` | text | A shorter identifier associated with the TikTok user |
> | `ftc` | text | Federal Trade Commission |
> | `relation` | text | relation |
> | `open_favorite` | boolean | Information about open favoriting settings |
> | `comment_setting` | text | Comment settings chosen by the user |
> | `duet_setting` | text | Duet settings chosen by the user |
> | `stitch_setting` | text | Stitch settings chosen by the user |
> | `is_ad_virtual` | boolean | Indicates whether the user is associated with virtual advertising |
> | `room_id` | text | The ID associated with the user's TikTok room |
> | `is_under_age_18` | text | Indicates whether the user is under the age of 18 |
> | `top_videos` | array | Information about the user's top-performing videos |
> | `signature` | text | The signature or tagline provided by the TikTok user |
> | `discovery_input` | object | Automatic data point sending from the discovery, not needed in the case of manual execution |
> | `is_commerce_user` | boolean | is\_commerce\_user |
> | `top_posts_data` | array | Information about the user's top-performing posts |
> | `pinned_posts` | array | Pinned posts data |
> | `category` | text | Profile’s content or industry category |

Machine-readable version with the input schema: [`/scrapers/gd_l1villgoiiidt09ci.json`](https://docs.brightdata.com/scrapers/gd_l1villgoiiidt09ci.json)

## How to scrape TikTok posts

**Dataset ID:** `gd_lu702nij2f790tmv9h`

```bash theme={null}
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lu702nij2f790tmv9h&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://www.tiktok.com/@tiktok/video/7680721699171601694"}]'
```

> [accordion] Example response
>
> ```json theme={null}
> [
>   {
>     "url": "https://www.tiktok.com/@tiktok/video/7680721699171601694",
>     "description": "this summer was all about the classic hits. here's to the ones that never got away 💿 #SongsofTheSummer2026\nCelebrate the classic hits of Summer 2026 — a pla...",
>     "hashtags": [
>       "songsofthesummer2026"
>     ],
>     "video_url": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast8/tos-useast8-pve-0068-tx2/ogxOEIAFdQFtcjgA0ZILu4Is1wzfDfpCqe0Vlu/?a=1988&bti=ODszNWYuMDE6&&bt=1029&ft...",
>     "post_id": "7680721699171601694",
>     "create_time": "2026-09-02T00:03:08.000Z",
>     "digg_count": 5225,
>     "share_count": "345",
>     "collect_count": 560,
>     "comment_count": 801
>   }
> ]
> ```

[Full Posts response schema](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-posts-collect-by-url.md)

### Which output fields does the TikTok posts scraper return?

The TikTok posts scraper (`gd_lu702nij2f790tmv9h`, `collect_by_url`) returns 43 output fields.

> [accordion] Output fields (43)
>
> | Field | Type | Description |
> | - | - | - |
> | `url` | url | Unique post link |
> | `post_id` | text | Identification for each post |
> | `description` | text | Text accompanying the post |
> | `create_time` | date | Post creation timestamp |
> | `digg_count` | number | Likes received |
> | `share_count` | text | Number of shares |
> | `collect_count` | number | Number of times saved |
> | `comment_count` | number | Number of comments |
> | `play_count` | number | Video play count |
> | `video_duration` | number | Duration of the video |
> | `hashtags` | array | Included hashtags |
> | `original_sound` | text | Sound used, if any |
> | `profile_id` | text | Unique user identifier |
> | `profile_username` | text | User's username |
> | `profile_url` | url | User's profile link |
> | `profile_avatar` | url | User's profile picture |
> | `profile_biography` | text | User's bio |
> | `preview_image` | url | Post preview image |
> | `post_type` | text | Type of post (video, image, text) |
> | `discovery_input` | object | Discovery input value |
> | `offical_item` | boolean | Indicates if the video is an official item |
> | `secu_id` | text | Security identifier for the profile |
> | `original_item` | boolean | Indicates if the video is original |
> | `shortcode` | text | Shortcode for the video |
> | `width` | number | Width of the video |
> | `ratio` | text | Aspect ratio of the video |
> | `video_url` | url | URL of the video, URLs that are generated are session-based only |
> | `music` | object | Information about the music used in the video |
> | `cdn_url` | url | URL link to media |
> | `is_verified` | boolean | Indicates whether the TikTok account is verified (boolean: True/False) |
> | `account_id` | text | Account ID |
> | `carousel_images` | array | List of images for 'carousel'-type TikTok posts |
> | `tagged_user` | array | Tagged user |
> | `profile_followers` | number | Number of followers of the post Author |
> | `tt_chain_token` | text | A session-related token used by TikTok to track and validate user requests |
> | `region` | text | The region column indicates the video's country of origin (e.g., US, UK) |
> | `commerce_info` | text | Information indicating if the post includes shopping, promotional, or affiliate content |
> | `subtitle_url` | url | URL for the subtitles |
> | `subtitle_format` | text | Format of the subtitles |
> | `subtitle_info` | array | Subtitle info |
> | `cdn_link` | text | URL link to media |
> | `num_share_count` | number | Number of shares |
> | `comments` | array | Comments of the post |

Machine-readable version with the input schema: [`/scrapers/gd_lu702nij2f790tmv9h.json`](https://docs.brightdata.com/scrapers/gd_lu702nij2f790tmv9h.json)

## How to scrape TikTok Shop

**Dataset ID:** `gd_m45m1u911dsa4274pi`

```bash theme={null}
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_m45m1u911dsa4274pi&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://shop.tiktok.com/us/pdp/wireless-bluetooth-earphones-low-latency-gaming-gift/1732339489808880487"}]'
```

> [accordion] Example response
>
> ```json theme={null}
> [
>   {
>     "url": "https://shop.tiktok.com/us/pdp/wireless-bluetooth-earphones-low-latency-gaming-gift/1732339489808880487",
>     "id": "1732339489808880487",
>     "title": "Wireless Bluetooth Earphones, Black TWS Gaming Headset",
>     "currency": "USD",
>     "initial_price": 13.99,
>     "final_price": 13.99,
>     "sold": 82,
>     "reviews_count": 30,
>     "prodct_rating": 4.7,
>     "store_name": "Saeme",
>     "seller_url": "https://shop.tiktok.com/us/store/saeme/7494562010483296103",
>     "category": "Headphones, Earphones & Accessories",
>     "category_url": "https://shop.tiktok.com/us/c/headphones-earphones-accessories/601990",
>     "availability": "in_stock",
>     "domain": "shop.tiktok.com",
>     "images": [
>       "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/3b46d77d0e9f45d1b2b518dd117ac56e~tplv-fhlh96nyum-crop-webp:800:800.webp?dr=12190&t=555f072d&ps=933b5bde&shp=c940a200&shcp=9b759fb9&idc=useast5&from=3376456192"
>     ]
>   }
> ]
> ```

[Full TikTok Shop response schema](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-shop-collect-by-url.md)

### Which output fields does the TikTok Shop scraper return?

The TikTok Shop scraper (`gd_m45m1u911dsa4274pi`, `collect_by_url`) returns 59 output fields.

> [accordion] Output fields (59)
>
> | Field | Type | Description |
> | - | - | - |
> | `url` | url | Product detail page URL on TikTok Shop |
> | `title` | text | Product title |
> | `available` | boolean | Indicates whether the product is currently available |
> | `description` | text | Full product description |
> | `currency` | text | Currency |
> | `initial_price` | number | Original price before any discounts |
> | `final_price` | number | Final price after discounts applied |
> | `discount_percent` | number | Discount percentage applied to the product |
> | `initial_price_low` | number | Lowest initial price across product variations |
> | `initial_price_high` | number | Highest initial price across product variations |
> | `final_price_low` | number | Lowest final price across product variations |
> | `final_price_high` | number | Highest final price across product variations |
> | `sold` | number | Total number of units sold |
> | `colors` | array | Available color options for the product |
> | `sizes` | array | Available size options for the product |
> | `shipping_fee` | number | Shipping fee for the product |
> | `specifications` | array | Product specifications as name-value pairs |
> | `reviews_count` | number | Total number of customer reviews |
> | `reviews` | array | Customer reviews for the product |
> | `store_details` | object | Store information including name, URL, and metrics |
> | `images` | array | Product image URLs |
> | `domain` | text | Domain of the website where the product is listed |
> | `videos` | array | Product video CDN URLs |
> | `category` | text | Product category classification |
> | `category_url` | url | URL of the product category page |
> | `id` | text | Product ID |
> | `seller_id` | text | Unique identifier of the seller |
> | `prodct_rating` | number | Average product rating score |
> | `position` | number | The product's position at the page |
> | `variations` | array | The product variations |
> | `In_stock` | boolean | In stock indicator |
> | `promotion_items` | array | Active promotional items or offers |
> | `desc_detail` | text | Description detail |
> | `related_videos` | array | TikTok videos related to the product |
> | `video_link` | text | Product Video link |
> | `Shop_performance_metrics` | array | Shop performance metrics |
> | `variant_id` | text | Unique variant ID |
> | `category_tree` | array | Hierarchical category breadcrumb with names and URLs |
> | `brand` | text | Product brand |
> | `image_url` | text | Main product image URL |
> | `nai_price` | price | Regular price |
> | `sale_price` | price | Discounted price |
> | `availability` | text | Product availability (in\_stock, out\_of\_stock, pre\_order, etc.) |
> | `availability_date` | text | Availability date |
> | `group_id` | text | Variant group ID (same for all variants) |
> | `listing_has_variations` | boolean | Indicates if the listing has variations |
> | `variant_attributes` | array | Currently selected variant attributes as name-value pairs |
> | `nai_variants` | array | All available variant options grouped by type |
> | `store_name` | text | Seller name |
> | `seller_url` | text | Seller page URL |
> | `seller_privacy_policy` | text | Seller-specific privacy policy URL |
> | `seller_tos` | text | Seller-specific terms of service URL |
> | `return_policy` | text | Policy URL |
> | `return_window` | number | Days allowed for return |
> | `target_countries` | array | Target countries of the item |
> | `store_country` | text | Store country of the item |
> | `category_urls` | array | List of category URLs for the product breadcrumb trail |
> | `nai_reviews` | array | Review entries |
> | `additional_image_urls` | array | Extra product images (comma-separated list) |

Machine-readable version with the input schema: [`/scrapers/gd_m45m1u911dsa4274pi.json`](https://docs.brightdata.com/scrapers/gd_m45m1u911dsa4274pi.json)

## How to scrape TikTok comments

**Dataset ID:** `gd_lkf2st302ap89utw5k`

```bash theme={null}
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lkf2st302ap89utw5k&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://www.tiktok.com/@tiktok/video/7680721699171601694"}]'
```

> [accordion] Example response
>
> ```json theme={null}
> [
>   {
>     "url": "https://www.tiktok.com/@tiktok/video/7680721699171601694",
>     "replies": [],
>     "post_url": "https://www.tiktok.com/@tiktok/video/7680721699171601694",
>     "post_id": "7680721699171601694",
>     "post_date_created": "2026-09-02T00:03:08.000Z",
>     "date_created": "2026-09-05T09:50:19.000Z",
>     "comment_text": "@꒰ྀི ˶> ˕ <˶ྀི꒱:love tiktok",
>     "num_likes": 5,
>     "num_replies": 0,
>     "commenter_user_name": "꒰ྀི ˶> ˕ <˶ྀི꒱"
>   }
> ]
> ```

[Full Comments response schema](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-comments-collect-by-url.md)

### Which output fields does the TikTok comments scraper return?

The TikTok comments scraper (`gd_lkf2st302ap89utw5k`, `collect_by_url`) returns 14 output fields.

| Field | Type | Description |
| - | - | - |
| `url` | url | status |
| `post_url` | url | Post web address |
| `post_id` | text | Unique post identifier |
| `post_date_created` | date | Date of post creation |
| `date_created` | date | Comment creation date |
| `comment_text` | text | Comment content |
| `num_likes` | number | Number of likes on the comment |
| `num_replies` | number | Number of replies to the comment |
| `commenter_user_name` | text | Commenter's username |
| `commenter_id` | text | Commenter's unique identifier |
| `commenter_url` | url | Commenter's profile URL |
| `comment_id` | text | The unique ID for the comment |
| `comment_url` | url | The URL for the comment |
| `replies` | array | replies |

Machine-readable version with the input schema: [`/scrapers/gd_lkf2st302ap89utw5k.json`](https://docs.brightdata.com/scrapers/gd_lkf2st302ap89utw5k.json)

## Posts by Profile Fast API

**Dataset ID:** `gd_m7n5v2gq296pex2f5m`

```bash theme={null}
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_m7n5v2gq296pex2f5m&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://www.tiktok.com/@tiktok"}]'
```

> [accordion] Example response
>
> ```json theme={null}
> [
>   {
>     "url": "https://www.tiktok.com/@tiktok/video/7680721699171601694",
>     "description": "this summer was all about the classic hits. here's to the ones that never got away 💿 #SongsofTheSummer2026",
>     "post_id": "7680721699171601694",
>     "create_time": "2026-09-02T00:03:08.000Z",
>     "digg_count": 5213,
>     "share_count": "344",
>     "collect_count": 556,
>     "comment_count": 797,
>     "play_count": 118100,
>     "video_duration": 56
>   }
> ]
> ```

[Full Posts by Profile Fast API response schema](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-posts-by-profile-fast-api-collect-by-url.md)

### Which output fields does the TikTok posts by profile Fast API scraper return?

The TikTok posts by profile Fast API scraper (`gd_m7n5v2gq296pex2f5m`, `collect_by_url`) returns 35 output fields.

> [accordion] Output fields (35)
>
> | Field | Type | Description |
> | - | - | - |
> | `url` | url | Unique post link |
> | `post_id` | text | Identification for each post |
> | `description` | text | Text accompanying the post |
> | `create_time` | date | Post creation timestamp |
> | `digg_count` | number | Likes received |
> | `share_count` | text | Number of shares |
> | `collect_count` | number | Number of times saved |
> | `comment_count` | number | Number of comments |
> | `play_count` | number | Video play count |
> | `video_duration` | number | Duration of the video |
> | `hashtags` | array | Included hashtags |
> | `original_sound` | text | Sound used, if any |
> | `profile_id` | text | Unique user identifier |
> | `profile_username` | text | User's username |
> | `profile_url` | url | User's profile link |
> | `profile_avatar` | url | User's profile picture |
> | `profile_biography` | text | User's bio |
> | `preview_image` | url | Post preview image |
> | `post_type` | text | Type of post (video, image, text) |
> | `offical_item` | boolean | Indicates if the video is an official item |
> | `secu_id` | text | Security identifier for the profile |
> | `original_item` | boolean | Indicates if the video is original |
> | `shortcode` | text | Shortcode for the video |
> | `width` | number | Width of the video |
> | `ratio` | text | Aspect ratio of the video |
> | `video_url` | url | URL of the video, URLs that are generated are session-based only |
> | `music` | object | Information about the music used in the video |
> | `cdn_url` | url | URL link to media |
> | `is_verified` | boolean | Indicates whether the TikTok account is verified (boolean: True/False) |
> | `account_id` | text | |
> | `carousel_images` | array | List of images for 'carousel'-type TikTok posts |
> | `tagged_user` | array | |
> | `profile_followers` | number | Number of followers of the post Author |
> | `tt_chain_token` | text | |
> | `region` | text | |

Machine-readable version with the input schema: [`/scrapers/gd_m7n5v2gq296pex2f5m.json`](https://docs.brightdata.com/scrapers/gd_m7n5v2gq296pex2f5m.json)

## Quick reference: dataset IDs

| Endpoint | Dataset ID | URL pattern |
| :- | :- | :- |
| Profiles | `gd_l1villgoiiidt09ci` | `tiktok.com/@{username}` |
| Posts | `gd_lu702nij2f790tmv9h` | `tiktok.com/@{username}/video/{id}` |
| TikTok Shop | `gd_m45m1u911dsa4274pi` | `shop.tiktok.com/us/pdp/{slug}/{id}` |
| Comments | `gd_lkf2st302ap89utw5k` | `tiktok.com/@{username}/video/{id}` |
| Posts by Profile Fast API | `gd_m7n5v2gq296pex2f5m` | `tiktok.com/@{username}` |

## Output formats

Control the response format with the `format` query parameter:

| Value | Description |
| :- | :- |
| `json` | JSON array |
| `ndjson` | Newline-delimited JSON, one record per line (default) |
| `csv` | Comma-separated values |

These are the `format` values for `/scrape`. The full list, NDJSON (default), JSON, JSON lines, CSV and Parquet, and where each applies is in [output formats](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md#which-output-formats-can-i-use).

## Related

> [card] [Async batch requests](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests.md)
>
> Scrape hundreds of URLs in a single batch job.

> [card] [API reference](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/tiktok-profiles-collect-by-url.md)
>
> Full parameter and response field reference.
