# Yahoo Finance Data Scraper (`pratikdani/yahoo-finance-data-scraper`) Actor

This actor retrieves comprehensive business data from Yahoo Finance, including key statistics, financial statements, earnings history, and company profile information, enabling users to analyze investment opportunities and track market trends.

- **URL**: https://apify.com/pratikdani/yahoo-finance-data-scraper.md
- **Developed by:** [Pratik Dani](https://apify.com/pratikdani) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 67 total users, 0 monthly users, 93.3% runs succeeded, 5 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Yahoo Finance Business Data Extractor

This Yahoo Finance Business Information Scraper actor extracts comprehensive business profiles from Yahoo Finance, gathering key data points such as company overview, industry, sector, employee count, headquarter location, website URL, key executives (name, title), and a detailed business summary description. This data is invaluable for investment analysis, competitive intelligence, market research, lead generation, and understanding a company's positioning within its respective industry, enabling users to gain a holistic view of a target business and its operational characteristics.

### Features

- **Comprehensive Financial Data Extraction:** Access a wide range of financial data points, including stock prices, historical data, key statistics, financial statements, and company profiles.

- **Real-Time or Near Real-Time Updates:** Enables the tracking of up-to-date market data and financial information for timely analysis and decision-making.

- **Data Export in Multiple Formats:** Supports exporting extracted data into various formats like CSV, JSON, or Excel for easy integration with other tools and systems.

- **Company Comparison Analysis:** Facilitates side-by-side comparisons of different companies based on key financial metrics, aiding in investment decisions.

- **Automated Monitoring and Alerting:** Set up automated monitoring of specific financial indicators and receive alerts when certain thresholds are met.

### Output Fields

| Field Name           | Type     | Description                                                                                                                                         |
|------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| username             | String   | The TikTok username of the profile being scraped.                                                                                                |
| followersCount       | Number   | The number of followers the TikTok user has.                                                                                                     |
| followingCount       | Number   | The number of users the TikTok user is following.                                                                                                  |
| likesCount           | Number   | The total number of likes the TikTok user has received across all their videos.                                                                      |
| videoCount           | Number   | The number of videos the TikTok user has posted.                                                                                                 |
| bio                  | String   | The user's bio description on their TikTok profile.                                                                                                 |
| profilePictureUrl    | String   | URL of the user's profile picture.                                                                                                                  |
| isVerified           | Boolean  | Indicates whether the TikTok user is verified (true) or not (false).                                                                               |
| tiktokUrl            | String   | URL of the TikTok profile.                                                                                                                    |
| videos               | Array    | An array of video objects associated with the profile, each containing details about an individual TikTok video.                                    |
| videos\[].id          | String   | The unique ID of the video.                                                                                                                         |
| videos\[].url         | String   | The URL of the TikTok video.                                                                                                                      |
| videos\[].description | String   | The description or caption of the TikTok video.                                                                                                    |
| videos\[].likeCount   | Number   | The number of likes the video has received.                                                                                                          |
| videos\[].commentCount| Number   | The number of comments on the video.                                                                                                                 |
| videos\[].shareCount  | Number   | The number of times the video has been shared.                                                                                                     |
| videos\[].playCount   | Number   | The number of times the video has been played.                                                                                                        |
| videos\[].uploadDate  | Date     | The date the video was uploaded.                                                                                                                  |
| timestamp            | Date     | The timestamp of when the data was scraped.                                                                                                      |

### Possible Usage of the Actor

- **Algorithmic Trading Strategy Development & Backtesting:** Analyzing historical stock prices, trading volume, and financial ratios to create and evaluate automated trading algorithms.
- **Portfolio Risk Management & Optimization:** Assessing the volatility and correlations of different assets to build diversified portfolios that minimize risk and maximize returns.
- **Competitor Analysis & Benchmarking:** Comparing the financial performance (revenue, profit margins, debt levels) of different companies within an industry to identify strengths, weaknesses, and potential investment opportunities.
- **Market Sentiment Analysis & Prediction:** Monitoring news articles, social media mentions, and analyst ratings to gauge market sentiment and predict future price movements.
- **Supply Chain Risk Assessment:** Evaluating the financial health and stability of key suppliers to identify potential disruptions and mitigate supply chain risks.
- **Mergers & Acquisitions (M\&A) Target Screening:** Identifying potential acquisition targets based on financial criteria, industry trends, and market capitalization.

### Example Output

```json
{
  "name": "Forbo Holding AG (FORN.SW)",
  "company_id": "FORN.SW",
  "entity_type": "EQUITY",
  "summary": "Swiss - Delayed Quote \u2022 CHF",
  "stock_ticker": "FORN.SW",
  "currency": "CHF",
  "earnings_date": "2025-03-03 - 2025-03-07",
  "exchange": "up",
  "closing_price": 865,
  "previous_close": 852,
  "open": 859,
  "bid": "851.00",
  "ask": "865.00",
  "day_range": "851.00 - 865.00",
  "week_range": "729.00 - 1,160.00",
  "volume": 1711,
  "avg_volume": 2388,
  "market_cap": 1217366400,
  "beta": 0.792,
  "pe_ratio": 13.032996,
  "eps": 66.37,
  "dividend_yield": "25.00 (2.93%)",
  "ex_dividend_date": "2024-04-10",
  "target_est": 1150.6666,
  "url": "https://finance.yahoo.com/quote/FORN.SW/",
  "people_also_watch": [
    {
      "last_price": 366.5,
      "perc_change": "+1.81%",
      "symbol": "BUCN.SW"
    },
    {
      "perc_change": "+1.35%",
      "symbol": "INRN.SW"
    },
    {
      "last_price": 675,
      "perc_change": "+2.04%",
      "symbol": "BEAN.SW"
    },
    {
      "last_price": 798,
      "perc_change": "+0.13%",
      "symbol": "EMMN.SW"
    },
    {
      "last_price": 647.5,
      "perc_change": "+1.33%",
      "symbol": "EMSN.SW"
    },
    {
      "last_price": 140.6,
      "perc_change": "+1.74%",
      "symbol": "DAE.SW"
    },
    {
      "last_price": 115.6,
      "perc_change": "+2.12%",
      "symbol": "SFSN.SW"
    },
    {
      "last_price": 666,
      "perc_change": "+0.30%",
      "symbol": "DOKA.SW"
    },
    {
      "last_price": 133,
      "perc_change": "+2.78%",
      "symbol": "KOMN.SW"
    },
    {
      "last_price": 75,
      "perc_change": "+0.67%",
      "symbol": "HUBN.SW"
    },
    {
      "last_price": 219.2,
      "perc_change": "-1.88%",
      "symbol": "TECN.SW"
    },
    {
      "last_price": 267.5,
      "perc_change": "+1.71%",
      "symbol": "COTN.SW"
    },
    {
      "last_price": 251,
      "perc_change": "-0.40%",
      "symbol": "ALSN.SW"
    },
    {
      "last_price": 280.5,
      "perc_change": "+0.90%",
      "symbol": "KARN.SW"
    },
    {
      "last_price": 869,
      "perc_change": "+3.45%",
      "symbol": "LEHN.SW"
    },
    {
      "last_price": 673,
      "perc_change": "-0.30%",
      "symbol": "BCHN.SW"
    }
  ],
  "similar": [
    {
      "last_price": 768.66,
      "symbol": "SCWTF"
    },
    {
      "last_price": 439.5,
      "perc_change": "+1.85%",
      "symbol": "SWTQ.SW"
    },
    {
      "last_price": 47.35,
      "perc_change": "+0.85%",
      "symbol": "ZEHN.SW"
    },
    {
      "last_price": 12.52,
      "perc_change": "+1.29%",
      "symbol": "ARBN.SW"
    },
    {
      "last_price": 666,
      "perc_change": "+0.30%",
      "symbol": "DOKA.SW"
    },
    {
      "last_price": 517,
      "perc_change": "+2.25%",
      "symbol": "GEBN.SW"
    },
    {
      "last_price": 45.58,
      "perc_change": "+4.52%",
      "symbol": "NIBE-B.ST"
    }
  ],
  "risk_score": null,
  "risk_score_text": null,
  "risk_score_percentile": null,
  "recommendation_rating": null,
  "analyst_price_target": {
    "current": 865
  },
  "company_profile_address": "Lindenstrasse 8 Baar, 6340 Switzerland",
  "company_profile_website": "https://www.forbo.com",
  "company_profile_phone": "41 58 787 25 25",
  "company_profile_sector": "Industrials",
  "company_profile_industry": "Building Products & Equipment",
  "company_profile_employees": 5244,
  "company_profile_description": "Forbo Holding AG produces and sells floor coverings, building and construction adhesives, and power transmission and conveyor belt solutions in Europe, the Americas, Asia Pacific, and Africa. The company operates through two divisions, Flooring Systems and Movement Systems. The Flooring Systems division develops, produces, and sells linoleum, vinyl floorings, entrance flooring systems, carpet tiles, needle felt floor coverings, Flotex, the washable textile floorings, and building and construction adhesives, as well as various accessory products for laying, processing, cleaning, and care of flooring. This division also provides ready-made adhesives for floor covering installations, parquet flooring, and ceramic tiles, as well as leveling compounds for the construction industry and liquid floors under the trade name of Eurocol. Its products are used in public buildings, department stores, hospitals and other healthcare facilities, schools, libraries, commercial and office spaces, leisure centers, shops, hotels, restaurants, and cafeterias, as well as for applications in the residential market. The Movement Systems division offers conveyor and processing belts, plastic modular belts, power transmission belts, and timing and flat belts under the Siegling brand name. Its products are used in various applications in industry, trade, and the service sector, including conveyor and processing belts in the food industry; treadmill belts in fitness studios; and flat belts in mail distribution centers. Forbo Holding AG was founded in 1928 and is headquartered in Baar, Switzerland.",
  "valuation_measures": {
    "as_of": "2/5/2025",
    "enterprise_value": "1.19B",
    "enterprise_value/ebitda": 7.04,
    "enterprise_value/revenue": 1.06,
    "forward_p/e": null,
    "market_cap": "1.20B",
    "peg_ratio_5yr_expected": null,
    "price/book_mrq": 2,
    "price/sales_ttm": 1.06,
    "trailing_p/e": 12.84
  },
  "financial_highlights": {
    "diluted_eps_ttm": "66.37",
    "levered_free_cash_flow_ttm": "10.09M",
    "net_income_avi_to_common_ttm": "93.3M",
    "profit_margin": "8.25%",
    "return_on_assets_ttm": "7.52%",
    "return_on_equity_ttm": "16.31%",
    "revenue_ttm": "1.13B",
    "total_cash_mrq": "40M",
    "total_debt/equity_mrq": "7.23%"
  },
  "financials": [
    {
      "Breakdown": "Net Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Pretax Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 131800
        },
        {
          "column_name": "12/31/2020",
          "value": 136100
        },
        {
          "column_name": "12/31/2021",
          "value": 181200
        },
        {
          "column_name": "12/31/2022",
          "value": 131000
        },
        {
          "column_name": "12/31/2023",
          "value": 131800
        }
      ]
    },
    {
      "Breakdown": "Interest Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": 3800
        },
        {
          "column_name": "12/31/2020",
          "value": 1600
        },
        {
          "column_name": "12/31/2021",
          "value": 800
        },
        {
          "column_name": "12/31/2022",
          "value": 2500
        },
        {
          "column_name": "12/31/2023",
          "value": 3800
        }
      ]
    },
    {
      "Breakdown": "Otherunder Preferred Stock Dividend",
      "value": [
        {
          "column_name": "TTM",
          "value": 0
        },
        {
          "column_name": "12/31/2020",
          "value": 0
        },
        {
          "column_name": "12/31/2021",
          "value": 0
        },
        {
          "column_name": "12/31/2022",
          "value": 0
        },
        {
          "column_name": "12/31/2023",
          "value": 0
        }
      ]
    },
    {
      "Breakdown": "Reconciled Cost Of Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": 773500
        },
        {
          "column_name": "12/31/2020",
          "value": 707500
        },
        {
          "column_name": "12/31/2021",
          "value": 803000
        },
        {
          "column_name": "12/31/2022",
          "value": 852400
        },
        {
          "column_name": "12/31/2023",
          "value": 773500
        }
      ]
    },
    {
      "Breakdown": "EBIT",
      "value": [
        {
          "column_name": "TTM",
          "value": 135600
        },
        {
          "column_name": "12/31/2020",
          "value": 137700
        },
        {
          "column_name": "12/31/2021",
          "value": 182000
        },
        {
          "column_name": "12/31/2022",
          "value": 133500
        },
        {
          "column_name": "12/31/2023",
          "value": 135600
        }
      ]
    },
    {
      "Breakdown": "Diluted EPS",
      "value": [
        {
          "column_name": "TTM",
          "value": 72.55
        },
        {
          "column_name": "12/31/2020",
          "value": 66.6
        },
        {
          "column_name": "12/31/2021",
          "value": 91.62
        },
        {
          "column_name": "12/31/2022",
          "value": 71.76
        },
        {
          "column_name": "12/31/2023",
          "value": 72.55
        }
      ]
    },
    {
      "Breakdown": "Diluted NI Availto Com Stockholders",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Selling And Marketing Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": 168500
        },
        {
          "column_name": "12/31/2020",
          "value": 171300
        },
        {
          "column_name": "12/31/2021",
          "value": 175300
        },
        {
          "column_name": "12/31/2022",
          "value": 178600
        },
        {
          "column_name": "12/31/2023",
          "value": 168500
        }
      ]
    },
    {
      "Breakdown": "Net Income From Continuing Operation Net Minority Interest",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "EBITDA",
      "value": [
        {
          "column_name": "TTM",
          "value": 185700
        },
        {
          "column_name": "12/31/2020",
          "value": 192700
        },
        {
          "column_name": "12/31/2021",
          "value": 238700
        },
        {
          "column_name": "12/31/2022",
          "value": 194300
        },
        {
          "column_name": "12/31/2023",
          "value": 185700
        }
      ]
    },
    {
      "Breakdown": "Interest Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 5700
        },
        {
          "column_name": "12/31/2020",
          "value": 700
        },
        {
          "column_name": "12/31/2021",
          "value": 3000
        },
        {
          "column_name": "12/31/2022",
          "value": 900
        },
        {
          "column_name": "12/31/2023",
          "value": 5700
        }
      ]
    },
    {
      "Breakdown": "Tax Rate For Calcs",
      "value": [
        {
          "column_name": "TTM",
          "value": 0.22
        },
        {
          "column_name": "12/31/2020",
          "value": 0.22
        },
        {
          "column_name": "12/31/2021",
          "value": 0.22
        },
        {
          "column_name": "12/31/2022",
          "value": 0.23
        },
        {
          "column_name": "12/31/2023",
          "value": 0.22
        }
      ]
    },
    {
      "Breakdown": "Net Non Operating Interest Income Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": 1900
        },
        {
          "column_name": "12/31/2020",
          "value": -900
        },
        {
          "column_name": "12/31/2021",
          "value": 2200
        },
        {
          "column_name": "12/31/2022",
          "value": -1600
        },
        {
          "column_name": "12/31/2023",
          "value": 1900
        }
      ]
    },
    {
      "Breakdown": "Research And Development",
      "value": [
        {
          "column_name": "TTM",
          "value": 15700
        },
        {
          "column_name": "12/31/2020",
          "value": 15200
        },
        {
          "column_name": "12/31/2021",
          "value": 15900
        },
        {
          "column_name": "12/31/2022",
          "value": 15600
        },
        {
          "column_name": "12/31/2023",
          "value": 15700
        }
      ]
    },
    {
      "Breakdown": "Operating Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": 1175200
        },
        {
          "column_name": "12/31/2020",
          "value": 1117700
        },
        {
          "column_name": "12/31/2021",
          "value": 1254000
        },
        {
          "column_name": "12/31/2022",
          "value": 1293200
        },
        {
          "column_name": "12/31/2023",
          "value": 1175200
        }
      ]
    },
    {
      "Breakdown": "Other Operating Expenses",
      "value": [
        {
          "column_name": "TTM",
          "value": 17200
        },
        {
          "column_name": "12/31/2020",
          "value": 15200
        },
        {
          "column_name": "12/31/2021",
          "value": 7200
        },
        {
          "column_name": "12/31/2022",
          "value": 27700
        },
        {
          "column_name": "12/31/2023",
          "value": 17200
        }
      ]
    },
    {
      "Breakdown": "Gross Profit",
      "value": [
        {
          "column_name": "TTM",
          "value": 401700
        },
        {
          "column_name": "12/31/2020",
          "value": 410200
        },
        {
          "column_name": "12/31/2021",
          "value": 451000
        },
        {
          "column_name": "12/31/2022",
          "value": 440800
        },
        {
          "column_name": "12/31/2023",
          "value": 401700
        }
      ]
    },
    {
      "Breakdown": "Basic Average Shares",
      "value": [
        {
          "column_name": "TTM",
          "value": 1409.78
        },
        {
          "column_name": "12/31/2020",
          "value": 1594.49
        },
        {
          "column_name": "12/31/2021",
          "value": 1541.34
        },
        {
          "column_name": "12/31/2022",
          "value": 1413.58
        },
        {
          "column_name": "12/31/2023",
          "value": 1409.78
        }
      ]
    },
    {
      "Breakdown": "Net Income Including Noncontrolling Interests",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Reconciled Depreciation",
      "value": [
        {
          "column_name": "TTM",
          "value": 50100
        },
        {
          "column_name": "12/31/2020",
          "value": 55000
        },
        {
          "column_name": "12/31/2021",
          "value": 56700
        },
        {
          "column_name": "12/31/2022",
          "value": 60800
        },
        {
          "column_name": "12/31/2023",
          "value": 50100
        }
      ]
    },
    {
      "Breakdown": "Normalized EBITDA",
      "value": [
        {
          "column_name": "TTM",
          "value": 185700
        },
        {
          "column_name": "12/31/2020",
          "value": 192700
        },
        {
          "column_name": "12/31/2021",
          "value": 238700
        },
        {
          "column_name": "12/31/2022",
          "value": 194300
        },
        {
          "column_name": "12/31/2023",
          "value": 185700
        }
      ]
    },
    {
      "Breakdown": "Net Income Common Stockholders",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Tax Provision",
      "value": [
        {
          "column_name": "TTM",
          "value": 29500
        },
        {
          "column_name": "12/31/2020",
          "value": 29900
        },
        {
          "column_name": "12/31/2021",
          "value": 40000
        },
        {
          "column_name": "12/31/2022",
          "value": 29600
        },
        {
          "column_name": "12/31/2023",
          "value": 29500
        }
      ]
    },
    {
      "Breakdown": "Total Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": 1175200
        },
        {
          "column_name": "12/31/2020",
          "value": 1117700
        },
        {
          "column_name": "12/31/2021",
          "value": 1254000
        },
        {
          "column_name": "12/31/2022",
          "value": 1293200
        },
        {
          "column_name": "12/31/2023",
          "value": 1175200
        }
      ]
    },
    {
      "Breakdown": "Cost Of Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": 773500
        },
        {
          "column_name": "12/31/2020",
          "value": 707500
        },
        {
          "column_name": "12/31/2021",
          "value": 803000
        },
        {
          "column_name": "12/31/2022",
          "value": 852400
        },
        {
          "column_name": "12/31/2023",
          "value": 773500
        }
      ]
    },
    {
      "Breakdown": "Total Operating Income As Reported",
      "value": [
        {
          "column_name": "TTM",
          "value": 129900
        },
        {
          "column_name": "12/31/2020",
          "value": 137000
        },
        {
          "column_name": "12/31/2021",
          "value": 179000
        },
        {
          "column_name": "12/31/2022",
          "value": 132600
        },
        {
          "column_name": "12/31/2023",
          "value": 129900
        }
      ]
    },
    {
      "Breakdown": "Net Income Continuous Operations",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Tax Effect Of Unusual Items",
      "value": [
        {
          "column_name": "TTM",
          "value": 0
        },
        {
          "column_name": "12/31/2020",
          "value": 0
        },
        {
          "column_name": "12/31/2021",
          "value": 0
        },
        {
          "column_name": "12/31/2022",
          "value": 0
        },
        {
          "column_name": "12/31/2023",
          "value": 0
        }
      ]
    },
    {
      "Breakdown": "Diluted Average Shares",
      "value": [
        {
          "column_name": "TTM",
          "value": 1409.78
        },
        {
          "column_name": "12/31/2020",
          "value": 1594.51
        },
        {
          "column_name": "12/31/2021",
          "value": 1541.46
        },
        {
          "column_name": "12/31/2022",
          "value": 1413.6
        },
        {
          "column_name": "12/31/2023",
          "value": 1409.78
        }
      ]
    },
    {
      "Breakdown": "General And Administrative Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": 80100
        },
        {
          "column_name": "12/31/2020",
          "value": 86400
        },
        {
          "column_name": "12/31/2021",
          "value": 92800
        },
        {
          "column_name": "12/31/2022",
          "value": 94200
        },
        {
          "column_name": "12/31/2023",
          "value": 80100
        }
      ]
    },
    {
      "Breakdown": "Normalized Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Basic EPS",
      "value": [
        {
          "column_name": "TTM",
          "value": 72.55
        },
        {
          "column_name": "12/31/2020",
          "value": 66.6
        },
        {
          "column_name": "12/31/2021",
          "value": 91.63
        },
        {
          "column_name": "12/31/2022",
          "value": 71.76
        },
        {
          "column_name": "12/31/2023",
          "value": 72.55
        }
      ]
    },
    {
      "Breakdown": "Operating Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": 271800
        },
        {
          "column_name": "12/31/2020",
          "value": 273200
        },
        {
          "column_name": "12/31/2021",
          "value": 272000
        },
        {
          "column_name": "12/31/2022",
          "value": 308200
        },
        {
          "column_name": "12/31/2023",
          "value": 271800
        }
      ]
    },
    {
      "Breakdown": "Net Income From Continuing And Discontinued Operation",
      "value": [
        {
          "column_name": "TTM",
          "value": 102300
        },
        {
          "column_name": "12/31/2020",
          "value": 106200
        },
        {
          "column_name": "12/31/2021",
          "value": 141200
        },
        {
          "column_name": "12/31/2022",
          "value": 101400
        },
        {
          "column_name": "12/31/2023",
          "value": 102300
        }
      ]
    },
    {
      "Breakdown": "Operating Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 129900
        },
        {
          "column_name": "12/31/2020",
          "value": 137000
        },
        {
          "column_name": "12/31/2021",
          "value": 179000
        },
        {
          "column_name": "12/31/2022",
          "value": 132600
        },
        {
          "column_name": "12/31/2023",
          "value": 129900
        }
      ]
    },
    {
      "Breakdown": "Net Interest Income",
      "value": [
        {
          "column_name": "TTM",
          "value": 1900
        },
        {
          "column_name": "12/31/2020",
          "value": -900
        },
        {
          "column_name": "12/31/2021",
          "value": 2200
        },
        {
          "column_name": "12/31/2022",
          "value": -1600
        },
        {
          "column_name": "12/31/2023",
          "value": 1900
        }
      ]
    },
    {
      "Breakdown": "Total Expenses",
      "value": [
        {
          "column_name": "TTM",
          "value": 1045300
        },
        {
          "column_name": "12/31/2020",
          "value": 980700
        },
        {
          "column_name": "12/31/2021",
          "value": 1075000
        },
        {
          "column_name": "12/31/2022",
          "value": 1160600
        },
        {
          "column_name": "12/31/2023",
          "value": 1045300
        }
      ]
    },
    {
      "Breakdown": "Interest Expense Non Operating",
      "value": [
        {
          "column_name": "TTM",
          "value": 3800
        },
        {
          "column_name": "12/31/2020",
          "value": 1600
        },
        {
          "column_name": "12/31/2021",
          "value": 800
        },
        {
          "column_name": "12/31/2022",
          "value": 2500
        },
        {
          "column_name": "12/31/2023",
          "value": 3800
        }
      ]
    },
    {
      "Breakdown": "Selling General And Administration",
      "value": [
        {
          "column_name": "TTM",
          "value": 248600
        },
        {
          "column_name": "12/31/2020",
          "value": 257700
        },
        {
          "column_name": "12/31/2021",
          "value": 268100
        },
        {
          "column_name": "12/31/2022",
          "value": 272800
        },
        {
          "column_name": "12/31/2023",
          "value": 248600
        }
      ]
    },
    {
      "Breakdown": "Interest Income Non Operating",
      "value": [
        {
          "column_name": "TTM",
          "value": 5700
        },
        {
          "column_name": "12/31/2020",
          "value": 700
        },
        {
          "column_name": "12/31/2021",
          "value": 3000
        },
        {
          "column_name": "12/31/2022",
          "value": 900
        },
        {
          "column_name": "12/31/2023",
          "value": 5700
        }
      ]
    }
  ],
  "financials_quarterly": [
    {
      "Breakdown": "Net Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Pretax Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "131800"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Interest Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": "3800"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Otherunder Preferred Stock Dividend",
      "value": [
        {
          "column_name": "TTM",
          "value": null
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Reconciled Cost Of Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": "773500"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "EBIT",
      "value": [
        {
          "column_name": "TTM",
          "value": "135600"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Diluted EPS",
      "value": [
        {
          "column_name": "TTM",
          "value": "72.55"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Diluted NI Availto Com Stockholders",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Selling And Marketing Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": "168500"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Income From Continuing Operation Net Minority Interest",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "EBITDA",
      "value": [
        {
          "column_name": "TTM",
          "value": "185700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Interest Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "5700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Tax Rate For Calcs",
      "value": [
        {
          "column_name": "TTM",
          "value": "0.22"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Non Operating Interest Income Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": "1900"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Research And Development",
      "value": [
        {
          "column_name": "TTM",
          "value": "15700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Operating Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": "1175200"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Other Operating Expenses",
      "value": [
        {
          "column_name": "TTM",
          "value": "17200"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Gross Profit",
      "value": [
        {
          "column_name": "TTM",
          "value": "401700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Basic Average Shares",
      "value": [
        {
          "column_name": "TTM",
          "value": "1409.78"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Income Including Noncontrolling Interests",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Reconciled Depreciation",
      "value": [
        {
          "column_name": "TTM",
          "value": "50100"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Normalized EBITDA",
      "value": [
        {
          "column_name": "TTM",
          "value": "185700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Income Common Stockholders",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Tax Provision",
      "value": [
        {
          "column_name": "TTM",
          "value": "29500"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Total Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": "1175200"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Cost Of Revenue",
      "value": [
        {
          "column_name": "TTM",
          "value": "773500"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Total Operating Income As Reported",
      "value": [
        {
          "column_name": "TTM",
          "value": "129900"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Income Continuous Operations",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Tax Effect Of Unusual Items",
      "value": [
        {
          "column_name": "TTM",
          "value": null
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Diluted Average Shares",
      "value": [
        {
          "column_name": "TTM",
          "value": "1409.78"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "General And Administrative Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": "80100"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Normalized Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Basic EPS",
      "value": [
        {
          "column_name": "TTM",
          "value": "72.55"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Operating Expense",
      "value": [
        {
          "column_name": "TTM",
          "value": "271800"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Income From Continuing And Discontinued Operation",
      "value": [
        {
          "column_name": "TTM",
          "value": "102300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Operating Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "129900"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Net Interest Income",
      "value": [
        {
          "column_name": "TTM",
          "value": "1900"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Total Expenses",
      "value": [
        {
          "column_name": "TTM",
          "value": "1045300"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Interest Expense Non Operating",
      "value": [
        {
          "column_name": "TTM",
          "value": "3800"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Selling General And Administration",
      "value": [
        {
          "column_name": "TTM",
          "value": "248600"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    },
    {
      "Breakdown": "Interest Income Non Operating",
      "value": [
        {
          "column_name": "TTM",
          "value": "5700"
        },
        {
          "column_name": null,
          "value": null
        }
      ]
    }
  ],
  "earnings_estimate": {
    "avg_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "77.26"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "84.98"
      }
    ],
    "high_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "81.45"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "94.15"
      }
    ],
    "low_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "72.19"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "76.54"
      }
    ],
    "no_of_analysts": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "4"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "4"
      }
    ],
    "year_ago_eps": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "72.55"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "77.26"
      }
    ]
  },
  "revenue_estimate": {
    "avg_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1.17B"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1.2B"
      }
    ],
    "high_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1.2B"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1.23B"
      }
    ],
    "low_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1.14B"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1.16B"
      }
    ],
    "no_of_analysts": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "4"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "4"
      }
    ],
    "sales_growth": null,
    "year_ago_sales": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1.18B"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1.17B"
      }
    ]
  },
  "earnings_history": {
    "difference": null,
    "eps_actual": null,
    "eps_est": null,
    "suprise_perc": null
  },
  "eps_trend": {
    "30_days_ago": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "78.05"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "87.6"
      }
    ],
    "60_days_ago": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "76.94"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "85.34"
      }
    ],
    "7_days_ago": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "78.05"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "87.6"
      }
    ],
    "90_days_ago": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "76.93"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "85.34"
      }
    ],
    "current_estimate": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "0"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "77.26"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "84.98"
      }
    ]
  },
  "eps_revisions": {
    "down_last_30_days": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1"
      }
    ],
    "down_last_7_days": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "1"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "1"
      }
    ],
    "up_last_30_days": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "--"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "--"
      }
    ],
    "up_last_7_days": [
      {
        "column_name": "Current Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Next Qtr. (Jan 1970)",
        "value": "--"
      },
      {
        "column_name": "Current Year (2024)",
        "value": "--"
      },
      {
        "column_name": "Next Year (2025)",
        "value": "--"
      }
    ]
  },
  "growth_estimates": {
    "current_qtr": null,
    "current_year": null,
    "next_5_years": null,
    "next_qtr": null,
    "next_year": null,
    "past_5_years": null
  },
  "top_analysts": [],
  "upgrades_and_downgrades": [],
  "recent_news": null
}
```

# Actor input Schema

## `url` (type: `string`):

The Yahoo Finance URL for the target company.

## Actor input object example

```json
{
  "url": "https://finance.yahoo.com/quote/MSFT?p=MSFT&.tsrc=fin-srch"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://finance.yahoo.com/quote/MSFT?p=MSFT&.tsrc=fin-srch"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pratikdani/yahoo-finance-data-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "url": "https://finance.yahoo.com/quote/MSFT?p=MSFT&.tsrc=fin-srch" }

# Run the Actor and wait for it to finish
run = client.actor("pratikdani/yahoo-finance-data-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://finance.yahoo.com/quote/MSFT?p=MSFT&.tsrc=fin-srch"
}' |
apify call pratikdani/yahoo-finance-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pratikdani/yahoo-finance-data-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Fe3st0yu7UKoGktn0/builds/WgRODkkB2FVLknPBu/openapi.json
