Skip to content
//StockTwits Scraper example\\

S&P 500 topic messages, 10 messages

Latest messages posted under the SPX topic.

Updated November 18, 2026

What this example returns

This example returns up to 10 messages.

The dataset’s “Messages” view shows 11 columns: Posted, User, Message, Sentiment, Likes, Replies, Reshares, Symbols, Followers, Source, and URL. See every output field.

What each setting does

The input this example runs StockTwits Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Max messages per symbol, user or hashtag maxMessages

10

How many messages to save from each stream (newest first). 0 means no limit.

Default: 20 → this example uses 10

Hashtags hashtags

spx

Hashtag (topic) streams, e.g. ai, earnings. The # sign is optional.

.json
{
  "hashtags": [
    "spx"
  ],
  "maxMessages": 10
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Messagefrom $0.0005852One StockTwits message saved to the dataset.
  • Actor startfrom $0.0015Charged once per run.
  • Trending symbolfrom $0.0005852One trending symbol saved to the dataset.

Full pricing

When to use this example

From the StockTwits Scraper readme:

Why is `sentiment` empty for some messages?

Authors choose whether to tag a message Bullish or Bearish. Use the labeled sentiment filter to keep only tagged messages.

Other ways to run StockTwits Scraper

All examples of StockTwits Scraper

About StockTwits Scraper

Scrape StockTwits messages for any ticker, user or hashtag, the trending stream and trending symbols. Get message text, Bullish/Bearish sentiment, likes, replies, reshares, price targets, charts and author stats. No login needed.

Price:
From $0.585 / 1,000 results
Developer:
Echofield
Categories:
News, Social media

StockTwits Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.