Yahoo Finance scraper API: public pages as JSON
Send any Yahoo Finance page URL with recipe=yahoo-finance and get title, description, image and 4 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 7 fields
- 5 credits a page · $0.50 per 1,000
- Working · 100% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://finance.yahoo.com/quote/MSFT/' \
--data-urlencode 'recipe=yahoo-finance'
{
"result": {
"title": "Microsoft Corporation (MSFT) Stock Price, New...",
"description": "Find the latest Microsoft Corporation (MSFT)...",
"headline": "Microsoft Corporation (MSFT)",
"section": "NasdaqGS - BOATS Real Time Price • USD"
},
"success": true
}
What you get from Yahoo Finance
The fields of each page type and a real sample from our last validation, shortened.
Public pages recipe=yahoo-finance 5 credits a page
| Field | Type | Example |
|---|---|---|
title | text | Microsoft Corporation (MSFT) Stock Price, News, Quote & History - Y... |
description | text | Find the latest Microsoft Corporation (MSFT) stock quote, history,... |
image | URL | https://pinhole.finance.yahoo.com/chart/MSFT/__screenshot |
url | URL | https://finance.yahoo.com/quote/MSFT/ |
headline | text | Microsoft Corporation (MSFT) |
section | text | NasdaqGS - Nasdaq Real Time Price • USD |
summary | text | Microsoft’s latest news centers on Maia 300, its new in-house AI ch... |
Sample answer, validated 2026-10-30
{
"title": "Microsoft Corporation (MSFT) Stock Price, News, Quote & History - Yahoo Finance",
"description": "Find the latest Microsoft Corporation (MSFT) stock quote, history, news and other vital information to help you with your stock trading and investing.",
"image": "https://pinhole.finance.yahoo.com/chart/MSFT/__screenshot",
"url": "https://finance.yahoo.com/quote/MSFT/",
"headline": "Microsoft Corporation (MSFT)",
"section": "NasdaqGS - BOATS Real Time Price • USD",
"summary": "Microsoft news was centered on fiscal Q1 2027 earnings due Oct. 28, with analysts looking for $4.71 adjusted EPS and continued Azure momentum. Fresh coverage..."
}
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 Yahoo Finance (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://finance.yahoo.com/quote/MSFT/' \
--data-urlencode 'recipe=yahoo-finance'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://finance.yahoo.com/quote/MSFT/", "recipe": "yahoo-finance"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
print(r.json()["result"])
const params = new URLSearchParams({
url: "https://finance.yahoo.com/quote/MSFT/",
recipe: "yahoo-finance",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
console.log((await res.json()).result);
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with Yahoo Finance data
Media monitoring
Track the articles published on the topics and companies you follow.
Learn moreContent for AI and RAG
Collect headlines, dates and summaries as structured input for search and LLM pipelines.
Learn morePublishing timeline
Measure when and how often a site publishes, by section.
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 | 5 | $0.82 | $0.50 |
FAQ
What does the Yahoo Finance recipe return?
JSON with 7 fields from page (recipe=yahoo-finance), for example title, description, image, url, headline. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Yahoo Finance?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 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 Yahoo Finance: JavaScript rendering. Send only the URL and recipe=yahoo-finance.
What happens when Yahoo Finance changes its pages?
We check Yahoo Finance 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, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
- SubstackArticle · 5 credits
Yahoo NewsSearch results, Article · 5 credits
AFP Fact CheckArticle · 5 credits
Al JazeeraArticle · 5 credits
Ars TechnicaSearch results, Article · 5 credits
Associated PressArticle · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Yahoo Finance.
Get Yahoo Finance data as JSON today.
5,000 free credits for 7 days. No card.