Update Settings
TikTok Comments Scraper
Update Settings
Configure the TikTok Comments Scraper settings
POST
Update Settings
Configure your TikTok Comments Scraper squid settings. Control the maximum number of comments and replies to collect per video.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonScraper Parameters
Set these parameters in theparams object:
| Parameter | Type | Default | Description |
|---|---|---|---|
| max_comments | integer | unlimited | Maximum number of top-level comments to collect per video |
| max_replies_per_comment | integer | unlimited | Maximum number of replies to collect per comment |
Squid Settings
Configure general squid settings:| Setting | Type | Description |
|---|---|---|
| name | string | Display name for your squid configuration |
| concurrency | integer | Number of parallel scraping threads (default: 1) |
| export_unique_results | boolean | Export only unique results (deduplicated) |
| to_complete | boolean | Run until all tasks complete |
| no_line_breaks | boolean | Remove line breaks from results |
Setting
max_replies_per_comment to 0 will collect only top-level comments without any replies.Code Examples
Response
201