# Yahoo Finance Scraper - Quotes, History, Fundamentals & News (`tenfoldfleet/yahoo-finance-scraper`) Actor

Get stock data from Yahoo Finance for any ticker: live quotes, price history with dividends and splits, financial statements, option chains and news. Stocks, ETFs, indices, crypto, forex. $0.90 per 1,000 rows; a full history or option chain is one row. Unknown tickers are free.

- **URL**: https://apify.com/tenfoldfleet/yahoo-finance-scraper.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** Agents, MCP servers, News
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 ticker rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

*Not affiliated with, endorsed by or sponsored by Yahoo. Yahoo and Yahoo Finance are trademarks of their owner.*

### What does Yahoo Finance Scraper do?

**Yahoo Finance Scraper** turns a list of ticker symbols into clean JSON: **live stock quotes**, **historical prices** (OHLCV bars with dividends and splits), **fundamentals** (company profile, key statistics, income statement, balance sheet and cash flow lines), **option chains** and **latest news**. It works as a **Yahoo Finance API** you call from code, a schedule or an AI agent, with no API key of your own.

It covers stocks on any exchange Yahoo lists, ETFs, mutual funds, indices, crypto, forex pairs and futures. You choose the data with the `modules` setting, and every ticker and module comes back as one row. A whole 10-year price history is one row, and so is a full option chain, so long histories cost the same as a single quote.

### Why use it?

- **Portfolio and watchlist tracking**: refresh prices, market cap, P/E and 52-week ranges for hundreds of tickers in one run.
- **Backtesting and research**: pull daily, weekly or intraday price history with adjusted closes, dividends and splits.
- **Screening and valuation**: compare sector, margins, growth, analyst targets and the annual (about four years) and quarterly (about five quarters) statement lines Yahoo publishes.
- **Options analysis**: get every call and put for an expiry with bid, ask, volume, open interest and implied volatility.
- **News alerts**: schedule the Actor with **Only new news** turned on and get only the articles you have not seen yet.
- **AI agents**: one call answers "what is NVDA trading at and what did it report last quarter?".

### What data can it extract?

| Module | One row holds |
|---|---|
| `quote` | price, change, change %, open, day high/low, volume, 3-month average volume, market cap, trailing and forward P/E, EPS, dividend yield, 52-week high/low, 50- and 200-day averages, pre- and post-market price, analyst rating, next earnings date, market state, plus the full quote object |
| `history` | every bar in the range (date, open, high, low, close, adjusted close, volume), dividends, splits, first and last date, period change %, period high and low |
| `fundamentals` | sector, industry, country, website, employees, officers, market cap, enterprise value, P/E, PEG, price to book, beta, margins, revenue growth, analyst target and recommendation, next earnings date, recommendation trend, and annual and quarterly revenue, gross profit, operating income, EBITDA, net income, EPS, assets, liabilities, equity, cash, debt, operating cash flow, capex, free cash flow, dividends and buybacks |
| `options` | expiry date, all listed expiry dates, underlying price, and every call and put (contract symbol, strike, last price, bid, ask, change, volume, open interest, implied volatility, in the money, last trade time) |
| `news` | latest articles with title, publisher, URL, publish time, type, related tickers and thumbnail |

### How to get Yahoo Finance data

1. Open the Actor on [Apify](https://apify.com) and click **Try for free**.
2. Enter your **Tickers**, one per line, using Yahoo symbols (AAPL, BRK-B, VOD.L, ^GSPC, BTC-USD, EURUSD=X).
3. Pick the **Data to get**: quote, history, fundamentals, options, news, or several.
4. For history, choose a range and interval or set start and end dates. For options, leave the expiry empty for the nearest one or enter a date.
5. Click **Start**, then download the rows as JSON, CSV or Excel, or read them through the Apify API.

### How much does it cost?

You pay **$0.90 per 1,000 rows** ($0.0009 per ticker and module), plus a tiny start fee per run. A row is a full quote, a full price history, a full fundamentals set, a full option chain or a news list, whatever its size.

- 100 tickers with a quote: about $0.09.
- 50 tickers with quote, 10-year history and fundamentals: 150 rows, about $0.14.
- Unknown tickers, tickers with no options, empty ranges and other errors are **free**.
- With **Only new news**, a ticker with no new articles costs nothing.

On the Apify free plan, the $5 monthly credit covers about 5,000 rows.

### Input

```json
{
    "tickers": ["AAPL", "MSFT", "NVDA"],
    "modules": ["quote", "history", "fundamentals"],
    "historyRange": "5y",
    "interval": "1wk",
    "newsCount": 10,
    "onlyNewNews": false
}
```

### Output

One row per ticker and module. Every row has `ticker`, `module`, `name`, `price`, `currency`, `error` and `scrapedAt`, so you can filter or join rows easily. Download the dataset as JSON, CSV, Excel, XML or HTML.

```json
{
    "ticker": "AAPL",
    "module": "history",
    "name": "Apple Inc.",
    "price": 348.715,
    "currency": "USD",
    "exchange": "NasdaqGS",
    "quoteType": "EQUITY",
    "timezone": "America/New_York",
    "range": "1mo",
    "interval": "1d",
    "count": 24,
    "firstDate": "2026-10-05",
    "lastDate": "2026-11-05",
    "periodChangePercent": 4.7538,
    "periodHigh": 355.38,
    "periodLow": 325.33,
    "bars": [
        { "date": "2026-10-05", "open": 332.82, "high": 336.21, "low": 331.65, "close": 332.89, "adjClose": 332.89, "volume": 34400900 }
    ],
    "dividends": [],
    "splits": [],
    "error": null,
    "scrapedAt": "2026-11-06T02:20:11.402Z"
}
```

A ticker Yahoo does not know comes back free:

```json
{ "ticker": "ZZZZQQ", "module": "quote", "error": "Ticker not found on Yahoo Finance", "scrapedAt": "2026-11-06T02:20:11.402Z" }
```

### Tips

- Use Yahoo's own symbols: exchange suffixes such as `.L` (London), `.TO` (Toronto), `.NS` (India NSE), `.T` (Tokyo), `.DE` (Xetra); `-` for share classes (BRK-B); `^` for indices; `-USD` for crypto; `=X` for forex; `=F` for futures.
- Intraday history is limited by Yahoo: 1-minute bars cover the last 7 days and other minute intervals the last 60 days.
- Index options trade under their own symbols (for example ^SPX, not ^GSPC).
- Fundamentals for ETFs, indices and crypto contain the summary and key statistics; statement lines exist for companies only.
- For a news feed, schedule the Actor every hour with **Only new news** on. Each ticker remembers up to 1,000 article IDs.

### FAQ

#### Is this run by Yahoo?

No. It reads the public data that Yahoo Finance shows to any visitor. It is an independent tool and is not affiliated with Yahoo.

#### Do I need a Yahoo account, cookie or API key?

No. The Actor opens its own anonymous session. You only need an Apify account.

#### How many tickers can I scrape in one run?

Thousands of quotes, since quotes are fetched 40 tickers per request. The other modules take one or two requests per ticker, six at a time: in our cloud test, 41 tickers with all five modules (205 rows, 5 years of daily history each) finished in about 2 minutes, so 1,000 tickers with every module take about 45 minutes.

#### How fresh is the data?

Quotes are as live as Yahoo Finance shows them: real time for many US exchanges and delayed for others (the `details.exchangeDataDelayedBy` field says how many minutes).

#### Can I use it with AI agents or Make, Zapier and n8n?

Yes. Call it through the Apify API, the Apify MCP server or any Apify integration. Each row is self-contained JSON.

### Disclaimer

This Actor collects publicly available market data. The data is provided as is, may be delayed or incomplete, and is not investment advice. Check the terms of the data source and the rules that apply to you before using the data commercially.

### More tools from Tenfold Fleet

| Actor | Output |
|---|---|
| [ALDI Australia Scraper - AU Products, Unit Prices & Catalogue](https://apify.com/tenfoldfleet/aldi-australia-scraper) | product |
| [Alibaba Image Search - Reverse Lookup of Suppliers by Photo](https://apify.com/tenfoldfleet/alibaba-image-search) | matched product |
| [Alibaba Products Scraper: Wholesale Suppliers, MOQ, Price Tiers](https://apify.com/tenfoldfleet/alibaba-products-scraper) | product |
| [AliExpress Reviews Scraper: Product Feedback & Photos Monitor](https://apify.com/tenfoldfleet/aliexpress-reviews-scraper) | review |
| [AliExpress Keyword Scraper - Exact Sold Counts by Search Term](https://apify.com/tenfoldfleet/aliexpress-search-scraper) | product |
| [Amazon Bestsellers Tracker: New Releases & Rank Changes](https://apify.com/tenfoldfleet/amazon-bestsellers-tracker) | ranked product |
| [Amazon Product Scraper - Details, Prices & Search by ASIN](https://apify.com/tenfoldfleet/amazon-product-scraper) | product |
| [Applicant Tracking Jobs Scraper - Greenhouse, Lever & 6 More](https://apify.com/tenfoldfleet/ats-jobs-scraper) | job posting |
| [Audio Transcription: MP3 & Video Files to Text, SRT, VTT](https://apify.com/tenfoldfleet/audio-transcription) | audio minute transcribed |
| [Backlinks Checker - Referring Domains, Anchors & Domain Rank](https://apify.com/tenfoldfleet/backlinks-checker) | backlink |
| [BBB Scraper: Business Leads, Ratings & New Reviews](https://apify.com/tenfoldfleet/bbb-scraper-leads-reviews) | business |
| [Bilibili Scraper - Videos, Comments, Danmaku & Search](https://apify.com/tenfoldfleet/bilibili-scraper) | video or comment |
| [Businesses Without Websites - Local Leads with Phone & Rating](https://apify.com/tenfoldfleet/businesses-without-websites) | lead |
| [Coles Product Scraper - Australian Supermarket Prices & Deals](https://apify.com/tenfoldfleet/coles-product-scraper) | product |
| [Contact Details Scraper - One Lead Record per Company Website](https://apify.com/tenfoldfleet/company-contact-finder) | website with contacts |
| [Contact Form Finder: Form Fields, Embed Type & Captcha Flag](https://apify.com/tenfoldfleet/contact-form-finder) | website with contact page or form |
| [CutShort Jobs Scraper - Startup Roles with INR Salary Ranges](https://apify.com/tenfoldfleet/cutshort-jobs-scraper) | job listing |
| [Facebook Ads Library Scraper for Marketers](https://apify.com/tenfoldfleet/facebook-ads-library-scraper) | ad |
| [Facebook Page Contact Finder - Business Leads from Page Links](https://apify.com/tenfoldfleet/facebook-page-contact-finder) | page with contact details |
| [Facebook Reels Scraper: Views & Captions Monitor for Any Page](https://apify.com/tenfoldfleet/facebook-reels-scraper) | reel |
| [Foundit Jobs Monitor: India, Singapore & Malaysia Jobs Scraper](https://apify.com/tenfoldfleet/foundit-jobs-monitor) | job listing |
| [Funding Rounds Scraper - Recently Funded Companies & Investors](https://apify.com/tenfoldfleet/funding-rounds-scraper) | funding round |
| [Google Ads Transparency Center Scraper - Competitor Ads by Site](https://apify.com/tenfoldfleet/google-ads-transparency-scraper) | ad |
| [Google AI Overviews Checker - Citations & Domain Tracker](https://apify.com/tenfoldfleet/google-ai-overviews-checker) | keyword checked |
| [Google Flights Scraper - All Fares per Route & Date (API)](https://apify.com/tenfoldfleet/google-flights-scraper) | route search |
| [Google Hotels Scraper - Nightly Prices, Stars & Booking Sites](https://apify.com/tenfoldfleet/google-hotels-scraper) | hotel |
| [Google for Jobs Scraper - Openings by City, Pay & Job Board](https://apify.com/tenfoldfleet/google-jobs-scraper) | job listing |
| [Google Keyword Planner Alternative - Ideas, Bids & Volume](https://apify.com/tenfoldfleet/google-keyword-planner) | keyword idea |
| [Google Maps Extractor - Business Leads, Phones & Websites](https://apify.com/tenfoldfleet/google-maps-extractor) | place |
| [Google News Scraper - Articles, Real URLs & Full Text](https://apify.com/tenfoldfleet/google-news-scraper) | article |
| [Google Travel Hotel Rate Tracker - OTA Prices for Every Night](https://apify.com/tenfoldfleet/google-travel-hotel-rate-tracker) | offer |
| [Search Trends by Region & Time - Google Trends Data Scraper](https://apify.com/tenfoldfleet/google-trends-scraper) | keyword |
| [Hirist Jobs Scraper: India Tech Jobs with New-Job Monitor](https://apify.com/tenfoldfleet/hirist-jobs-scraper) | job listing |
| [IIMJobs Jobs Scraper: Search & Monitor Management Roles](https://apify.com/tenfoldfleet/iimjobs-jobs-scraper) | job listing |
| [India Jobs Feed: Hirist, IIMJobs, Foundit, Instahyre & Cutshort](https://apify.com/tenfoldfleet/india-jobs-feed) | job listing |
| [Instagram Reels Analytics - Profile Reel Plays, Likes, Comments](https://apify.com/tenfoldfleet/instagram-reels-analytics) | reel |
| [Instagram Reels Search - Keyword to Top Reels, Plays & Creators](https://apify.com/tenfoldfleet/instagram-reels-search) | reel |
| [Instagram Reels Transcript - Speech to Text for Public Reels](https://apify.com/tenfoldfleet/instagram-reels-transcript) | reel transcript |
| [Instahyre Jobs Monitor: New Tech Jobs in India by Skill](https://apify.com/tenfoldfleet/instahyre-jobs-monitor) | job listing |
| [Keyword Ideas & Related Keywords - Difficulty, Volume & CPC](https://apify.com/tenfoldfleet/keyword-ideas) | keyword idea |
| [Keyword Search Volume, CPC & Difficulty Checker (Bulk)](https://apify.com/tenfoldfleet/keyword-search-volume) | keyword with data |
| [Likee Scraper - Creators by Country, Video Views & Likes](https://apify.com/tenfoldfleet/likee-scraper) | video |
| [LinkedIn Ads Library Scraper - Competitor Ad Copy & Targeting](https://apify.com/tenfoldfleet/linkedin-ad-library-scraper) | ad |
| [LinkedIn Company Posts Monitor: New Posts, No Login](https://apify.com/tenfoldfleet/linkedin-company-posts-monitor) | post |
| [LinkedIn Company Scraper: Firmographics & Recent Posts](https://apify.com/tenfoldfleet/linkedin-company-scraper) | company |
| [Naver Shopping Scraper - Keyword Rank, Prices, Ads & Malls](https://apify.com/tenfoldfleet/naver-shopping-scraper) | product |
| [Pinterest Search Scraper: Pins, Promoted Ads & Shop Trends](https://apify.com/tenfoldfleet/pinterest-search-scraper) | pin |
| [Podcast Transcription: Episodes to Text, SRT & Monitor](https://apify.com/tenfoldfleet/podcast-transcription) | audio minute transcribed |
| [Reddit Brand Monitoring - Keyword Alerts for Posts & Comments](https://apify.com/tenfoldfleet/reddit-brand-monitoring) | mention |
| [Reddit Post Comments Export: Threads to JSON & CSV](https://apify.com/tenfoldfleet/reddit-post-comments-export) | comment |
| [Remote Job Board Scraper - Remote Jobs Aggregator, 7 Sites](https://apify.com/tenfoldfleet/remote-jobs-aggregator) | unique remote job |
| [Reverse Image Search - Find Every Site Using a Photo](https://apify.com/tenfoldfleet/reverse-image-search) | image searched |
| [SEEK Jobs Scraper - Salaries & Hiring Across 8 APAC Job Boards](https://apify.com/tenfoldfleet/seek-job-scraper) | job listing |
| [Semrush API Domain Traffic: Visits, Authority Score, AI Traffic](https://apify.com/tenfoldfleet/semrush-api-domain-traffic) | domain |
| [SEO Agent - AI Keyword Research & Competitor Reports](https://apify.com/tenfoldfleet/seo-agent) | research report |
| [SEO Crawler - Technical SEO Audit Tool & On-Page Checker](https://apify.com/tenfoldfleet/seo-audit-tool) | page audit |
| [SEO Competitor Keywords - Domain Ranked Keywords & Keyword Gap](https://apify.com/tenfoldfleet/seo-competitor-keywords) | keyword |
| [Shopify Inventory Scraper - SKUs, Variants & In-Stock Status](https://apify.com/tenfoldfleet/shopify-products-scraper) | product |
| [Shopify App & Theme Detector - Store Analyzer & Contacts](https://apify.com/tenfoldfleet/shopify-store-analyzer) | shopify store |
| [Sitemap URL Extractor - All URLs from sitemap.xml & robots.txt](https://apify.com/tenfoldfleet/sitemap-url-extractor) | url |
| [Stock Photos & Videos Scraper for Pexels](https://apify.com/tenfoldfleet/stock-photos-scraper) | media item |
| [Website Built With Checker - Find Any Site's CMS & Tech Stack](https://apify.com/tenfoldfleet/tech-stack-detector) | website |
| [Telegram Keyword Search Monitor - New Mentions in Channels](https://apify.com/tenfoldfleet/telegram-keyword-search-monitor) | matching message |
| [Threads Search - Keyword & Profile Posts Scraper (No Login)](https://apify.com/tenfoldfleet/threads-search) | post |
| [TikTok Ads Library Scraper: Competitor Ads in Europe](https://apify.com/tenfoldfleet/tiktok-ads-library-scraper) | ad |
| [TikTok Transcripts - Captions or Speech to Text for Any Video](https://apify.com/tenfoldfleet/tiktok-transcripts) | video transcript |
| [HTML to Text & URL to Markdown - LLM Ready Web Content](https://apify.com/tenfoldfleet/url-to-markdown) | page |
| [Website Traffic Checker - Bulk Domain Traffic Estimate](https://apify.com/tenfoldfleet/website-traffic-checker) | domain with traffic data |
| [WeChat Official Account Articles - Keyword Search to Markdown](https://apify.com/tenfoldfleet/wechat-official-account-articles) | article found |
| [Weibo Scraper - Comment Threads, Hot Search Ranks & User Stats](https://apify.com/tenfoldfleet/weibo-scraper) | comment |
| [Woolworths Product Scraper - AU Shelf Prices, Specials & GTINs](https://apify.com/tenfoldfleet/woolworths-product-scraper) | product |
| [Workday Jobs Scraper - myworkdayjobs.com API with Salary](https://apify.com/tenfoldfleet/workday-jobs-scraper) | job posting |
| [YouTube Channel Email Scraper - Creator Contact Extractor](https://apify.com/tenfoldfleet/youtube-channel-email-scraper) | channel with email |
| [YouTube Livestream & Channel Scraper - Videos, Likes & Stats](https://apify.com/tenfoldfleet/youtube-channel-scraper) | video |
| [YouTube Comments Scraper - Replies, Likes & Sort by Newest](https://apify.com/tenfoldfleet/youtube-comments-scraper) | comment |
| [YouTube Search Scraper: Keyword Video & Shorts Monitor](https://apify.com/tenfoldfleet/youtube-search-scraper) | search result |
| [YouTube Shorts Analytics Scraper - Views, Likes & Hashtags](https://apify.com/tenfoldfleet/youtube-shorts-scraper) | short |
| [YouTube Captions Downloader - Transcript & Subtitles Scraper](https://apify.com/tenfoldfleet/youtube-transcript-scraper) | transcript |

# Actor input Schema

## `tickers` (type: `array`):

Yahoo Finance symbols, one per line: stocks (AAPL, BRK-B), other exchanges with their suffix (VOD.L, SHOP.TO, RELIANCE.NS), ETFs (SPY), indices (^GSPC), crypto (BTC-USD) and forex (EURUSD=X). A pasted finance.yahoo.com/quote/... link also works. Unknown symbols return a free error row.

## `modules` (type: `array`):

What to fetch for each ticker. Each ticker and module is one row (one charged result, $0.0009): 3 tickers with quote and history = 6 rows. On the Apify free plan, the $5 monthly credit covers about 5,000 rows.

## `historyRange` (type: `string`):

How far back the price history goes. Ignored when a history start date is set.

## `interval` (type: `string`):

Bar size. Yahoo keeps 1-minute bars for the last 7 days only and other intraday bars (2m to 90m) for the last 60 days; a longer range with an intraday interval returns a free error row.

## `historyStartDate` (type: `string`):

Optional. YYYY-MM-DD. When set, the history covers this date to the end date (or today) instead of the range above.

## `historyEndDate` (type: `string`):

Optional. YYYY-MM-DD, inclusive. Used only with a start date.

## `optionsExpiry` (type: `string`):

Optional. YYYY-MM-DD. Empty = the nearest expiry. If the date is not a listed expiry, the next listed one is used. Every option row also lists all available expiry dates.

## `newsCount` (type: `integer`):

How many recent articles the news row holds (Yahoo returns up to about 20 per ticker). The row is one charged result whatever the count.

## `onlyNewNews` (type: `boolean`):

Remember which articles earlier runs returned and include only unseen ones. A ticker with no new articles gives no row and no charge. Use with a schedule to get a news alert feed.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy by default, which works for Yahoo Finance. Residential groups are ignored and the datacenter proxy is used instead.

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "MSFT",
    "NVDA"
  ],
  "modules": [
    "quote",
    "history"
  ],
  "historyRange": "1y",
  "interval": "1d",
  "newsCount": 10,
  "onlyNewNews": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "tickers": [
        "AAPL",
        "MSFT",
        "NVDA"
    ],
    "modules": [
        "quote",
        "history"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/yahoo-finance-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 = {
    "tickers": [
        "AAPL",
        "MSFT",
        "NVDA",
    ],
    "modules": [
        "quote",
        "history",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/yahoo-finance-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 '{
  "tickers": [
    "AAPL",
    "MSFT",
    "NVDA"
  ],
  "modules": [
    "quote",
    "history"
  ]
}' |
apify call tenfoldfleet/yahoo-finance-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenfoldfleet/yahoo-finance-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/j6TukCB0eQFM5PSlL/builds/DOjKX8MvhM0Ntp9Gv/openapi.json
