$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "max_results": 5,
< "activity_filteramount": "1",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< },
< "select_feature": "leaderboard",
< "url_markets": "https://polymarket.com/markets/politics",
< "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
< "profile_category": "positions",
< "activity_page": true,
< "activity_only_recent": false,
< "activity_refresh_rate": 5,
< "leaderboard_page": true,
< "leaderboard_rangedate": "30d",
< "leaderboard_section": "volume&profit",
< "event_page": "",
< "event_feature_type": "price",
< "holders_only": false,
< "sorted_by": "createdAt"
<}
<EOF
$curl "https://api.apify.com/v2/acts/saswave~polymarket-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'