Stock Sentiment

Whether traders on X are bullish or bearish on any US stock, right now.

GET/api/sentiment
SentimentIncluded in every plan · one key.

Overview

Live X (Twitter) sentiment for any US ticker. Each tweet is read by an AI model (DeepSeek) and scored bullish/bearish/neutral; the response is an engagement-weighted summary plus the tweets behind it. Only posts that actually mention the ticker drive the score — posts X flags as merely related are returned separately in `relatedTweets` and don't count. Non-English posts are auto-translated (`textEn`) and each carries its post date (`createdAt`). Two AI write-ups, `bullSummary` and `bearSummary`, recap what each camp is arguing. Cached ~30 min per ticker.

Use it toGauge how traders feel about a specific stock right now, before you act.

Coverage

Universe
Any US-listed ticker
History
Real-time snapshot
Updates
On demand · ~30 min cache
Source
X (Twitter) + DeepSeek AI

Call it

Send your ra_live_… key in the x-api-key header. Pick your language:

curl "https://raspberrytrades.com/api/sentiment?ticker=NVDA" \
  -H "x-api-key: ra_live_your_key_here"

Parameters

ParameterTypeDescription
tickerstringUS stock symbol, e.g. NVDA (required)
fresh0 | 11 = bypass the 30-min cache and fetch live now (optional)
x-api-keyheaderYour API key (required)
Example response
200 OK · application/json
{
  "ticker": "NVDA",
  "updatedAt": "2026-07-01T14:32:08Z",
  "mentions": 24,
  "sentiment": { "label": "bullish", "score": 0.42, "bullish": 14, "bearish": 4, "neutral": 6 },
  "bullSummary": "Traders point to the base breakout and strong AI demand, watching 145 as the trigger.",
  "bearSummary": "Skeptics flag the extended move and a possible pullback to the 50-day MA.",
  "topTweets": [
    {
      "author": "ripster47", "verified": true,
      "text": "$NVDA breaking out of this base, watching 145",
      "likes": 1280, "sentiment": "bullish",
      "createdAt": "Sun Jun 28 13:05:22 +0000 2026",
      "lang": "en", "url": "https://x.com/ripster47/status/..."
    }
  ],
  "relatedTweets": [],
  "cached": false
}
Sentiment — related datasets
Get your API key

Create a free account, copy your ra_live_… key and make your first call to https://raspberrytrades.com/api/sentiment.

Keep your key on your server — never ship it in front-end code.