$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "competitions": [
< "GB1"
< ],
< "customCompetitionCodes": [],
< "expiringWithinMonths": 12,
< "expiresFrom": "",
< "expiresTo": "",
< "includePastDates": false,
< "positionGroups": [],
< "nationalities": [],
< "minMarketValueEur": 0,
< "minAge": 0,
< "maxAge": 0,
< "extensionOption": "any",
< "onlyNewSinceLastRun": false,
< "sortBy": "expiryDate",
< "maxItems": 20,
< "maxRunSeconds": 600,
< "proxyConfiguration": {
< "useApifyProxy": false
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/datagrit~football-contract-expiry-radar/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'