# 📈 Stock Sentiment Intelligence - Reddit Buzz Tracker (`benthepythondev/stock-sentiment-intelligence`) Actor

Extract real-time stock and crypto sentiment from Reddit communities including WallStreetBets, r/stocks, r/investing. Get mentions, upvotes, momentum signals, and sentiment analysis (BULLISH/BEARISH/NEUTRAL). Track trending tickers before they move.

- **URL**: https://apify.com/benthepythondev/stock-sentiment-intelligence.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** Social media, AI, Other
- **Stats:** 53 total users, 11 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Stock Sentiment Intelligence

**Extract real-time stock and crypto sentiment from Reddit communities including WallStreetBets, r/stocks, r/investing, and more. Get mentions, upvotes, momentum signals, and sentiment analysis.**

### What you get

- **13 structured fields per record** — `engagement_ratio`, `mention_change_pct`, `mentions_24h`, `mentions_24h_ago`, `name`, `rank`, `rank_24h_ago`, `rank_change`…
- **Clean, validated JSON** ready for your pipeline
- **Pre-built dataset Overview** in the Apify Console for instant inspection
- **Reliable & maintained** — patched whenever the source changes

### Why this actor (vs. alternatives)

| | Build your own | Generic scraper | **This actor** |
|---|---|---|---|
| Maintenance | You patch every change | Often broken | Patched continuously |
| Structured output | Manual parsing | Inconsistent | Validated schema |
| Setup time | Days | Hours | Minutes |
| Pay only for results | N/A | Varies | Yes (pay-per-use) |

### Input

| Field | Type | Description |
|---|---|---|
| `mode` **(required)** | `string` | How to collect sentiment data Options: `trending`, `specific_tickers`, `multi_source` |
| `filterType` | `string` | Which Reddit community or aggregation to use (for trending mode) Options: `all-stocks`, `all-crypto`, `wallstreetbets`, `stocks`, `investing`, `cryptocurrency` |
| `tickers` | `array` | List of stock/crypto tickers to look up (for specific\_tickers mode). Example: NVDA, TSLA, BTC |
| `sources` | `array` | Which subreddits to compare (for multi\_source mode) |
| `maxResults` | `integer` | Maximum number of stocks to return |
| `includeCrypto` | `boolean` | Also fetch top crypto sentiment when using all-stocks filter |

### Example Input

```json
{
  "mode": "trending",
  "filterType": "all-stocks",
  "sources": [
    "wallstreetbets",
    "stocks",
    "investing"
  ],
  "maxResults": 50,
  "includeCrypto": false
}
```

### Output (sample)

```json
{
  "ticker": "MU",
  "name": "Micron Technology",
  "rank": 1,
  "mentions_24h": 848,
  "upvotes_24h": 6095,
  "rank_24h_ago": 1,
  "mentions_24h_ago": 2365,
  "mention_change_pct": -64.14,
  "rank_change": 0,
  "engagement_ratio": 7.19,
  "sentiment_signal": "BEARISH",
  "source": "all-stocks",
  "scraped_at": "2026-05-28T18:18:57.395116+00:00"
}
```

### Use cases

- **Fintech / trading apps** — power dashboards with reliable market data
- **Quant research** — backtest models on historical data
- **Portfolio tools** — track positions and exposure
- **Market research** — analyze trends across instruments
- **Alerting** — trigger notifications on price/metric moves

### Pricing

**Pay-Per-Event:**

- $0.001 per result
- $0.00005 actor-start fee

#### Example runs

| Use case | Results | Cost |
|---|---|---|
| Quick scan | 100 | **$0.10** |
| Standard run | 500 | **$0.50** |
| Bulk dataset | 2,000 | **$2.00** |

### FAQ

**Q: How fresh is the data?**\
A: Real-time — every run fetches live from the source.

**Q: Do I pay for failed or empty runs?**\
A: You pay per result returned, plus a tiny actor-start fee.

**Q: Can I schedule recurring runs?**\
A: Yes — use the Apify Console scheduler for daily/weekly automation.

**Q: Can I export the data?**\
A: Yes — JSON, CSV, Excel, and API access are all supported by Apify.

### Related actors

- **[yahoo-finance-scraper](https://apify.com/benthepythondev/yahoo-finance-scraper)** — stock fundamentals & financial data
- **[crypto-intelligence](https://apify.com/benthepythondev/crypto-intelligence)** — cryptocurrency market data
- **[coingecko-crypto-intelligence](https://apify.com/benthepythondev/coingecko-crypto-intelligence)** — CoinGecko crypto market data
- **[forex-exchange-intelligence](https://apify.com/benthepythondev/forex-exchange-intelligence)** — ECB currency exchange rates

### Legal & compliance

This actor retrieves publicly accessible data only. You are responsible for respecting the source's Terms of Service, honoring robots.txt, and complying with GDPR / applicable regulations for any personal data.

### Support & feature requests

Open an issue on the Actor page or contact via Apify Console messaging. Custom features welcome.

# Actor input Schema

## `mode` (type: `string`):

How to collect sentiment data

## `filterType` (type: `string`):

Which Reddit community or aggregation to use (for trending mode)

## `tickers` (type: `array`):

List of stock/crypto tickers to look up (for specific\_tickers mode). Example: NVDA, TSLA, BTC

## `sources` (type: `array`):

Which subreddits to compare (for multi\_source mode)

## `maxResults` (type: `integer`):

Maximum number of stocks to return

## `includeCrypto` (type: `boolean`):

Also fetch top crypto sentiment when using all-stocks filter

## Actor input object example

```json
{
  "mode": "trending",
  "filterType": "all-stocks",
  "sources": [
    "wallstreetbets",
    "stocks",
    "investing"
  ],
  "maxResults": 10,
  "includeCrypto": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/stock-sentiment-intelligence").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "maxResults": 10 }

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/stock-sentiment-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxResults": 10
}' |
apify call benthepythondev/stock-sentiment-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/stock-sentiment-intelligence"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KzHVThgkTQP46fASS/builds/z8Gv2WLQDPJU6gvb4/openapi.json
