+Stocktwits API
Stocktwits sentiment, message streams, trending symbols and symbol profiles as JSON, with no developer key.
The API.SH Stocktwits API returns public Stocktwits data as JSON. Read a symbol's message stream with each poster's bullish or bearish tag, daily sentiment percentages for about the last month, trending symbols and messages, and a symbol's profile with quote, fundamentals and earnings. You can also search symbols and read a user's profile and messages.
- 7 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/stocktwits/v1/ search
{ "success": true } What you can build with the Stocktwits API
Retail sentiment signals
Track a ticker's daily bullish and bearish percentages and the tally of its latest messages as an input to trading models.
Trending ticker alerts
Watch trending stocks, ETFs and crypto with trending scores and Stocktwits' summary of why each one is moving.
Message stream analysis
Pull messages about a symbol with text, likes, replies, cashtags and prices at posting time for NLP and research.
Symbol data and fundamentals
Look up a symbol by name, then read its quote, market cap, P/E, 52-week range, earnings estimates and watchlist count.
Influencer tracking
Follow what specific traders post, with their followers, ideas count and official flag.
Stocktwits data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Stocktwits API endpoints and prices
Every Stocktwits endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Stocktwits symbol search /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits trending symbols /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits trending messages /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits symbol profile /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits user messages /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits sentiment /stocktwits/ | $1 · $2 PAYG 1 credit |
| Stocktwits symbol stream /stocktwits/ | $1 · $2 PAYG 1 credit |
Call the Stocktwits API
Stocktwits symbol search: GET https://api.api.sh/stocktwits/
curl "https://api.api.sh/stocktwits/v1/search?q=nvidia" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/stocktwits/v1/search",
params={"q": "nvidia"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/stocktwits/v1/search");
url.searchParams.set("q", "nvidia");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/stocktwits/v1/search", "q", "nvidia")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Stocktwits" and "Stocktwits symbol search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Stocktwits data
- Public data only: no Stocktwits login, cookies or account needed
- One key and one response shape for Stocktwits and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Stocktwits API
Stocktwits' developer portal has paused new registrations, and its sentiment and firehose data is sold through enterprise agreements. API.SH needs no Stocktwits developer key and returns public streams, sentiment and trending data as JSON at a fixed price per call.
A simpler Stocktwits API alternative to old GitHub clients that need a key you can no longer get, or RapidAPI listings: one API.SH key and a fixed price per call.
Stocktwits API questions
What Stocktwits data can I get?+
Symbol search (/stocktwits/v1/search), daily sentiment (/stocktwits/v1/sentiment), a symbol's message stream (/stocktwits/v1/stream), symbol profiles with quote and fundamentals (/stocktwits/v1/symbol), trending symbols (/stocktwits/v1/trending), trending messages (/stocktwits/v1/trending-messages) and a user's messages (/stocktwits/v1/user).
How much does the Stocktwits API cost?+
Every Stocktwits endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free Stocktwits API?+
Stocktwits is not issuing new free developer keys. On API.SH, every account gets 1,000 free credits every month. That is 1,000 calls to /stocktwits/v1/search at 1 credit each.
Is there an official Stocktwits API?+
Yes, but its developer portal is not accepting new registrations, and sentiment and full-stream data are offered through enterprise contracts. API.SH returns the public Stocktwits data you can see on the site without a developer key.
Do I need a Stocktwits account or login?+
No. API.SH reads public Stocktwits pages only. No endpoint uses a login, cookies or anyone's account, and it cannot post messages.
Can I get Stocktwits sentiment for a ticker?+
Yes. /stocktwits/v1/sentiment returns a symbol's daily bullish and bearish percentages for about the last month plus the tally of its latest messages. Each message in /stocktwits/v1/stream also carries the poster's bullish or bearish tag.
Can I use it from Python?+
Yes. It is a plain HTTPS API returning JSON, so requests or the API.SH Python SDK work. Pass next_cursor back as cursor to page through streams.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /stocktwits/v1/stream with symbol=AAPL. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.