$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "title": "I Tried 5 Cheap Knives. One Shocked Me",
< "type": "video",
< "url": "https://example.com/demo/kl1",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/kl1.jpg?signature=JRenYivYHxvmvSopDhqs",
< "viewCount": 48200,
< "likes": 2100,
< "commentsCount": 312,
< "date": "2026-10-02T15:00:00.000Z",
< "duration": "00:11:42",
< "channelName": "Demo Kitchen Lab",
< "channelUsername": "demo_kitchen_lab",
< "channelUrl": "https://example.com/demo/kitchen-lab",
< "numberOfSubscribers": 48000
< },
< {
< "title": "How to Cook Rice Perfectly Every Time",
< "type": "video",
< "url": "https://example.com/demo/kl2",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/kl2.jpg?signature=qYb9zZFOMS1vgAT3RsRV",
< "viewCount": 21400,
< "likes": 880,
< "commentsCount": 95,
< "date": "2026-10-09T15:00:00.000Z",
< "duration": "00:08:15",
< "channelName": "Demo Kitchen Lab",
< "channelUsername": "demo_kitchen_lab",
< "channelUrl": "https://example.com/demo/kitchen-lab",
< "numberOfSubscribers": 48000
< },
< {
< "title": "Kitchen Lab Q&A: Your Questions Answered",
< "type": "video",
< "url": "https://example.com/demo/kl3",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/kl3.jpg?signature=1GmdHhDYXICv63FSeTTdX",
< "viewCount": 6200,
< "likes": 240,
< "commentsCount": 61,
< "date": "2026-10-16T15:00:00.000Z",
< "duration": "00:21:03",
< "channelName": "Demo Kitchen Lab",
< "channelUsername": "demo_kitchen_lab",
< "channelUrl": "https://example.com/demo/kitchen-lab",
< "numberOfSubscribers": 48000
< },
< {
< "title": "Stop Ruining Your Pasta (3 Mistakes)",
< "type": "video",
< "url": "https://example.com/demo/kl4",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/kl4.jpg?signature=1QblQqnu7vFveYAhQvKO7",
< "viewCount": 39100,
< "likes": 1650,
< "commentsCount": 204,
< "date": "2026-10-23T15:00:00.000Z",
< "duration": "00:09:30",
< "channelName": "Demo Kitchen Lab",
< "channelUsername": "demo_kitchen_lab",
< "channelUrl": "https://example.com/demo/kitchen-lab",
< "numberOfSubscribers": 48000
< },
< {
< "title": "the 10-second garlic trick",
< "type": "shorts",
< "url": "https://example.com/demo/kl5",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/kl5.jpg?signature=JnhbTBlBngg7CTxdF59d",
< "viewCount": 15300,
< "likes": 900,
< "commentsCount": 22,
< "date": "2026-10-25T18:00:00.000Z",
< "duration": "00:00:24",
< "channelName": "Demo Kitchen Lab",
< "channelUsername": "demo_kitchen_lab",
< "channelUrl": "https://example.com/demo/kitchen-lab",
< "numberOfSubscribers": 48000
< },
< {
< "title": "Easy Weeknight Dinner Ideas",
< "type": "video",
< "url": "https://example.com/demo/wm1",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/wm1.jpg?signature=wvHi1RBeLqTJfaC7ReMn",
< "viewCount": 9800,
< "likes": 310,
< "commentsCount": 28,
< "date": "2026-10-01T17:00:00.000Z",
< "duration": "00:14:10",
< "channelName": "Demo Weeknight Meals",
< "channelUsername": "demo_weeknight_meals",
< "channelUrl": "https://example.com/demo/weeknight-meals",
< "numberOfSubscribers": 21000
< },
< {
< "title": "Why Your Stir Fry Is Soggy",
< "type": "video",
< "url": "https://example.com/demo/wm2",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/wm2.jpg?signature=fY4Wb7dXabZSz5J7Ub42",
< "viewCount": 27500,
< "likes": 1200,
< "commentsCount": 140,
< "date": "2026-10-08T17:00:00.000Z",
< "duration": "00:07:48",
< "channelName": "Demo Weeknight Meals",
< "channelUsername": "demo_weeknight_meals",
< "channelUrl": "https://example.com/demo/weeknight-meals",
< "numberOfSubscribers": 21000
< },
< {
< "title": "Meal Prep for the Week in 1 Hour",
< "type": "video",
< "url": "https://example.com/demo/wm3",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/wm3.jpg?signature=1J8PWi0wi3PflW6aQdjp1",
< "viewCount": 14000,
< "likes": 520,
< "commentsCount": 47,
< "date": "2026-10-15T17:00:00.000Z",
< "duration": "00:12:20",
< "channelName": "Demo Weeknight Meals",
< "channelUsername": "demo_weeknight_meals",
< "channelUrl": "https://example.com/demo/weeknight-meals",
< "numberOfSubscribers": 21000
< },
< {
< "title": "fastest fried egg ever?",
< "type": "shorts",
< "url": "https://example.com/demo/wm4",
< "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/pRN5toUmxPnE06IBj/records/wm4.jpg?signature=1mjjEHNxB5M6OPFVip0TR",
< "viewCount": 22000,
< "likes": 1400,
< "commentsCount": 35,
< "date": "2026-10-22T18:00:00.000Z",
< "duration": "00:00:18",
< "channelName": "Demo Weeknight Meals",
< "channelUsername": "demo_weeknight_meals",
< "channelUrl": "https://example.com/demo/weeknight-meals",
< "numberOfSubscribers": 21000
< }
< ],
< "myChannel": "@demo_weeknight_meals",
< "channelBrief": "Weeknight Meals is a cooking channel for busy people who want dinner on the table in 30 minutes with one pan and supermarket ingredients. Host cooks on camera in a small home kitchen. Tone: friendly, practical, a bit funny, no chef jargon. Goal: more subscribers and longer watch time. Avoid: clickbait we cannot deliver, expensive gadgets, diet claims.",
< "conceptsCount": 5
<}
<EOF
$curl "https://api.apify.com/v2/actors/seasons-ai~youtube-channel-playbook/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'