Stocktwits scraper API: public pages as JSON
Send any Stocktwits page URL with recipe=stocktwits and get symbol, price, change_percent and 18 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 21 fields
- 1 credits a page · $0.10 per 1,000
- Working · 100% in 7 days
5,000 free credits for 21 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://stocktwits.com/symbol/AAPL' \
--data-urlencode 'recipe=stocktwits'
{
"result": {
"quote": {
"symbol": "AAPL",
"price": "344.48",
"change_percent": "-1.844%",
"pe_ratio": "39.11"
}
},
"success": true
}
What you get from Stocktwits
The fields of each page type and a real sample from our last validation, shortened.
Public pages recipe=stocktwits 1 credits a page
| Field | Type | Example |
|---|---|---|
quote.as_of | date | 2026-12-03T10:57:20-05:00 |
quote.change | text | -6.47 |
quote.change_percent | text | -1.844% |
quote.currency | text | USD |
quote.eps | number (as text) | 8.9791 |
quote.high | number (as text) | 349.5 |
quote.industry | text | Telecommunications Equipment |
quote.low | number (as text) | 343.75 |
quote.market_cap_millions | number (as text) | 5100069.324172 |
quote.name | text | Apple Inc |
quote.open | number (as text) | 349.5 |
quote.pe_ratio | number (as text) | 39.11 |
Show all 21 fields
quote.previous_close | number (as text) | 350.95 |
quote.price | number (as text) | 344.48 |
quote.sentiment | text | Bullish |
quote.sentiment_score | number (as text) | 56 |
quote.symbol | text | AAPL |
quote.volume | number (as text) | 10146954 |
quote.watchlist_count | number (as text) | 1005685 |
quote.week_52_high | number (as text) | 360.83 |
quote.week_52_low | number (as text) | 243.42 |
Sample answer, validated 2026-12-03
{
"quote": {
"as_of": "2026-12-03T10:57:20-05:00",
"change": "-6.47",
"change_percent": "-1.844%",
"currency": "USD",
"eps": "8.9791",
"high": "349.5",
"industry": "Telecommunications Equipment",
"low": "343.75",
"market_cap_millions": "5100069.324172",
"name": "Apple Inc",
"open": "349.5",
"pe_ratio": "39.11",
"previous_close": "350.95",
"price": "344.48",
"sentiment": "Bullish",
"sentiment_score": "56",
"symbol": "AAPL",
"volume": "10146954",
"watchlist_count": "1005685",
"week_52_high": "360.83",
"week_52_low": "243.42"
}
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Stocktwits (a plain request (no browser needed)).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://stocktwits.com/symbol/AAPL' \
--data-urlencode 'recipe=stocktwits'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://stocktwits.com/symbol/AAPL", "recipe": "stocktwits"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
quote = r.json()["result"]["quote"]
print(quote["symbol"], quote["price"], quote["change_percent"], quote["pe_ratio"])
# Example output: AAPL 344.48 -1.844% 39.11
const params = new URLSearchParams({
url: "https://stocktwits.com/symbol/AAPL",
recipe: "stocktwits",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
const quote = result.quote;
console.log(quote.symbol, quote.price, quote.change_percent, quote.pe_ratio);
// Example output: AAPL 344.48 -1.844% 39.11
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with Stocktwits data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Page | 1 | $0.16 | $0.10 |
FAQ
What does the Stocktwits recipe return?
JSON with 21 fields from page (recipe=stocktwits), for example symbol, price, change_percent, pe_ratio, name. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Stocktwits?
1 credits a page ($0.10 per 1,000 on Pro, $0.16 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Stocktwits: a plain request (no browser needed). Send only the URL and recipe=stocktwits.
What happens when Stocktwits changes its pages?
We check Stocktwits every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo FinancePage · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 10 credits
Al JazeeraArticle · 10 credits
Ars TechnicaSearch results, Article · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Stocktwits.
Get Stocktwits data as JSON today.
5,000 free credits for 21 days. No card.