$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "targetUrls": [
< "https://www.youtube.com/@MrBeast"
< ],
< "maxChannelVideos": 50,
< "maxChannelShorts": 0,
< "includeChannelAbout": true,
< "maxPlaylistVideos": 0,
< "includeCommunityPosts": false,
< "maxCommunityPostsPerChannel": 20,
< "searchQueries": [],
< "videosPerQuery": 10,
< "shortsPerQuery": 0,
< "streamsPerQuery": 0,
< "fetchTranscripts": false,
< "storeTranscriptsInKvs": false,
< "transcriptLanguage": "en",
< "preferAutoCaptions": false,
< "transcriptFormat": "srt",
< "resultsSortOrder": "",
< "uploadDateFilter": "",
< "contentTypeFilter": "",
< "videoLengthFilter": "",
< "videoIsHD": false,
< "videoHasCC": false,
< "videoIsCreativeCommons": false,
< "videoIs3D": false,
< "videoIsLive": false,
< "videoIsPurchased": false,
< "videoIs4K": false,
< "videoIs360": false,
< "videoHasLocation": false,
< "videoIsHDR": false,
< "videoIsVR180": false,
< "publishedAfterDate": "",
< "finalSortField": "",
< "proxyConfiguration": {
< "useApifyProxy": false
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/simpleapi~youtube-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'