$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "videoUrls": [
< "https://www.instagram.com/reel/DckEW9NNVsJ/",
< "https://www.instagram.com/reel/DcfuoMqAoHE/"
< ],
< "profiles": [],
< "searchQueries": [
< "morning routine"
< ],
< "hashtags": [],
< "resultsLimitPerProfile": 10,
< "searchSort": "most-viewed",
< "resultsLimitPerSearch": 10,
< "minViews": 0,
< "skipPinned": false,
< "skipVideosWithoutSpeech": false,
< "compareWithAuthor": true,
< "includeTranscriptSegments": true,
< "includeSrt": false,
< "chunkWords": 0,
< "includeRunSummary": false,
< "includeOnScreenText": false,
< "aiAnalysis": false,
< "onlyNewVideos": false,
< "transcriptionMode": "captions-first",
< "quality": "fast",
< "language": "auto",
< "maximumVideoDurationSeconds": 300,
< "ocrFps": "1.5"
<}
<EOF
$curl "https://api.apify.com/v2/actors/lergassy~instagram-reels-transcript-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'