7 endpoints

Stocktwits Data API

Community message streams, daily bullish/bearish sentiment series, trending symbols, user profiles, and symbol search โ€” from the largest social network built for traders and investors, via Anysite's structured REST API.

7 endpoints Sentiment series Trending symbols REST, MCP & CLI

What Stocktwits data unlocks

Stocktwits is the largest social network built specifically for traders and investors โ€” over 6 million members share real-time trade ideas, market commentary, and directional signals across equities, crypto, and ETFs. The platform's unique asset is its per-message bullish/bearish sentiment tag, which aggregates into a daily sentiment ratio for any ticker. Getting that signal in structured form โ€” along with the community message stream, trending symbol leaderboard, and user profiles โ€” has historically required scraping a heavily rate-limited site. Anysite's Stocktwits endpoints give you a clean REST interface to seven data surfaces: from the full sentiment time series for a ticker to the live trending feed enriched with sector, market cap, P/E, and EPS context. No Stocktwits account or app approval required.

All Stocktwits Endpoints

Seven endpoints covering messages, symbols, sentiment, trending, and users. All return structured JSON via the Anysite REST API at /api/stocktwits/....

EndpointWhat It Returns
/api/stocktwits/messages/comments A message with its full reply thread โ€” message text, timestamp, source, sentiment tag, user profile (alias, followers, following, idea count, watchlist size), tagged symbols, linked media, reshare count, and all nested replies with the same fields.
/api/stocktwits/symbols A symbol's profile and its community message stream โ€” exchange, region, instrument class, watchlist count, and up to N most-recent messages each with full user, sentiment, symbol, media, and reshare data.
/api/stocktwits/symbols/search Search symbols by keyword โ€” returns matching symbols with name, exchange, region, and watchlist count for each result.
/api/stocktwits/symbols/sentiment Daily bullish/bearish sentiment series for a symbol โ€” one record per day with the bullish percentage and bearish percentage derived from community sentiment tags. Covers the full historical series available from Stocktwits.
/api/stocktwits/trending Currently trending symbols โ€” ranked by trending score with sector, industry, instrument class, watchlist count, market cap, P/E ratio, EPS, dividend yield, and a human-readable summary and description for each symbol.
/api/stocktwits/users A user's profile and their message stream โ€” alias, name, identity, home country, join date, follower and following counts, idea count, watchlist size, like count, official status, and up to N most-recent messages.
/api/stocktwits/users/search Search users by keyword โ€” returns matching user profiles with alias, name, image, and verification flags (official, premium, verified).

What You Can Build

Retail sentiment models

Pull the daily bullish/bearish series via /symbols/sentiment and plot it against price action. The sentiment ratio is derived from self-reported tags across millions of messages โ€” a signal not available from traditional financial data providers.

Trending-ticker radar

Poll /trending on a schedule to surface which symbols the Stocktwits community is actively discussing right now, with sector context, market cap, and P/E to filter out noise from low-quality names.

Narrative and topic monitoring

Monitor the community stream for a symbol via /symbols to detect emerging narratives, catalyst events, and opinion shifts before they spread to other platforms โ€” useful for earnings previews and risk monitoring.

Influencer tracking

Track prominent trading accounts via /users to monitor their idea output, follower growth, and top tickers. Combine with /messages/comments to follow high-engagement threads around specific trade ideas.

Quick Start

Get the sentiment series for TSLA and today's trending symbols in two requests.

SHELL
# Daily bullish/bearish sentiment for TSLA
curl https://api.anysite.io/api/stocktwits/symbols/sentiment   -H "access-token: YOUR_KEY"   -d '{"symbol":"TSLA"}'

# Currently trending symbols (top 20)
curl https://api.anysite.io/api/stocktwits/trending   -H "access-token: YOUR_KEY"   -d '{"count":20}'

Plans

Every endpoint is included in all Anysite plans โ€” there's no per-endpoint pricing to track. Use MCP Unlimited for flat-rate access through your AI tools, or a credit plan for REST & CLI at scale.

Frequently Asked Questions

Do I need a Stocktwits account or developer app approval?
No. Anysite handles the underlying data access โ€” you authenticate with your Anysite API key only. There is no separate Stocktwits account, OAuth flow, or developer app approval required to access any of these endpoints.
How far back does the sentiment series go?
The /symbols/sentiment endpoint returns the full historical daily sentiment series available from Stocktwits for a given ticker. Coverage depth varies by symbol and depends on when the symbol attracted community activity on the platform.
What does the bullish/bearish sentiment number represent?
Each number is a percentage of messages tagged with a bullish or bearish sentiment label by the author on that day. The values come directly from user-applied sentiment tags โ€” they reflect the community's self-reported directional bias, not a model-computed score.
Can I filter the symbol message stream by sentiment or type?
Yes. Use the optional filter parameter on /symbols to restrict the message stream to a subset โ€” for example, only bullish messages, only bearish messages, or messages from top ideas. See the docs for supported filter values.
Can I use these endpoints inside Claude, Cursor, or ChatGPT?
Yes. All Stocktwits endpoints are available via the Anysite MCP server and can be called directly from Claude Desktop, Claude Code, Cursor, and ChatGPT on the MCP Unlimited plan โ€” no additional setup required.
Does the trending endpoint update in real time?
The /trending endpoint reflects what Stocktwits currently marks as trending โ€” the leaderboard updates continuously on the platform side. Each call returns a fresh snapshot at request time.

Related Endpoints

Start querying Stocktwits data today

Sentiment series, community message streams, trending symbols, and user profiles โ€” via REST, MCP, or CLI. No Stocktwits account required.