StockTwits Scraper avatar

StockTwits Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
StockTwits Scraper

StockTwits Scraper

Scrape StockTwits - the social network for investors and traders. Get live message streams for any stock/crypto ticker, bullish/bearish sentiment, trending symbols, user timelines, and symbol search results. No login required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape StockTwits — the social network for investors and traders. Pull the live message stream for any stock or crypto ticker, bullish/bearish sentiment tags, trending symbols, market-wide trending messages, a user's post history, and ticker search results. No login, no API key, no cookies required.

What this actor does

  • Five modes: symbolMessages, userMessages, trendingSymbols, trendingMessages, symbolSearch
  • Sentiment tags: captures each message's Bullish/Bearish self-tag when the author set one
  • Sentiment filter: keep only Bullish, only Bearish, only tagged messages, or everything
  • Stream sort: newest-first ("All") or StockTwits' algorithmically ranked "Top" messages
  • Trending data: market-wide trending tickers (all asset classes or equities-only) with sector/industry and a trend summary
  • Engagement metrics: like counts, reshare counts, follower counts
  • Empty fields are omitted

Output fields

Message records (recordType: "message")

  • messageId, body, createdAt
  • isDiscussion — StockTwits' own flag for whether the post is part of a threaded discussion
  • sentimentBullish or Bearish, only present if the author tagged one
  • symbol, symbols[] — cashtags mentioned in the post
  • priceAtPost — the ticker's price at the moment of posting, when StockTwits attached one
  • username, userDisplayName, userFollowers, userOfficial, userAvatarUrl
  • likeCount, reshareCount
  • source — the posting client (web, iOS, Android, API, etc.)
  • mediaUrls[] — attached chart/image URLs
  • stocktwitsUrl, stocktwitsUserUrl

Symbol records (recordType: "symbol")

  • symbol, symbolDisplay, title, exchange, region
  • sector, industry, instrumentClass
  • watchlistCount, isTrending, trendingScore, rank
  • trendSummary — StockTwits' AI-generated summary of why the ticker is trending
  • logoUrl, stocktwitsUrl

Input

FieldTypeDefaultDescription
modeselectsymbolMessagessymbolMessages / userMessages / trendingSymbols / trendingMessages / symbolSearch
symbolstringAAPLTicker for symbolMessages
usernamestringStockTwits username for userMessages
searchQuerystringFree-text query for symbolSearch
streamFilterselectallall (newest) or top (ranked) — symbolMessages only
sentimentFilterselectanyany / bullish / bearish / tagged
trendingCategoryselectallall or equitiestrendingSymbols only
maxItemsinteger30Hard cap on emitted records (1–1000)

Example: latest AAPL sentiment stream

{
"mode": "symbolMessages",
"symbol": "AAPL",
"streamFilter": "all",
"sentimentFilter": "tagged",
"maxItems": 50
}

Example: top bullish GME messages

{
"mode": "symbolMessages",
"symbol": "GME",
"streamFilter": "top",
"sentimentFilter": "bullish",
"maxItems": 30
}
{
"mode": "trendingSymbols",
"trendingCategory": "equities",
"maxItems": 30
}

Example: search for a ticker

{
"mode": "symbolSearch",
"searchQuery": "tesla",
"maxItems": 20
}

Use cases

  • Retail sentiment tracking — measure bullish/bearish chatter volume for a ticker over time
  • Meme-stock monitoring — watch trending symbols and their AI trend summaries in real time
  • Social trading research — analyze influential traders' post history and engagement
  • Market-wide pulse checks — sample the trending message stream across all tickers
  • Ticker discovery — resolve company names to tradable symbols

FAQ

Do I need a StockTwits account or API key? No. This actor uses StockTwits' public JSON endpoints, the same ones the stocktwits.com website itself calls.

What does the sentiment field mean? StockTwits lets authors optionally tag a post "Bullish" or "Bearish" when posting. Most messages have no tag — those are omitted from the field entirely rather than shown as a null/neutral value.

What's the difference between all and top stream sort? all returns the newest messages first (a live firehose). top returns StockTwits' algorithmic ranking, which favors messages with more engagement.

Why do some symbol search results not look related to my query? StockTwits search matches on ticker symbol and company name; a query like "elon" surfaces both car-company mentions and unrelated tickers whose name/ticker string contains the term.

How far back does symbolMessages / userMessages go? The actor pages backward through the cursor until maxItems is reached or StockTwits reports no more pages — there is no fixed lookback window, it depends on how much history StockTwits keeps queryable for that symbol/user.

Is pricing data (priceAtPost) always present? Only when StockTwits attached a live price snapshot to that specific post at the time it was made; historical messages or illiquid tickers often lack it.

Why does curl/wget return 403 on stocktwitsUrl / stocktwitsUserUrl / userAvatarUrl? stocktwits.com sits entirely behind a Cloudflare bot-challenge that blocks plain HTTP clients on every page (including the homepage itself), independent of this actor. The links are valid and open normally in any real web browser — this is a site-wide anti-bot characteristic, not a broken link.