$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "symbols",
< "symbols": [
< "AAPL"
< ],
< "sort": "all",
< "usernames": [
< "Stocktwits"
< ],
< "messageUrls": [
< "https://stocktwits.com/Franking71/message/666335354",
< "https://stocktwits.com/StocktwitsNews/message/666343730"
< ],
< "startUrls": [
< "https://stocktwits.com/symbol/AAPL",
< "https://stocktwits.com/symbol/AAPL?filter=top",
< "https://www.stocktwits.com/symbol/TSLA",
< "https://stocktwits.com/symbol/BTC.X",
< "https://stocktwits.com/symbol/BRK.B",
< "https://stocktwits.com/Franking71",
< "https://stocktwits.com/Franking71/message/666335354",
< "https://stocktwits.com/symbol/AAPL/sentiment",
< "https://stocktwits.com/symbol/AAPL/news",
< "https://stocktwits.com/sentiment/trending",
< "https://stocktwits.com/markets/trending",
< "https://stocktwits.com/topic/earnings"
< ],
< "sentiment": "all",
< "onlyPriceTargets": false,
< "fetchReplies": false,
< "maxItems": 20,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [],
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~stocktwits-com-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'