Stock Analysis scraper API: public pages as JSON
Send any Stock Analysis page URL with recipe=stockanalysis and get symbol, price, change_percent and 14 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 17 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://stockanalysis.com/stocks/aapl/' \
--data-urlencode 'recipe=stockanalysis'
{
"result": {
"quote": {
"symbol": "AAPL",
"price": "344.85",
"change_percent": "-1.74%",
"market_cap": "5.01T"
}
},
"success": true
}
What you get from Stock Analysis
The fields of each page type and a real sample from our last validation, shortened.
Public pages recipe=stockanalysis 1 credits a page
| Field | Type | Example |
|---|---|---|
quote.beta | number (as text) | 1.09 |
quote.change | text | -6.10 |
quote.change_percent | text | -1.74% |
quote.currency | text | USD |
quote.day_range | text | 344.16 - 349.49 |
quote.dividend | text | $1.08 (0.31%) |
quote.earnings_date | text | Nov 2, 2026 |
quote.eps | number (as text) | 8.98 |
quote.market_cap | text | 5.01T |
quote.name | text | Apple Inc. |
quote.open | number (as text) | 349.49 |
quote.pe_ratio | number (as text) | 38.41 |
Show all 17 fields
quote.previous_close | number (as text) | 350.95 |
quote.price | number (as text) | 344.85 |
quote.symbol | text | AAPL |
quote.volume | number (as text) | 10,381,558 |
quote.week_52_range | text | 243.42 - 360.83 |
Sample answer, validated 2026-12-03
{
"quote": {
"beta": "1.09",
"change": "-6.10",
"change_percent": "-1.74%",
"currency": "USD",
"day_range": "344.16 - 349.49",
"dividend": "$1.08 (0.31%)",
"earnings_date": "Nov 2, 2026",
"eps": "8.98",
"market_cap": "5.01T",
"name": "Apple Inc.",
"open": "349.49",
"pe_ratio": "38.41",
"previous_close": "350.95",
"price": "344.85",
"symbol": "AAPL",
"volume": "10,381,558",
"week_52_range": "243.42 - 360.83"
}
}
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 Stock Analysis (a plain request (no browser needed)).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://stockanalysis.com/stocks/aapl/' \
--data-urlencode 'recipe=stockanalysis'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://stockanalysis.com/stocks/aapl/", "recipe": "stockanalysis"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
quote = r.json()["result"]["quote"]
print(quote["symbol"], quote["price"], quote["change_percent"], quote["market_cap"])
# Example output: AAPL 344.85 -1.74% 5.01T
const params = new URLSearchParams({
url: "https://stockanalysis.com/stocks/aapl/",
recipe: "stockanalysis",
});
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.market_cap);
// Example output: AAPL 344.85 -1.74% 5.01T
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with Stock Analysis 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 Stock Analysis recipe return?
JSON with 17 fields from page (recipe=stockanalysis), for example symbol, price, change_percent, market_cap, name. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Stock Analysis?
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 Stock Analysis: a plain request (no browser needed). Send only the URL and recipe=stockanalysis.
What happens when Stock Analysis changes its pages?
We check Stock Analysis 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 Stock Analysis.
Get Stock Analysis data as JSON today.
5,000 free credits for 21 days. No card.