Stocktwits Sentiment Scraper avatar

Stocktwits Sentiment Scraper

Pricing

Pay per usage

Go to Apify Store
Stocktwits Sentiment Scraper

Stocktwits Sentiment Scraper

Scrape real-time bullish/bearish sentiment from Stocktwits. Extract investor opinions, stock insights & market trends instantly. Perfect for traders & financial analysts seeking actionable trading data & sentiment-driven market analysis.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Shahid Irfan

Shahid Irfan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Extract Stocktwits market sentiment data in minutes. Collect trending symbols and market messages at scale, enriched with sentiment labels for faster analysis. Built for traders, research teams, and automation workflows that need reliable sentiment datasets.

Features

  • Trending symbol tracking — Collect symbols gaining the most attention right now
  • Market message extraction — Gather fresh market-focused messages from active symbol streams
  • Sentiment labeling — Add positive, neutral, or negative labels for quick signal analysis
  • Flexible volume control — Set custom limits for symbols and news items in each run
  • Run summary output — Save a structured execution summary for downstream automation

Use Cases

Trading Signal Research

Build historical sentiment datasets to evaluate how crowd tone aligns with price movement. Compare trend shifts and sentiment spikes across symbols and sessions.

Market Intelligence Dashboards

Feed near-real-time buzz and sentiment into internal dashboards. Track what the community is discussing and which topics are gaining momentum.

Alerting and Workflow Automation

Trigger alerts when new sentiment-tagged messages appear. Route data to webhooks, spreadsheets, or analytics tools for automated monitoring.

Content and Narrative Analysis

Measure how market narratives evolve during major events like earnings, macro releases, or sector rotations. Identify which stories drive the most engagement.


Input Parameters

ParameterTypeRequiredDefaultDescription
includeTrendingSymbolsBooleanNotrueInclude trending symbols in output
maxSymbolsIntegerNo20Maximum number of trending symbols to collect
includeNewsBooleanNotrueInclude Stocktwits market messages
maxNewsItemsIntegerNo20Maximum number of news messages to collect
computeSentimentBooleanNotrueAdd sentimentScore and sentimentLabel fields
timeoutSecsIntegerNo30Request timeout per source endpoint
maxRetriesIntegerNo3Maximum retry attempts per request
proxyConfigurationObjectNoOptional proxy settings for improved reliability

Output Data

Each dataset item contains one of these record types: trending_symbol, news_message, or error.

FieldTypeDescription
typeStringRecord type (trending_symbol, news_message, error)
fetchedAtStringTimestamp when the record was collected
sourceUrlStringSource URL tied to the record
rankNumberRank among trending symbols (trending only)
symbolStringTicker symbol (trending only)
titleStringSymbol title (trending only)
idNumberSymbol identifier (trending only)
watchlist_countNumberWatchlist count when available (trending only)
messageIdNumberNews message ID (news only)
createdAtStringOriginal message timestamp (news only)
symbolStringPrimary symbol associated with the message (news only)
bodyStringNews message text (news only)
userObjectAuthor info with id and username (news only)
likesNumberMessage like count when available (news only)
sentimentScoreNumberNumeric sentiment score (news only, if enabled)
sentimentLabelStringSentiment label from score (positive, neutral, negative)
rawObjectRaw source payload for full downstream flexibility
endpointStringEndpoint that failed (error only)
errorStringError message when extraction fails (error only)

A run summary is stored in key-value store record OUTPUT.


Usage Examples

Basic Run

{
"includeTrendingSymbols": true,
"maxSymbols": 20,
"includeNews": true,
"maxNewsItems": 20,
"computeSentiment": true
}
{
"includeTrendingSymbols": true,
"maxSymbols": 50,
"includeNews": false
}

News-Only Collection Without Sentiment

{
"includeTrendingSymbols": false,
"includeNews": true,
"maxNewsItems": 100,
"computeSentiment": false
}

Sample Output

{
"type": "news_message",
"fetchedAt": "2026-02-24T12:00:00.000Z",
"messageId": 123456789,
"createdAt": "2026-02-24T11:59:10Z",
"symbol": "NVDA",
"body": "Strong reaction to earnings guidance in tech this morning.",
"user": {
"id": 987654,
"username": "marketwatcher"
},
"likes": 12,
"sentimentScore": 2,
"sentimentLabel": "positive",
"sourceUrl": "https://api.stocktwits.com/api/2/streams/symbol/NVDA.json"
}

Tips for Best Results

Start With QA-Safe Limits

  • Use maxSymbols: 20 and maxNewsItems: 20 for faster validation runs
  • Increase limits gradually after confirming output quality

Use Proxy When Reliability Drops

  • Enable proxyConfiguration if you see repeated request failures
  • Residential pools usually improve consistency under heavier usage

Calibrate Sentiment for Your Strategy

  • Use sentimentLabel for quick filtering and alert conditions
  • Combine sentiment with likes and timestamps for stronger context

Proxy Configuration

{
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Integrations

Connect your dataset with:

  • Google Sheets — Build shareable sentiment trackers
  • Airtable — Create searchable market narrative databases
  • BigQuery — Run large-scale analytics and historical comparisons
  • Make — Automate cross-tool workflows without custom code
  • Zapier — Trigger alerts and follow-up actions
  • Webhooks — Send data directly to your own services

Export Formats

  • JSON — API and engineering workflows
  • CSV — Spreadsheet and BI usage
  • Excel — Reporting and stakeholder sharing
  • XML — System-to-system integrations

Frequently Asked Questions

Do I need API credentials?

No. The actor collects publicly accessible Stocktwits data and runs without user-supplied API keys.

Why are there occasional error records in output?

Temporary blocking or network issues can happen. Error records preserve run visibility while helping you monitor reliability.

How many items can I collect?

You can raise limits above defaults, but start small to validate quality and runtime in your environment.

Where is the run summary stored?

Summary metadata is stored in the key-value store record OUTPUT.

Can I run only one data source?

Yes. You can independently enable or disable trending symbols and news collection.


Support

For issues or feature requests, use the Issues tab in this repository or contact support through the Apify Console.

Resources


This actor is intended for legitimate data collection and analysis. You are responsible for complying with platform terms and applicable laws in your jurisdiction. Use collected data responsibly.