Skip to content
Examples

Update Settings

Configure TikTok Profile 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.
POSThttps://api.lobstr.io/v1/squids/{squid_hash}

Configure your TikTok Profile Scraper squid settings.

Headers

Authorizationstringheaderrequired

Your API authentication token. Value: Token YOUR_API_KEY

Content-Typestringheaderrequired

Must be application/json. Value: application/json

Squid Parameters

Parameter Type Default Description
rows integer — Number of rows returned per API page
profile_only boolean false Collect only the account's profile stats as a single row, without videos
max_unique_results_per_run integer — Max unique videos across all tasks in the run
max_results integer — Cap on the number of videos per profile
fetch_since string — Stop scraping when videos older than this threshold are reached

Code Examples

curl -X POST https://api.lobstr.io/v1/squids/089d76c66c2fd5c57d7ce7338d9ae7de \
  -H "Authorization: Token YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "max_results": 100,
    "fetch_since": "30d"
  }'

Response

201
{"params": {"profile_only": false, "max_results": 100, "fetch_since": "30d"}}