$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "urls": [
< {
< "url": "https://www.youtube.com/watch?v=5AdKqkNmJj4"
< },
< {
< "url": "https://www.youtube.com/watch?v=iTOAIP9DfYo"
< },
< {
< "url": "https://www.youtube.com/watch?v=pJ9xTMkGxXg"
< },
< {
< "url": "https://www.youtube.com/watch?v=bksYSwtJVM0"
< },
< {
< "url": "https://www.youtube.com/watch?v=Sn7T46fCjLE"
< },
< {
< "url": "https://www.youtube.com/watch?v=zW8Cu4vcReY"
< },
< {
< "url": "https://www.youtube.com/watch?v=K1whvDMDogU"
< },
< {
< "url": "https://www.youtube.com/watch?v=xEg9b3YPJj0"
< },
< {
< "url": "https://www.youtube.com/watch?v=23yNXtR-N1s"
< },
< {
< "url": "https://www.youtube.com/watch?v=CvBR-GoBvzk"
< }
< ],
< "searchKeywords": []
<}
<EOF
$curl "https://api.apify.com/v2/acts/supreme_coder~youtube-transcript-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'