50K+ tickers · Grok-ranked cashtags · Hourly

X Stock
Sentiment API

Track X/Twitter stock mentions, buzz scores, bullish ratios, trend direction and historical rankings through one JSON API. Use X (Twitter) cashtag sentiment in trading tools, fintech apps, dashboards and AI agents as an alternative to the StockTwits API.

X moves fast. Reading it by hand doesn’t scale.

Retail ideas surface across thousands of X accounts and fade within hours. Scanning cashtags and influencer posts takes time. The smaller accounts still slip through.

Too many places

Thousands of active X accounts with tens of thousands of daily cashtag posts. Impossible to track manually.

Noisy signals

Sarcasm, memes and repeat posters make raw cashtag counts unreliable. We check every mention in context.

No common scale

A buzz score from 0 to 100 puts $TSLA and $PLTR on one scale, so you compare them directly.

From one post to a buzz score.

Every hour the pipeline reads the cashtags that trend on X, finds the stocks in each post, scores its tone and adds it to the ticker’s numbers.

  1. 01 Collect

    Grok finds the cashtags that trend on X every hour. Real tweets and direct replies for each one come in through twscrape.

    @SawyerMerritt“Tesla AI has officially been renamed to Tesla SI (Super Intelligence).”
  2. 02 Match

    The entity graph finds tickers, names and products. A mention counts only after our AI has checked its context.

    TeslaTSLA
  3. 03 Score

    A hybrid of Twitter-RoBERTa and VADER with a finance lexicon scores each tweet, emoji included. From −1 bearish to +1 bullish.

    +0.45 bullish
  4. 04 Aggregate

    Every mention of a ticker feeds one buzz score from 0 to 100, its bullish share and its trend.

    86.4 buzz score
  5. 05 Serve

    Ten REST endpoints return the results as JSON, from the trending list to a ticker’s daily history.

    GET /v1/stock/TSLA { "ticker": "TSLA", "buzz_score": 86.4, "trend": "stable", "mentions": 5081 }

X sentiment API endpoints

A RESTful JSON API. Every request needs your key in the X-API-Key header. Try each call below.

Base URL
https://api.adanos.com/x/stocks
Authentication
X-API-Key header on every request
Rate limits
100 to 1,000/min, plus a monthly quota
Format
JSON (UTF-8), times in UTC
GET/v1/trending
Window
Type
Limit
3
from
Inclusive UTC start date (YYYY-MM-DD)
to
Inclusive UTC end date (YYYY-MM-DD). Without a window: the current UTC day so far. At most 30 days back on Free, 90 on Hobby and 365 on Professional
limit
Maximum results, 1 to 100Default 20
offset
Skip the first N results for paginationDefault 0
type
Asset type: stock, etf or allDefault all

Docs, SDKs and CLI

Official SDKs for Python, TypeScript, PHP and Go. For the terminal, scripts and agents there is the Adanos CLI. Every client uses the same API key.

  • Python SDKpip install adanos
  • TypeScript SDKnpm install finance-sentiment
  • PHP SDKcomposer require adanos/adanos-php
  • Go SDKgo get github.com/adanos-software/adanos-go-sdk
  • Adanos CLIpipx install adanos-cli

Start free. Upgrade when you ship.

One key opens all five sentiment APIs. The plans differ in volume, history and commercial use.

Free

$0

No credit card required

Perfect for quick tests, API exploration and early prototypes.

  • 250 requests a month
  • 100 requests a minute
  • 30 days of history
  • Email support
  • Non-commercial use

Hobby

$29$24.17a month*Hobby includes VAT where applicable and is non-commercial only. Prices in EUR and USD are fixed local prices.

$290 billed yearlySave $58

For professional traders, personal trading bots, academic research & side projects.

  • 250,000 requests a month
  • 1,000 requests a minute
  • 90 days of history
  • Email support
  • Non-commercial use

Professional

Recommended

$299$249.17a month

$2,990 billed yearlySave $598

For hedge funds, fintech startups, trading platforms & commercial applications.

  • 2,500,000 requests a month
  • 1,000 requests a minute
  • Up to 365 days of history
  • Raw mentions and the text sentiment API
  • Priority support with SLA
  • Commercial use

One key, every source

Every plan, Free included, opens all five sentiment APIs with the same key. YouTube is next.

X-API-Key: YOUR_KEY

Higher limits or custom feeds? Talk to us about Enterprise. Every feature side by side on the pricing page.

Frequently asked questions

Everything you need to know about the X Stock Sentiment API.

Not answered here? Write to support@adanos.com

What is the X Stock Sentiment API?

The X Stock Sentiment API is a REST API that scores cashtag posts on X (Twitter) and returns mentions, a bullish ratio, a buzz score, trend direction and history per ticker as JSON, refreshed hourly for 50,000+ stocks. The free tier includes 250 requests per month and 30 days of history. Hobby adds 90 days of history for non-commercial use. Professional adds 365 days, raw mentions and commercial use.

Academic background: Bollen, Mao and Zeng (2011), Twitter Mood Predicts the Stock Market, Journal of Computational Science 2(1).

GET/x/stocks/v1/stock/TSLA

What data sources do you track?

We use a two-layer pipeline for X/Twitter. Grok identifies which cashtags ($TSLA, $NVDA, etc.) are currently trending, then we enrich those symbols with real tweets and direct replies collected from X via twscrape. This includes posts from traders, financial news sources, influential accounts and broader market discussions.

GET/x/stocks/v1/trending

How often is data updated?

Grok analysis is fetched hourly from X/Twitter. Trend uses the current 3 UTC days vs the previous 3 UTC days, while daily history uses completed UTC days plus the current live day. Historical data is available for up to 365 days.

GET/x/stocks/v1/health

What format is the API response?

All responses are JSON (UTF-8). The /v1/stock/{ticker} endpoint returns detailed per-ticker data: daily_trend, sentiment metrics, engagement and author breadth. For a broader view, /v1/market-sentiment returns aggregate buzz, author breadth and the tickers driving the current X mood. Professional accounts can also call /v1/stock/{ticker}/mentions for raw tweet rows with count and results.

Content-Type: application/json

How is sentiment calculated?

We use a hybrid VADER + Twitter-RoBERTa model, with VADER enhanced by a finance-specific lexicon of terms like moon, tendies, bearish and short squeeze. Emojis are also analyzed, such as 🚀, 🐻 and 💎🙌. Scores range from -1.0 (bearish) to +1.0 (bullish) and bullish_pct / bearish_pct show the positive/negative share. Non-English tweets are usually skipped.

"sentiment_score": 0.149

How is buzz score calculated?

Buzz score (0-100) combines five weighted factors from real tweet data: mentions (20), sentiment (20), quality (10), author diversity (14, HHI-based) and trend (-10 to +20). Scores above 50 use asymptotic scaling to prevent ceiling clustering.

"buzz_score": 86.4

How is trend calculated?

Trend compares normalized X attention for the current 3 UTC days with the previous 3 UTC days using mentions, engagement and author breadth where available. Result: rising (>+10%), falling (<-10%) or stable (within ±10%). It is no longer a Grok-rank-only signal and it is not a price trend. The trend_history array remains daily buzz-score history.

"trend": "rising"

Does X include Reddit validation?

No. X/Twitter responses no longer include a Reddit validation flag. Use X-native fields such as buzz_score, mentions, unique_tweets, total_upvotes, trend, trend_history and sentiment metrics for X ranking and confidence decisions.

GET/x/stocks/v1/stock/TSLA

What’s included in the free tier?

The free tier includes 250 API calls per month, 100 requests per minute, access to the full base endpoint surface including market-wide sentiment snapshots and 30 days historical data. Raw mention endpoints are Professional-only. Perfect for personal projects and prototyping. Upgrade for 250,000 Hobby requests/month or 2,500,000 Professional requests/month.

X-RateLimit-Limit-Monthly: 250

Is there rate limiting?

Yes. Free tier keys are limited to 100 requests per minute and 250 requests per month. Hobby allows 1000 requests per minute with 250,000 requests per month. Professional allows 1000 requests per minute with 2,500,000 requests per month. Monthly quota headers, including X-RateLimit-Remaining-Monthly and X-RateLimit-Reset-Monthly, are included in protected responses. Exceeding limits returns HTTP 429.

HTTP 429 Too Many Requests

Can I use this for trading decisions?

Our data is for informational purposes only. Sentiment is one signal among many. It reflects social media discussion, not institutional activity or fundamentals. Many traders use it as a contrarian indicator or for timing. Past sentiment is not indicative of future performance. Always do your own research.

"bullish_pct": 43