$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "apps": [
< "https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580",
< "https://play.google.com/store/apps/details?id=com.spotify.music",
< "570060128",
< "com.duolingo",
< "1232780281",
< "notion.id"
< ],
< "mode": "snapshot",
< "countries": [
< "us"
< ],
< "language": "en",
< "watch": [
< "version",
< "price",
< "rating",
< "listing",
< "metadata"
< ],
< "ratingDeltaThreshold": 0.1,
< "ratingCountDeltaPct": 5,
< "emitUnchanged": false,
< "includeDescription": true,
< "includeReleaseNotes": true,
< "includeScreenshots": false,
< "stateStoreName": "app-store-monitor-state",
< "maxApps": 500,
< "maxConcurrency": 4,
< "maxRunSecs": 240,
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/insight.solutions~app-store-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'