$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "action": "scrapeProfiles",
< "scrapeProfiles.profileList": [
< "zuck"
< ],
< "scrapeFriendships.profile": "zuck",
< "scrapeFriendships.friendshipType": "followers",
< "scrapeCommentsOfPost.url": "https://www.instagram.com/p/CwsgvUlLtEn/",
< "scrapeLikesOfPost.url": "https://www.instagram.com/p/CwsgvUlLtEn/",
< "scrapePostsOfUser.profile": "https://www.instagram.com/zuck",
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< },
< "minDelay": 1,
< "maxDelay": 15
<}
<EOF
$curl "https://api.apify.com/v2/acts/curious_coder~instagram-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'