Playground Sign in Start free
Recipe News and finance

Yahoo Finance API for public pages

Send any Yahoo Finance page URL with recipe=yahoo-finance and get symbol, price, change_percent and 25 more fields as JSON. No selectors to write, no proxies to pick.

  • 1 page type
  • 28 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 100% in 7 days

5,000 free credits for 7 days, no card.

recipe=yahoo-finance
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'
200 OK · JSON
{
    "result": {
        "quote": {
            "symbol": "MSFT",
            "price": "533.15",
            "change_percent": "-0.52%",
            "market_cap": "3.959T"
        }
    },
    "success": true
}

Is there an official Yahoo Finance API?

Official API discontinued

Not anymore. Yahoo shut down its public Finance API in 2017 and offers no official replacement.

Source: Yahoo Finance API on developer.yahoo.com, checked November 6, 2026.

How to get Yahoo Finance data as JSON today

  1. Get a free API key: 5,000 free credits for 7 days, no card.
  2. Send any Yahoo Finance page URL with recipe=yahoo-finance to the Scrape API (the call).
  3. Get 28 fields as JSON, 5 credits a page, billed only when the call succeeds.

Ujeebu's Yahoo Finance recipe returns symbol, price, change_percent and 25 more fields from any public Yahoo Finance page as JSON: send the URL with recipe=yahoo-finance to the Scrape API, 5 credits a page, no Yahoo Finance account or partner approval needed.

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

FieldTypeExample
titletextMicrosoft Corporation (MSFT) Stock Price, News, Quote & History - Y...
descriptiontextFind the latest Microsoft Corporation (MSFT) stock quote, history,...
imageURLhttps://pinhole.finance.yahoo.com/chart/MSFT/__screenshot
urlURLhttps://finance.yahoo.com/quote/MSFT/
headlinetextMicrosoft Corporation (MSFT)
sectiontextNasdaqGS - Nasdaq Real Time Price • USD
summarytextMicrosoft’s latest coverage centers on its AI infrastructure expans...
quote.52_week_rangetext349.20 - 559.15
quote.avg_volumenumber (as text)23,187,764
quote.betanumber (as text)1.04
quote.changetext-2.78
quote.change_percenttext-0.52%
Show all 28 fields
quote.currencytextUSD
quote.day_rangetext524.61 - 538.30
quote.dividend_yieldtext3.92 (0.73%)
quote.earnings_datetextJan 27, 2027
quote.epsnumber (as text)19.16
quote.exchangetextNasdaqGS
quote.market_captext3.959T
quote.nametextMicrosoft Corporation
quote.opennumber (as text)525.00
quote.pe_rationumber (as text)27.82
quote.previous_closenumber (as text)535.93
quote.pricenumber (as text)533.15
quote.symboltextMSFT
quote.target_pricenumber (as text)634.14
quote.updated_attext1:31:54 PM EST
quote.volumenumber (as text)12,250,546

Sample answer, validated 2026-11-13

{
    "quote": {
        "52_week_range": "349.20 - 559.15",
        "avg_volume": "23,187,764",
        "beta": "1.04",
        "change": "-2.78",
        "change_percent": "-0.52%",
        "currency": "USD",
        "day_range": "524.61 - 538.30",
        "dividend_yield": "3.92 (0.73%)",
        "earnings_date": "Jan 27, 2027",
        "eps": "19.16",
        "exchange": "NasdaqGS",
        "market_cap": "3.959T",
        "name": "Microsoft Corporation",
        "open": "525.00",
        "pe_ratio": "27.82",
        "previous_close": "535.93",
        "price": "533.15",
        "symbol": "MSFT",
        "target_price": "634.14",
        "updated_at": "1:31:54 PM EST",
        "volume": "12,250,546"
    },
    "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 - Nasdaq Real Time Price • USD",
    "summary": "Microsoft’s latest coverage centers on its AI infrastructure expansion, third-party data-center capacity, and growing regulatory resistance. Recent earnings..."
}

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'

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 more
  • Content for AI and RAG

    Collect headlines, dates and summaries as structured input for search and LLM pipelines.

    Learn more
  • Publishing 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 typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Page5$0.82$0.50

See all plans

FAQ

Is there a Yahoo Finance API?

Not anymore. Yahoo shut down its public Finance API in 2017 and offers no official replacement. Ujeebu's Yahoo Finance recipe returns symbol, price, change_percent and 25 more fields from any public Yahoo Finance page as JSON: send the URL with recipe=yahoo-finance to the Scrape API, 5 credits a page, no Yahoo Finance account or partner approval needed.

Does Yahoo Finance have a public API?

Not anymore. Yahoo shut down its public Finance API in 2017 and offers no official replacement. The public pages are the way in: Ujeebu's Yahoo Finance recipe returns symbol, price, change_percent and 25 more fields from any public Yahoo Finance page as JSON: send the URL with recipe=yahoo-finance to the Scrape API, 5 credits a page, no Yahoo Finance account or partner approval needed.

What does the Yahoo Finance recipe return?

JSON with 28 fields from page (recipe=yahoo-finance), for example symbol, price, change_percent, market_cap, title. 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.

Get Yahoo Finance data as JSON today.

5,000 free credits for 7 days. No card.