StockTwits Scraper (Messages, Sentiment, Trending) avatar

StockTwits Scraper (Messages, Sentiment, Trending)

Pricing

from $0.05 / 1,000 messages

Go to Apify Store
StockTwits Scraper (Messages, Sentiment, Trending)

StockTwits Scraper (Messages, Sentiment, Trending)

Scrape StockTwits messages for any stock or crypto ticker with Bullish/Bearish sentiment, likes, author stats and the price at posting time — or the current trending symbols with watchlist counts. Public API, no login.

Pricing

from $0.05 / 1,000 messages

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

What is StockTwits Scraper?

StockTwits Scraper collects messages from StockTwits, the largest social network for traders and investors, for any stock, ETF or crypto ticker. Every message comes back as one clean row: text, the author's Bullish/Bearish sentiment tag, likes, reshares, every ticker mentioned, the price of each ticker at posting time, the author's price target and whether it was hit, links, images and author stats. Other modes return the posts of any user, StockTwits' current trending symbols, and StockTwits' own sentiment, volume and participation history per ticker — every day since 2018. Schedule it with Only new messages since the last run to pay only for new posts. It reads StockTwits' public API — no login, no cookies, no browser. Run it from the Apify Console, the API, a schedule, or an AI agent through MCP.

Price: $0.14 per 1,000 results on the free plan, $0.045–0.048 per 1,000 on paid plans (platform usage included). 1,000 AAPL messages cost about $0.14 on the free plan.

What data does StockTwits Scraper extract?

Messages (mode: "symbols")

FieldDescription
id, urlMessage ID and its StockTwits URL
stream, symbolsThe ticker whose stream it came from, and every ticker tagged in it
bodyMessage text with HTML entities decoded
createdAtPosting time (ISO 8601, UTC)
sentimentBullish, Bearish or null — tagged by the author
likes, reshares, isReshareEngagement
pricesPrice of each tagged ticker when the message was posted
media, linksAttached images and links
username, userDisplayName, userFollowers, userJoinDate, userOfficial, userCountryAuthor
sourceApp it was posted from
hasPriceTarget, priceTarget, priceTargetDirection, priceTargetDate, priceTargetStartPrice, priceTargetImpliedMovePct, priceTargetStatus, priceTargetHit, priceTargetFinalPrice …The author's Stocktwits Price Target, if any — see below

User posts (mode: "users"): the same message fields for the newest posts of each Stocktwits username.

Sentiment history (mode: "sentiment"): Stocktwits' own sentiment chart per ticker, newest first: symbol, date, dateTime, sentimentScore, sentimentLabel (e.g. BULLISH, EXTREMELY_BULLISH), sentimentNormalized (0–100 against the ticker's own history), messageVolume, messageVolumeNormalized, participationRatio and their labels. Sentiment range 1D / 1W gives intraday points, 1M–1Y one point per day, and ALL one point per day since 2018 (about 3,200 days for AAPL).

Trending symbols (mode: "trending"): rank, symbol, title, exchange, instrumentClass, watchlistCount, trendingScore, summary (StockTwits' explanation of why it is trending), summaryAt, sector, industry, url.

Price targets and their outcome

When the author attaches a Stocktwits Price Target to a message, the row carries it in 14 flat priceTarget* columns; on other messages they are null and hasPriceTarget is false. No extra requests and no extra charge: the target comes with the message.

FieldMeaning
priceTarget, priceTargetSymbolTarget price and the ticker it is for
priceTargetDirectionBullish or Bearish, as set with the target (can differ from the message's sentiment tag)
priceTargetDate, priceTargetSetAtDate the target should be reached by, and when it was set
priceTargetStartPrice, priceTargetImpliedMovePctPrice when it was set, and the move the target implies in % (computed: (target − start) / start)
priceTargetCurrentPrice, priceTargetChangeSinceSetPctPrice now and the change since the target was set, as Stocktwits reports them
priceTargetStatus, priceTargetHit, priceTargetFinalPrice, priceTargetAccuracyactive, or completed after the target date with whether it was hit, the final price and Stocktwits' accuracy value

Price targets are rare: 1 in 90 messages in an AAPL/BTC.X sample (3–4 Oct 2026) and 1 in 1,200 across the newest 300 messages of TSLA, AAPL, NVDA and SPY (28 Nov 2026). To build a list of targets, collect a larger stream and filter the dataset on hasPriceTarget = true; the Price targets dataset view shows only those columns. OUTPUT.streams[].priceTargets counts them per ticker.

How to use StockTwits Scraper

  1. Pick a Mode: messages for your tickers, posts of users, the trending list, or the daily sentiment history.
  2. Enter Symbols, one per line — AAPL, TSLA, SPY; crypto uses the .X suffix: BTC.X, ETH.X.
  3. Set Max messages per symbol (newest first; StockTwits serves 30 per page) and optionally keep only Bullish or Bearish messages.
  4. Click Start, then export the dataset as JSON, CSV, Excel or HTML, or read it through the API.

Monitor new messages on a schedule

  • Published after: only messages posted after a date (2026-11-01) or a period (6 hours, 2 days).
  • Only new messages since the last run: the Actor keeps the newest message id per ticker or user in your account's stocktwits-monitor key-value store; the next run returns only newer messages. The first run returns the newest Max messages per symbol. Use a different Monitor name per schedule.

Both stop paging at the first older message, so a quiet hour costs one request, not 300 messages. The OUTPUT record lists each stream with messagesSaved, newerThanId and newestId.

{
"mode": "symbols",
"symbols": ["NVDA", "TSLA"],
"onlyNewMessages": true,
"monitorName": "hourly",
"maxMessagesPerSymbol": 500
}

Example input

{
"mode": "symbols",
"symbols": ["AAPL", "NVDA", "BTC.X"],
"maxMessagesPerSymbol": 300
}

Example output

{
"id": "665715998",
"stream": "AAPL",
"symbols": ["XCN.X", "TSLA", "AAPL", "NVDA", "GME"],
"body": "$XCN.X $TSLA $AAPL $NVDA $GME https://x.com/Onyx/status/2106231252001099902",
"createdAt": "2026-10-04T14:28:50Z",
"sentiment": "Bullish",
"likes": 6,
"reshares": 0,
"isReshare": false,
"prices": { "XCN.X": 0.0048, "TSLA": 371.45, "AAPL": 333.53, "NVDA": 234.23, "GME": 25.16 },
"media": [],
"links": ["https://x.com/Onyx/status/2106231252001099902"],
"username": "Ihatemylifesavings",
"userFollowers": 57,
"userJoinDate": "2017-11-06",
"userOfficial": false,
"userCountry": "US",
"source": "StockTwits Web",
"url": "https://stocktwits.com/Ihatemylifesavings/message/665715998"
}

How much does it cost?

Pricing: StockTwits Scraper costs $0.14 per 1,000 results on the free plan and $0.045–0.048 per 1,000 on paid Apify plans (pay per result, platform usage included).

Pulling the latest 300 messages for 10 tickers (3,000 rows) costs about $0.42 on the free plan and about $0.14 on paid plans. Price-target columns are part of each message row and cost nothing extra. Set Maximum cost per run to cap any run.

Use cases

  • Retail sentiment signals — share of Bullish vs. Bearish tags per ticker per hour, as an input to a trading model or a dashboard.
  • Momentum and hype detection — the trending list plus message volume flags tickers the crowd is suddenly talking about.
  • Event monitoring — schedule a run every 15 minutes around earnings and send new messages to Slack or a webhook.
  • NLP datasets — labelled (Bullish/Bearish) financial social-media text for training and evaluating sentiment models.

Other Stocktwits scrapers in the Apify Store

What each Store page documents, read on 28 Nov 2026 (prices per 1,000 messages, Free plan / Gold plan, from each Actor's live pricing). "Not documented" means the page does not say.

This Actorautomation-labmaximeduprefetch_catdataji
Price$0.14 / $0.045$0.90 / $0.72 (+$0.005 start)$0.15 / $0.05$0.0602 / $0.0314 (+$0.005 start)$0.70 / $0.35
User postsYesYesYesNoYes
Only new messagesYes (stored per stream, or a date)Pass the last id yourselfPass the last id yourselfPass the last id yourselfYes
Sentiment historyStocktwits' daily series since 2018, plus intradayAbout the last 60 daysNoNoCounted from fetched messages
Price target columnsTarget, direction, dates, implied move, status, hit, final price, accuracyTarget, currency, dates, start and current priceTarget, dates, prices, status, hit, final price, accuracyNot documentedTarget, direction, date, status, hit, final price
"Only price targets" inputNo — filter on hasPriceTargetYesYesNoYes

Use it from code

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('webdatatools/stocktwits-scraper').call({ mode: 'sentiment', symbols: ['TSLA'], sentimentRange: '1Y' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const p of items) console.log(p.date, p.sentimentScore, p.sentimentLabel, p.messageVolume);

Python

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("webdatatools/stocktwits-scraper").call(run_input={
"mode": "symbols", "symbols": ["BTC.X"], "publishedAfter": "6 hours",
})
for m in client.dataset(run["defaultDatasetId"]).iterate_items():
print(m["createdAt"], m["sentiment"], m["body"][:80])

CLI: apify call webdatatools/stocktwits-scraper --input '{"mode":"users","usernames":["howardlindzon"],"maxMessagesPerSymbol":50}'

Errors

Problems go to the ERRORS key-value record and are never charged.

errorCodeerrorMeaning
INVALID_INPUTInvalid input: …No usable symbol or username, an unknown option, or Published after is not a date or period. The run ends SUCCEEDED; nothing is requested or charged
INVALID_SYMBOL / INVALID_USERNAMENot a ticker symbol / Not a Stocktwits usernameOne entry cannot be a ticker or username; the others still run
NOT_FOUNDSymbol not found on StockTwits / User not found on StockTwitsStocktwits answered 404
NO_SENTIMENT_DATASymbol has no Stocktwits sentiment dataNo sentiment chart for this ticker
SOURCE_UNAVAILABLEStream / Sentiment / Trending symbols could not be loaded (HTTP …)Failed after 5 attempts with back-off; if nothing was saved the run fails
TIME_LIMITStopped before the run timeout; not read: …Paging stopped so results, OUTPUT and the monitor memory are saved; raise the timeout or lower the limits

Limits

  • sentiment on a message is the author's own tag; most messages have none (null). It is not a model's prediction. For an overall reading use the sentiment mode, which is Stocktwits' own score across all messages.
  • Messages come newest-first; how far back a stream goes depends on StockTwits.
  • Public data only — no private messages, no watchlists of individual users.

Using StockTwits Scraper with AI agents

The Actor is pay-per-event with limited permissions, so assistants with the Apify MCP server (mcp.apify.com) can call it directly: "what is the retail mood on NVDA right now?" becomes one tool call returning tagged messages to summarise.

FAQ

Do I need a StockTwits account or API key? No. The Actor uses StockTwits' public, unauthenticated API.

How do I scrape crypto? Add the .X suffix: BTC.X, ETH.X, SOL.X.

Is this investment advice? No. It collects public social-media posts for research. Messages are opinions of their authors.

Is scraping StockTwits legal? The Actor reads publicly available posts through StockTwits' public API. You are responsible for how you use the data and for following StockTwits' terms.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

If this Actor saved you time, a short review on its Apify Store page helps other users find it. Nothing is offered in return.