Sentiment History & Trend
Whether the mood on a stock is improving or worsening over time — a sentiment trend line.
/api/historyOverview
Sentiment over time for a ticker — the trend line plus an `improving` / `worsening` / `flat` read over the last N days. Points accumulate every time a fresh sentiment read happens for that ticker, so the more it's queried the richer its history. Returns the time-series `points` (date, score, label, mentions) and a `trend` summary. Its own product (Sentiment History), with its own key.
Use it toSee whether the mood on a stock is building or fading — momentum in the sentiment itself.
Coverage
Call it
Send your ra_live_… key in the x-api-key header. Pick your language:
curl "https://raspberrytrades.com/api/history?ticker=NVDA&window=7" \
-H "x-api-key: ra_live_your_key_here"Parameters
| Parameter | Type | Description |
|---|---|---|
ticker | string | US stock symbol, e.g. NVDA (required) |
window | number | Trend window in days (default 7, max 365) (optional) |
x-api-key | header | Your API key — history scope (required) |
{
"ticker": "NVDA",
"windowDays": 7,
"trend": { "direction": "improving", "change": 0.18, "from": 0.12, "to": 0.30, "points": 9 },
"points": [
{ "at": "2026-06-28T14:00:00Z", "score": 0.12, "label": "bullish", "mentions": 22 },
{ "at": "2026-06-30T10:00:00Z", "score": 0.24, "label": "bullish", "mentions": 31 },
{ "at": "2026-07-01T12:00:00Z", "score": 0.30, "label": "bullish", "mentions": 28 }
]
}Create a free account, copy your ra_live_… key and make your first call to https://raspberrytrades.com/api/history.
Keep your key on your server — never ship it in front-end code.