$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "true crime"
< ],
< "categories": [
< "comedy"
< ],
< "region": "us",
< "urls": [
< "https://play.pocketcasts.com/podcasts/873e7420-042d-012e-f9a4-00163e1b201c",
< "https://pocketcasts.com/podcast/the-joe-rogan-experience/873e7420-042d-012e-f9a4-00163e1b201c",
< "https://pca.st/podcast/873e7420-042d-012e-f9a4-00163e1b201c",
< "https://cache.pocketcasts.com/mobile/podcast/full/873e7420-042d-012e-f9a4-00163e1b201c",
< "https://cache.pocketcasts.com/podcast/rating/873e7420-042d-012e-f9a4-00163e1b201c",
< "https://lists.pocketcasts.com/category-comedy-us.json"
< ],
< "maxPodcasts": 10,
< "maxResults": 1000,
< "maxEpisodes": 100,
< "maxEpisodesPerPodcast": 0,
< "sortBy": "chartRank",
< "includeEpisodes": true,
< "includeRatings": true,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~pocketcasts-podcast-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'