Skip to content
//StockTwits Scraper example\\

SPY messages and trending symbols, 5 each

Messages for a ticker plus the currently trending symbols.

Updated November 18, 2026

What this example returns

This example returns up to 5 messages.

The dataset’s “Trending symbols” view shows 12 columns: Rank, Logo, Symbol, Name, Exchange, Class, Trend score, Watchers, Market cap (M), Sector, Trend summary, 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.

Symbols (cashtags) symbols

SPY

Ticker symbols to scrape, e.g. AAPL, TSLA, SPY. Crypto tickers end in .X (BTC.X, ETH.X). The $ sign is optional.

Max messages per symbol, user or hashtag maxMessages

5

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

Default: 20 → this example uses 5

Trending symbols includeTrendingSymbols

Yes

Also save the current list of trending symbols (up to 30) with rank, trend score, StockTwits' trend summary and key fundamentals.

Default: No → this example uses Yes

Max trending symbols maxTrendingSymbols

5

How many trending symbols to save (StockTwits ranks 30).

Default: 30 → this example uses 5

.json
{
  "symbols": [
    "SPY"
  ],
  "maxMessages": 5,
  "includeTrendingSymbols": true,
  "maxTrendingSymbols": 5
}

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:

Can I schedule it or use the API?

Yes. Schedule runs (e.g. every hour for trending symbols) and read the dataset with integrations or through the Scrape.ly API, CLI, or from AI agents through the Scrape.ly MCP server.

Known limit

Trending symbols are StockTwits' current top 30; there is no history of past rankings.

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.