$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "keywords": [
< "cooking recipes"
< ],
< "contentType": "all",
< "sortBy": "relevance",
< "uploadDate": "all",
< "videoDuration": "all",
< "includeVideoStats": false,
< "detectLanguage": false,
< "includeChannelAnalytics": false,
< "outputTitle": true,
< "outputVideoId": true,
< "outputVideoUrl": true,
< "outputChannelName": true,
< "outputChannelId": true,
< "outputChannelUrl": true,
< "outputIsVerified": true,
< "outputThumbnailUrl": true,
< "outputViewCount": true,
< "outputViewCountText": true,
< "outputPublishedText": true,
< "outputDuration": true,
< "outputDurationSeconds": true,
< "outputContentType": true,
< "outputKeyword": true,
< "outputScrapedAt": true,
< "concurrency": 3,
< "proxyConfig": {
< "useApifyProxy": true,
< "apifyProxyGroups": []
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/lurkapi~youtube-keyword-search-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'