Stocktwits Sentiment Scraper — Messages, Bullish %, Trends
The bullish percentage, with the formula and the denominator published.
Stocktwits messages for the tickers, users or streams you choose, with the author's Bullish or Bearish tag, the price of each tagged ticker at the moment of posting and the author's public stats; a per-ticker sentiment row computed with a published formula; Stocktwits' own daily sentiment index with about 61 days of history; and the trending tickers with fundamentals.
oswaldocarabano/stocktwits-sentiment-scraper
{
"outputType": "symbol-sentiment",
"symbols": ["TSLA", "NVDA", "BTC.X"],
"messagesPerSymbol": 200
}- Version
- v0.1.3
- Memory
- 512 MB
- Browser
- none
- Proxy
- Optional; connections rotate when throttled
Short answer
The Stocktwits Sentiment Scraper is an Apify Actor that reads Stocktwits' public API endpoints without an account or key and returns four row types: messages with the author's own Bullish or Bearish tag, tickers and the price at posting; one sentiment row per ticker computed with a published formula; Stocktwits' daily sentiment index with about 61 days of history; and the trending tickers with fundamentals. The tag is the author's choice, not a model's: in 3,400 messages measured on 18 November 2026, 36.4% carried one, so a bullish percentage describes about a third of the conversation. The per-ticker row says how many messages were labeled next to every percentage. Pricing is $0.80 per 1,000 messages and $0.002 per ticker sentiment row.
Key points
- Only 36.4% of 3,400 Stocktwits messages measured on 18 November 2026 carried the author's Bullish or Bearish tag, so a bullish percentage rests on about a third of the messages.
- The Stocktwits Sentiment Scraper computes bullish percentage as bullish over labeled messages, and labels a ticker insufficient-data when fewer than 10 messages are tagged.
- Stocktwits throttled one IP after roughly 240 to 270 consecutive requests on 18 November 2026, with a Cloudflare challenge that lifted in about 50 seconds.
- Stocktwits' own daily sentiment index was present for 88.6% of 307 tickers measured on 18 November 2026, and missing for small tickers with no tagged messages that day.
- Stocktwits watchlists and the equities, forex and futures streams answer 401 without an account, so the Stocktwits Sentiment Scraper does not offer them.
- Across 53 platform runs on 18 November 2026, the Stocktwits Sentiment Scraper charged exactly the 5,182 rows it delivered, with zero duplicates.
What it does
Stocktwits messages for the tickers, users or streams you choose, with the author's Bullish or Bearish tag, the price of each tagged ticker at the moment of posting and the author's public stats; a per-ticker sentiment row computed with a published formula; Stocktwits' own daily sentiment index with about 61 days of history; and the trending tickers with fundamentals.
{
"_type": "symbol-sentiment",
"symbol": "AAPL",
"title": "Apple Inc",
"exchange": "NASDAQ",
"watchlist_count": 1002254,
"window_messages": 200,
"window_start": "2026-11-18T10:42:21.000Z",
"window_end": "2026-11-18T19:22:30.000Z",
"window_hours": 8.67,
"messages_per_hour": 23.07,
"labeled_messages": 73,
"bullish_pct": 39.73,
"bearish_pct": 60.27,
"net_sentiment_pct": -20.54,
"sentiment_label": "bearish",
"peak_hour": "2026-11-18T14:00:00.000Z",
"unique_authors": 110,
"top_co_mentioned_symbols": ["SPY", "NVDA", "QQQ", "GOOGL", "TSLA"],
"last_price": 352.69,
"stocktwits_bullish_pct": 43.39,
"stocktwits_bullish_pct_7d_avg": 47.27,
"formula_version": "v1"
}Why this one
A ratio that shows its denominator
A bullish percentage without the number of tagged messages behind it cannot be compared across tickers. Every `symbol-sentiment` row carries `labeled_messages`, `unlabeled_messages` and `labeled_share_pct` next to `bullish_pct`, the formula version, and a label of `insufficient-data` below 10 tagged messages. The same messages always give the same row: no model, no randomness.
Two sentiment measures, side by side
The window aggregate is computed from the latest messages; the `stocktwits_*` columns are Stocktwits' own daily index, copied as published. For AAPL on 18 November 2026 the window said 39.73% bullish over 73 tagged messages and the Stocktwits index said 43.39% for the day — two different questions, both answered on one row.
Price at the moment of posting
Stocktwits stores the price of every tagged ticker when a message is posted. `price_at_post` was filled on 97.8% of 3,400 messages, which is what makes a backtest of message timing possible without a separate price feed.
Throttling handled, never solved
Stocktwits answers a burst from one IP with a Cloudflare challenge. The Actor paces each connection at about 200 requests per minute, below the measured threshold, and switches to a fresh connection at the first 429. It never attempts the challenge.
Use cases
- Track bullish and bearish share per ticker on a schedule, with the number of tagged messages behind each percentage.
- Collect the messages of a ticker with the price at posting, to test whether message volume or tone leads price.
- Pull 61 days of Stocktwits' own daily sentiment and message-volume index for a list of tickers.
- Read the trending list with why each ticker trends, plus market cap, P/E and float.
- Monitor a ticker's stream with only-new mode, so each scheduled run delivers and charges only messages not seen before.
Input
Every field has a default, and the defaults are deliberately small so a first run is cheap enough to inspect before you commit to a sweep. This table mirrors the Actor's own input schema field for field.
| Field | Default | What it does |
|---|---|---|
outputTypestring | message | What to extractmessage, symbol-sentiment, sentiment-history or trending-symbol. One row type per run. |
symbolsstring[] | [] | TickersAAPL, $tsla, BRK.B, BTC.X for crypto, RELIANCE.NSE, or ticker links. Empty: the trending stream, or the top 10 trending tickers in the ticker modes. |
usernames / startUrls / feedsstring[] | [] | Other sourcesMessages mode: public usernames, message links, and the global trending, suggested and charts streams. |
messageFilterstring | all | Ticker stream filterall, top, links or charts, applied by Stocktwits. |
sentimentFilter / minAuthorFollowers / onlyPriceTargetsmixed | any, —, false | Actor-side filtersStocktwits has no such filters, so the Actor applies them, scanning at most 3,000 messages per stream. Filtered messages are never charged. |
postedWithinHoursinteger | — | Posted within (hours)Stops reading a stream at the first older message; in ticker-sentiment mode it is the aggregate's window. |
messagesPerSymbolinteger | 200 (sentiment) | Messages per tickerThe size of the sentiment window, or an optional per-stream cap in messages mode. |
trendingRegion / trendingAssetClassstring | US, any | Trending listUS, India or Canada; stocks, ETFs or crypto, applied by the Actor. |
onlyNewSinceLastRunboolean | false | Only new since my last runpersonal dataRemembers what earlier runs with the same input delivered and charges only new messages. |
maxItemsinteger | 50 | Maximum resultsShared fairly between tickers, users and streams. |
maxConcurrencyinteger | 4 | Parallel requestsEach connection is paced to about 200 requests per minute. |
Output and fill rates
A field being in the schema is not the same as it having a value. The percentages below were counted on real runs; the sample sizes are in Measurements. Anything not listed here is not promised.
| Field | Filled | Meaning |
|---|---|---|
bodystring | 99.9% | Message text, with `message_id`, `url`, `created_at` and `age_hours`. Rate over 3,400 messages from 30 tickers, 3 streams and 1 user. |
symbolsstring[] | 98.1% | Tagged tickers, with `symbol_prices`. |
price_at_postnumber | 97.8% | Price of the stream's ticker when the message was posted. |
author_countrystring | 90.1% | Declared by the author. With followers, account age in days, official status. |
sentimentstring | 36.4% | bullish, bearish or null, as tagged by the author; `sentiment_score` +1 or −1. |
chart_urlstring | 13.5% | Chart image attached to the message. |
linksobject[] | 10.5% | With `link_titles` and `link_domains`. |
price_targetnumber | 0.4% | With date, direction and status. 7 of 1,800 messages in an unfiltered count. |
bullish_pctnumber | 100% | Ticker sentiment rows: bullish over labeled messages, with `labeled_messages`, `net_sentiment_pct` and `sentiment_label`. Every window field filled on 307 tickers. |
hourly_volumeobject[] | 100% | Messages per UTC hour with bullish and bearish counts, empty hours included. |
stocktwits_bullish_pctnumber | 88.6% | Stocktwits' own daily index on the ticker row, with 7-day average and volume score. 307 tickers. |
bullish_pct (history)number | 94.1% | Daily index rows: 749 ticker-days on the platform. A day with no tagged message has no percentage, never a fake 0%. |
trend_summarystring | 34.9% | Why a ticker trends, written by Stocktwits for top names. 126 trending rows. |
market_cap_millionsnumber | not measured | Trending rows, with P/E, EPS, float and 30+ fundamentals; 54% to 98% by field over 126 rows. |
Every key is always present. A field that exists but is empty comes back as explicit null, so a parser never has to guess.
Datasets
Different record types go to different datasets, so the main table never carries columns that are blank on most rows.
defaultOne row type per run: `message` (60 columns), `symbol-sentiment` (47), `sentiment-history` (10) or `trending-symbol` (48).billedError rowsUnknown tickers, users or messages and tickers with no messages in the window. Never charged.never billed
Pricing
Pay per delivered result. Charges are applied as each row is produced rather than in a lump at the end, so an aborted run bills only for what it actually gave you.
| Event | Price | Notes |
|---|---|---|
apify-actor-startActor start | $0.00001 | The platform minimum, once per run. |
messageMessage | $0.0008 | One message with text, date, author sentiment tag, tickers with price at post, engagement, links, charts and public author stats. |
symbol-sentimentTicker sentiment | $0.002 | One ticker aggregated from its latest messages, 200 by default, plus Stocktwits' daily index. |
sentiment-dayDaily sentiment point | $0.0003 | One day of Stocktwits' sentiment index for a ticker. |
trending-symbolTrending ticker | $0.0009 | One ticker from the trending list with rank, score, why it trends and fundamentals. |
Measurements
Each figure is shown with the method that produced it. A benchmark without a method is a marketing claim wearing a number's clothes.
Messages with a sentiment tag
36.4% of 3,400
Messages from 30 tickers, 3 global streams and 1 user, read on 18 November 2026.
Per-IP limit
≈240–270 requests, then 429
18 November 2026: 267 serial requests at 11 per second from a local IP; 240 from a direct Apify IP and 260 from a datacenter proxy before Cloudflare challenged. Residential routes completed 300 of 300 at about 3.5 per second.
Stream pagination
1,199 of 1,199 unique
40 pages of 30 by the `max` cursor on AAPL (5 days of messages) and ZIM (4.5 months), ids strictly decreasing.
Platform quality runs
53 of 53 succeeded
Build 0.1.3, 18 November 2026: 5,182 rows charged, equal to rows delivered, 0 duplicates. Mean non-null columns per message 38.8 (n = 4,236).
Default run
3 to 4 seconds
Empty input on Apify, three runs; 50 of 50 keys identical between them.
What it will not do
Stated plainly so you can judge fit before spending anything.
- The sentiment tag is optional for authors: 36.4% of 3,400 messages carried one. Untagged messages count in volume but not in the percentages.
- Watchlists, sector and industry streams and the equities, forex and futures streams need an account (401) or do not exist (404), so they are not offered.
- The trending list has 30 tickers for the US and India and a handful for Canada; other regions and the `videos` filter are ignored by Stocktwits.
- Price targets are rare: 0.4% of 1,800 messages in an unfiltered count. The 1.2% seen across 4,236 platform rows includes runs filtered to price targets.
- Trending fundamentals were filled on 54% to 98% of 126 rows depending on the field; ETFs and crypto have none.
- Pages after the first in a stream use a `?max=` query, and the API host's robots.txt disallows `/*?` for all agents. Stocktwits' Terms restrict automated extraction to approved APIs; see the Stocktwits API guide.
Privacy
- Messages are public posts and carry the author's public username and profile stats: followers, account age, official status, declared country.
- Emails and phone numbers are removed from message text and display names; 1 email was redacted in 3,400 messages. Avatars and the lists of users who liked or reshared are not collected.
- Removal requests: privacy@actorstack.dev
See also the data removal process.