$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "tt1",
< "uniqueId": "creatorfast",
< "followerCount": 320000,
< "followingCount": 420,
< "heartCount": 9200000,
< "videoCount": 610,
< "likes": 48000,
< "comments": 2200,
< "shares": 8100,
< "views": 780000
< },
< {
< "id": "tt2",
< "uniqueId": "creatorflat",
< "followerCount": 510000,
< "followingCount": 850,
< "heartCount": 6800000,
< "videoCount": 1900,
< "likes": 15000,
< "comments": 500,
< "shares": 900,
< "views": 420000
< }
< ],
< "previousItems": [
< {
< "id": "tt1",
< "uniqueId": "creatorfast",
< "followerCount": 285000,
< "followingCount": 410,
< "heartCount": 7900000,
< "videoCount": 580,
< "likes": 39000,
< "comments": 1900,
< "shares": 6700,
< "views": 650000
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~tiktok-creator-growth-quality-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'