$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "videos",
< "videoUrls": [
< "https://www.tiktok.com/@tiktok/video/7673909736131038495",
< "https://www.tiktok.com/@scout2015/video/6718335390845095173"
< ],
< "usernames": [
< "tiktok"
< ],
< "maxVideosPerUser": 10,
< "profileSorting": "latest",
< "profileScrapeSections": [
< "videos"
< ],
< "excludePinnedPosts": false,
< "minCommentLikes": 0,
< "commentsSinceDays": 0,
< "maxRepliesPerComment": 5,
< "replyPatienceSeconds": 10,
< "maxCommentsPerVideo": 20,
< "topLevelCommentsPerPost": 0,
< "maxPagesPerVideo": 0,
< "pagePatienceSeconds": 120,
< "maxAttemptsPerPage": 0,
< "concurrency": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "ignoreFieldsForChanges": [],
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~tiktok-comments-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'