$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.instagram.com/p/example/"
< }
< ],
< "manualSession": "{\n \"sessionid\": \"your_session_id_here\",\n \"csrftoken\": \"your_csrf_token_here\",\n \"ds_user_id\": \"your_user_id_here\",\n \"mid\": \"your_mid_here\",\n \"ig_did\": \"your_ig_did_here\",\n \"datr\": \"your_datr_here\"\n}",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< },
< "brightDataConfig": "{\n \"host\": \"brd.superproxy.io\",\n \"port\": 22225,\n \"username\": \"your_username\",\n \"password\": \"your_password\",\n \"country\": \"US\"\n}"
<}
<EOF
$curl "https://api.apify.com/v2/acts/clip-forge~instagram-post-scraper-pay-per-request/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'