StockTwits ticker sentiment in n8n
Reads StockTwits' public message stream for any ticker or user, the market-wide trending-symbols list with trend summaries, and ticker search, including each post's self-tagged sentiment.
What this workflow does
Import it and n8n runs the StockTwits Ticker Sentiment & Trending Symbol Feed Actor on Apify every day at 08:00 with the starter input below. Each row comes back with symbol, title, sentiment, sentiment score and 8 more. A Google Sheets append is included and stays off until you add your sheet. The only credential it needs is your Apify API token.
Read from the workflow file, built for StockTwits Ticker Sentiment & Trending Symbol Feed version 1.0.3. Updated 2026-11-14.How the rows travel
6 nodes, in the order n8n runs them. The yellow stop is the call to the Apify Actor; the dashed stop is optional.
- Daily trigger Schedule trigger
- Configure input Code
- Run Apify Actor HTTP Request
- Normalize + dedupe Code
- Rows ready No operation
- Google Sheets (optional) Google Sheets, off until you switch it on
Input
The Configure input node holds the starter input. Change it there; every setting the Actor accepts is listed below.
{
"maxItems": 25,
"mode": "symbolMessages"
} | Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| mode | string | Yes | symbolMessages | What to fetch from StockTwits. 11 choices. |
| symbols | array | No | ["AAPL"] | Tickers to fetch, e.g. AAPL, TSLA, BTC.X, BRK.B, SHOP.TSX. Accepts $cashtags and StockTwits symbol URLs. Use .X for crypto. |
| usernames | array | No | – | StockTwits usernames without @, or profile URLs, e.g. KirRoyalTrader, https://stocktwits.com/Fibonaccino. |
| searchQueries | array | No | – | Company names, tickers, or trader names to search for, e.g. tesla, apple, TraderLion. |
| searchType | string | No | all | What to return from each query. One of: all, symbols, users. |
| streamFilter | string | No | all | All = newest first, Top = StockTwits ranking, Trending = curated high-engagement posts for the ticker (up to 100). One of: all, top, trending. |
| contentFilter | string | No | all | Keep only messages with this attachment. Videos are rare; All keeps every message. One of: all, links, charts, videos. |
| sentimentFilter | string | No | any | Keep posts by the author's self-tagged sentiment. Most posts are untagged; Any keeps all. One of: any, bullish, bearish, tagged. |
| onlyPriceTargets | boolean | No | false | Keep only messages where the author attached a StockTwits price prediction (price target). |
| feedType | string | No | trending | Trending = market-wide trending posts; Suggested = posts from StockTwits' curated suggested traders; All = public market-wide firehose (deep, chronological). One of: trending, suggested, all. |
| trendingAssetClass | string | No | all | Which trending instruments to keep. All includes stocks, ETFs, crypto, ADRs, commodities, and other classes. One of: all, stocks, etf, crypto, adr, commodity. |
| sentimentRange | string | No | now | Now = current sentiment across 15m, 24h, now, 1D–ALL. Other values return the daily/intraday history for that window. 9 choices. |
| chartZoom | string | No | 1M | Intraday windows use 5-minute (1D) or 30-minute (1W) bars; other windows use daily/weekly bars. 9 choices. |
| includeUserProfile | boolean | No | false | Add one profile record per username before that trader's posts. |
| includeRelatedSymbols | boolean | No | false | Add StockTwits' related-industry tickers to each symbol record. |
| newerThanMessageId | integer | No | – | Only keep messages with an ID greater than this. Useful for incremental scheduled runs. |
| olderThanMessageId | integer | No | – | Start from messages at or below this ID and page further back. |
| messageIds | array | No | – | Message IDs or StockTwits message URLs whose parent + reply thread should be fetched. |
| maxItems | integer | No | 30 | Per ticker/username/query/thread for target modes; total for trending and market feeds; max points or bars for history modes. |
What each row holds
Every field the Actor returns stays in the row (12 in its dataset schema). Normalize + dedupe trims text, drops empty fields and adds _source and _scrapedAt. The main fields:
| Field | What it is |
|---|---|
| symbol | Symbol |
| title | Title |
| sentiment | Sentiment |
| sentimentScore | Sentiment Score |
| priceLast | Price Last |
| pricePercentChange | Price Percent Change |
| body | Body |
| username | Username |
| rank | Rank |
| createdAt | Created At |
| stocktwitsUrl | Stocktwits Url |
What the first run costs
With the starter input (maxItems = 25) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage.
The Actor lists $0.99 per 1,000 results; its catalogue page breaks the price down by Apify plan. The Apify Free plan includes $5 of usage a month.
The Actor behind it
StockTwits Ticker Sentiment & Trending Symbol Feed: Reads StockTwits' public message stream for any ticker or user, the market-wide trending-symbols list with trend summaries, and ticker search, including each post's self-tagged sentiment.
The same job from an AI agent
The matching agent skill gives Claude Code, Codex, Cursor and other agents the same Actor, input and fields. Install it in one line:
npx skills add https://scraperfinder.com --skill stocktwits-ticker-sentiment-and-trending-symbol-feed The stockTwits ticker sentiment skill, with manual install and run steps
Questions people ask
How do I import this workflow into n8n?
Copy https://scraperfinder.com/n8n/stocktwits-ticker-sentiment-and-trending-symbol-feed.json. In n8n, open a new workflow, click the three-dot menu, choose Import from URL and paste it. Or download the JSON file and use Import from File; both give the same 6 nodes.
Do I need an Apify account?
Yes. The workflow calls the StockTwits Ticker Sentiment & Trending Symbol Feed Actor through the Apify API with your own token, and each run is billed to your Apify account. The Free plan includes $5 of usage a month.
What does a run cost?
With the starter input (maxItems = 25) a first run costs about $0.42 on the Apify Free plan: $0.40 to start the run at 4 GB of memory and $0.02 for the results, plus platform usage. The Actor's Store page shows the current price.
Can I change what it collects?
Yes: edit the input object in the Configure input node. The Actor takes 19 settings; the table on this page lists each one with its default. Raise maxItems once the first rows look right.
Does it work without Google Sheets?
Yes. The rows wait in the Rows ready node, so you can connect any other node there: a database, Airtable, a webhook or an email. The Google Sheets node is only one option.