Examples
Update Settings
Configure TikTok Hashtag Scraper settings
The v1 API, for batchesSquids, tasks and runs: many calls on a schedule, delivered where you work. For one call that answers in seconds, use the API v2.
POST
https://api.lobstr.io/v1/squids/{squid_hash}Configure your TikTok Hashtag Scraper squid settings.
Headers
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredMust be application/json. Value: application/json
Squid Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| max_unique_results_per_run | int | — | Maximum number of unique videos retrieved across all tasks in the entire run. Leave empty for unlimited. |
| max_results | integer | — | Optional cap on the number of videos retrieved per hashtag. TikTok's own hashtag feed practically maxes out around 400-800 videos. |
Code Examples
curl -X POST https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH \ -H "Authorization: Token YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "max_results": 500, "max_unique_results_per_run": 2000 }'
Response
201
{"params": {"max_results": 500, "max_unique_results_per_run": 2000}}