# Yahoo Finance Scraper: Delayed Stock Quotes & Profiles (`clearpull/yahoo-finance`) Actor

Yahoo Finance quotes, key stats and company profiles for any tickers: stocks, ETFs, funds, indices, currencies and crypto on any exchange. Price, change, 52-week range, market cap, P/E, dividends, beta, sector and industry in one row per ticker, for Sheets, Excel or API. Prices are 15+ min delayed.

- **URL**: https://apify.com/clearpull/yahoo-finance.md
- **Developed by:** [Clearpull](https://apify.com/clearpull) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 quotes

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 Scraper: Delayed Stock Quotes & Profiles

Delayed Yahoo Finance quotes and company profiles for any list of tickers: stocks, ETFs, funds, indices, currencies and crypto, on US and international exchanges. Each ticker is one row with the price, change, day and 52-week range, volume, market cap, P/E, EPS, dividend, ex-dividend and earnings dates, plus the company's sector, industry, employees and business summary. Send it to Google Sheets or Excel, or call it from Python, JavaScript, n8n or an AI agent.

**Price: $1 per 1,000 tickers, a tenth of a cent each**, company profile included. Tickers that aren't found are free.

**Every price is at least 15 minutes old.** This Actor never returns real-time data, and each row says exactly how old its price is. It is built for watchlists, spreadsheets, research and company data, not for trading.

### Who it's for

- **Spreadsheet and portfolio trackers:** refresh a watchlist in Google Sheets or Excel every morning or after the close.
- **Analysts and researchers:** pull valuation figures and profiles for hundreds of tickers in one run.
- **Data teams:** enrich a list of tickers with company name, sector, industry, country and employees.
- **Python developers** who want Yahoo Finance quotes without maintaining yfinance.
- **Content and newsletter writers:** end-of-day prices and moves for a list of names.

### Why this one

- **One row per ticker, quote and profile together**, ready for a spreadsheet.
- **Any exchange:** New York, London, Frankfurt, Tokyo, Toronto, India and more, plus indices, currencies and crypto.
- **Honest about the delay:** `priceTime` and `priceAgeMinutes` on every row, and withheld values are named, never silently empty.
- **No Yahoo account and no API key.**
- **You pay only for tickers with a price.**

### What you get

One row per ticker:

- **Delayed quote:** price, the time of that price and how many minutes old it was, change and change % against the previous close, open, day low and high, volume, and pre-market and after-hours prices.
- **Key statistics:** 52-week low and high, 50- and 200-day averages, average volume, market cap, shares outstanding, trailing and forward P/E and EPS, price to book, beta, dividend rate and yield, ex-dividend date and next earnings date.
- **Company profile** (on by default): sector, industry, full-time employees, website, investor relations site, headquarters address and phone, and the business summary.
- **ETFs and funds:** net assets, NAV, distribution yield, fund family, category and expense ratio.
- **Crypto:** market cap and circulating supply.

Two table views come with every run: **Delayed quotes** and **Company profiles**.

Only company-level facts are collected. Officers, executives, fund managers and their pay are never read.

### A real sample

Apple, read after the US close on 2026-11-13:

| Field | Value |
|---|---|
| Price | $356.27 at 21:00 UTC, 90 minutes old when read |
| Change | +$1.39 (+0.39%) from $354.88 |
| Day range | $355.76 to $360.83, volume 39,099,985 |
| 52-week range | $243.42 to $360.83 |
| Market cap | $5.18 trillion |
| P/E | 39.67 trailing, 33.78 forward; EPS $8.98 |
| Dividend | 0.3% yield, ex-dividend 2026-11-12 |
| Next earnings | 2027-01-28 |
| Profile | Technology, Consumer Electronics, 167,000 employees, Cupertino |

The full JSON of the row is under *Output example* below.

### What it costs, in plain words

- **A ticker with a delayed price costs $0.001**, a tenth of a cent, with its company profile included. 1,000 tickers cost $1.
- **Example:** a 200-ticker watchlist every weekday for a month (about 4,400 rows) costs about $4.40.
- **Free:** tickers that aren't found, tickers without a price at least 15 minutes old, and tickers that fail.
- **Bigger Apify plans pay less:** $0.85 per 1,000 on Scale and $0.70 on Business. Apify adds a tiny fee per run start, a fraction of a cent.
- **No extra usage fees:** proxies and computing are included in the price.
- **Spending cap:** set a maximum cost per run in the run options. The Actor stops cleanly when the next ticker wouldn't fit.

### Use cases

#### 1. Keep a watchlist in Google Sheets

Save your tickers as a task, schedule it after the market closes, and send each run to Google Sheets with Apify's integration. Seven tickers every weekday cost about $0.15 a month.

```json
{ "symbols": ["AAPL", "MSFT", "NVDA", "AMZN", "GOOGL", "META", "TSLA"] }
```

#### 2. Compare dividend ETFs

Distribution yield, net assets, expense ratio, fund family and category for each ETF, side by side. Keep the profile on: the expense ratio and fund details are part of it.

```json
{ "symbols": ["SCHD", "VYM", "HDV", "DGRO", "VIG", "NOBL", "SPYD", "JEPI"] }
```

#### 3. Track Indian stocks

NSE tickers end in `.NS` (BSE in `.BO`). Prices come in rupees, with sector and industry for each company.

```json
{ "symbols": ["RELIANCE.NS", "TCS.NS", "HDFCBANK.NS", "INFY.NS", "ICICIBANK.NS", "HINDUNILVR.NS", "ITC.NS", "SBIN.NS"] }
```

#### 4. Take a morning snapshot of world markets

Major indices and currency pairs in one table, for a newsletter or a dashboard.

```json
{ "symbols": ["^GSPC", "^DJI", "^IXIC", "^FTSE", "^GDAXI", "^N225", "^HSI", "EURUSD=X", "GBPUSD=X", "USDJPY=X"], "includeProfile": false }
```

#### 5. Watch crypto prices

Bitcoin and other coins with market cap and circulating supply. Crypto trades around the clock, so each price is the last one at least 15 minutes old.

```json
{ "symbols": ["BTC-USD", "ETH-USD", "SOL-USD", "XRP-USD", "DOGE-USD"] }
```

### How to use it

1. **Add your tickers**, one per line, as Yahoo Finance writes them:
   - US stocks and ETFs: `AAPL`, `BRK-B`, `SPY`
   - Other exchanges add a suffix: `VOD.L` (London), `SAP.DE` (Xetra), `7203.T` (Tokyo), `RY.TO` (Toronto), `RELIANCE.NS` (India)
   - Indices: `^GSPC` (S\&P 500), `^DJI`, `^IXIC`, `^FTSE`
   - Crypto and currencies: `BTC-USD`, `ETH-USD`, `EURUSD=X`
   - A finance.yahoo.com/quote/ link works too.
2. **Keep or turn off the company profile.** The price is the same either way.
3. **Run it**, then download the results or open the Company profiles view.

To rerun the same tickers later, save them as a task. Scheduled after the market closes, the prices are the closing prices, with nothing withheld.

### How the 15-minute delay works

- When a market is closed, or the exchange's prices already reach Yahoo Finance delayed, the quote is returned as Yahoo Finance shows it.
- When Yahoo Finance has a newer price (for example a US stock during trading hours, or crypto), the Actor uses the last price from Yahoo Finance's 5-minute chart that is at least 15 minutes old. `priceBasis` is then `chart-5m`, and market cap, P/E, price to book and dividend yield are recomputed for that price.
- Values that only exist in real time during a session, such as today's high, low and volume, stay empty until they are 15 minutes old. Their names are listed in `withheldFields`, so an empty value is never a mystery.
- Pre-market and after-hours prices follow the same rule.

### Use it from Claude, Cursor, n8n, Python or JavaScript

#### Claude, Cursor and other AI agents (MCP)

Add the Actor to Apify's MCP server, and your agent can call it as a tool:

```
https://mcp.apify.com?tools=clearpull/yahoo-finance
```

In Claude Code, run `claude mcp add --transport http yahoo-finance "https://mcp.apify.com?tools=clearpull/yahoo-finance"`, then `/mcp` to sign in to Apify. In Cursor, VS Code or Claude Desktop, add the same address as an MCP server. Then ask, for example:

> Get delayed quotes for AAPL, MSFT and VOD.L with market cap, P/E and dividend yield, as a table.

#### n8n, Make or any HTTP client

Send a **POST** to `https://api.apify.com/v2/acts/clearpull~yahoo-finance/run-sync-get-dataset-items` with the header `Authorization: Bearer <YOUR_API_TOKEN>` and the input as the JSON body. It answers with the rows themselves, for runs that finish within 5 minutes (in n8n, an **HTTP Request** node with a Header Auth credential). A small input to try:

```json
{
  "symbols": [
    "AAPL",
    "MSFT",
    "VOD.L"
  ],
  "includeProfile": true
}
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("clearpull/yahoo-finance").call(run_input={
    "symbols": ["AAPL", "MSFT", "VOD.L", "^GSPC", "BTC-USD"],
    "includeProfile": True,
})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row["symbol"], row.get("price"), row.get("priceTime"), row.get("sector"))
```

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('clearpull/yahoo-finance').call({ symbols: ['AAPL', 'NVDA', 'SPY'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems({ view: 'quotes' });
console.log(items);
```

### Output example

The main columns:

| Column | What it is | Example |
|---|---|---|
| `symbol` | Ticker | `"AAPL"` |
| `name` | Name | `"Apple Inc."` |
| `quoteType` | Kind of instrument | `"EQUITY"` |
| `exchange` | Exchange | `"NasdaqGS"` |
| `currency` | Currency | `"USD"` |
| `price` | Price | `356.27` |
| `priceTime` | Time of the price | `"2026-11-13T21:00:01.000Z"` |
| `priceAgeMinutes` | Minutes since that price | `90` |
| `change` | Change | `1.39` |
| `changePercent` | Change (%) | `0.3917` |
| `marketCap` | Market cap | `5177380175872` |
| `trailingPE` | P/E (trailing) | `39.6737` |
| `dividendYieldPercent` | Dividend yield (%) | `0.3` |

Apple, read after the US close, shortened:

```json
{
  "type": "quote",
  "status": "ok",
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "quoteType": "EQUITY",
  "exchange": "NasdaqGS",
  "currency": "USD",
  "marketState": "POST",
  "price": 356.27,
  "priceTime": "2026-11-13T21:00:01.000Z",
  "priceAgeMinutes": 90,
  "priceSession": "regular",
  "priceBasis": "last-trade",
  "previousClose": 354.88,
  "change": 1.39,
  "changePercent": 0.3917,
  "open": 357.965,
  "dayLow": 355.755,
  "dayHigh": 360.83,
  "volume": 39099985,
  "preMarketPrice": 358.04,
  "postMarketPrice": null,
  "fiftyTwoWeekLow": 243.42,
  "fiftyTwoWeekHigh": 360.83,
  "marketCap": 5177380175872,
  "trailingPE": 39.6737,
  "forwardPE": 33.7842,
  "trailingEps": 8.98,
  "dividendYieldPercent": 0.3,
  "exDividendDate": "2026-11-12",
  "earningsDate": "2027-01-28",
  "withheldFields": ["postMarketPrice"],
  "sector": "Technology",
  "industry": "Consumer Electronics",
  "employees": 167000,
  "website": "https://www.apple.com",
  "city": "Cupertino",
  "country": "United States",
  "businessSummary": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories. ...",
  "yahooFinanceUrl": "https://finance.yahoo.com/quote/AAPL/",
  "scrapedAt": "2026-11-13T22:30:51.000Z"
}
```

Here after-hours trading was still going on, so `postMarketPrice` is empty and listed in `withheldFields`.

- **Percentages** are in percent: `changePercent: 0.3917` means +0.39%.
- **Currency** is the one the ticker trades in. London prices are usually in pence (`GBp`).
- **`priceBasis`:** `last-trade` (Yahoo Finance's last price, at least 15 minutes old) or `chart-5m` (from the 5-minute chart, because the last price was newer).
- **`status`:** `ok`, `no-price` (nothing at least 15 minutes old; free), `not-found` (no such ticker; free) or `failed` (still failing after retries; free).

### Limits

- Up to 5,000 tickers per run.
- **Delayed only.** Prices are at least 15 minutes old, and some intraday values are withheld while a session is under 15 minutes old (see above). Don't use it for trading.
- **Tickers only.** Searching by company name isn't supported: Yahoo Finance's robots.txt asks automated tools not to use its lookup pages. Look a ticker up on Yahoo Finance first.
- **Quotes and profiles only:** no price history, financial statements, options, news or analyst ratings.
- Data is as Yahoo Finance shows it. Yahoo Finance and its data providers decide what each ticker has; an index has no profile, for example.

### FAQ

**Is there a Yahoo Finance API for Python?**
Yahoo has no official public API. With `apify-client` (`pip install apify-client`), you call this Actor from Python as shown above and get one dict per ticker: price, change, 52-week range, market cap, P/E, dividends and the company profile.

**Can I get Yahoo Finance quotes into Google Sheets?**
Yes, without IMPORTXML: schedule the Actor and send each run's rows to Google Sheets with Apify's Google Sheets integration, or pull them in with an HTTP call. Prices are at least 15 minutes old, which suits a daily or end-of-day sheet.

**Is it a yfinance alternative?**
For quotes, key statistics and company profiles, yes: the same Yahoo Finance data without running yfinance yourself, from Python, JavaScript, Sheets or any HTTP client. It doesn't return price history.

**Does it work for Indian stocks?**
Yes. Add `.NS` for the National Stock Exchange or `.BO` for the Bombay Stock Exchange, such as `RELIANCE.NS`. Prices are in rupees.

**Why isn't the price live?**
Exchange prices are licensed. This Actor returns delayed data only, the kind Yahoo Finance and most free sites show to the public, and says how old each price is.

**How fast is it?**
About 70 tickers a minute at the default settings, and about 120 a minute with *Max concurrency* at 8 and 1 GB of memory.

**Do I need a Yahoo account or an API key?**
No.

**Is this investment advice?**
No. The data is provided as is, for information only, and isn't investment, financial or trading advice. Check anything important against an official source before you rely on it.

This Actor isn't affiliated with, endorsed by or sponsored by Yahoo.

### Learn more on Apify

- [Save tickers as a task](https://docs.apify.com/platform/actors/running/tasks) and [run it on a schedule](https://docs.apify.com/platform/schedules).
- [How to import data into Google Sheets](https://blog.apify.com/google-sheets-import-data/) (Apify blog).
- [Connect Apify to n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make) or [Zapier](https://docs.apify.com/platform/integrations/zapier).
- [Apify's MCP server](https://docs.apify.com/platform/integrations/mcp) and [the Apify API client for Python](https://docs.apify.com/api/client/python).

### More from clearpull

- [Google Trends Scraper & API](https://apify.com/clearpull/google-trends-scraper): search interest in a company or product over time, next to its share price.

### Custom versions

Need another site, extra fields, or a scheduled feed into your own spreadsheet? Open an issue on this Actor's **Issues** tab and describe what you need. Custom work gets a fixed-price quote, usually within a day.

### Questions and problems

Open an issue on this Actor's **Issues** tab with the tickers and what went wrong. Issues are answered within a day.

# Actor input Schema

## `symbols` (type: `array`):

Tickers as Yahoo Finance writes them, one per line: AAPL, BRK-B, VOD.L (London), SAP.DE (Xetra), 7203.T (Tokyo), ^GSPC (S\&P 500), BTC-USD, EURUSD=X. A finance.yahoo.com/quote/ link works too. Up to 5,000 per run. Company names aren't searched: look the ticker up on Yahoo Finance first.

## `includeProfile` (type: `boolean`):

Adds the company profile to each row: sector, industry, employees, website, headquarters address and phone, and the business summary. For ETFs and funds: fund family, category and expense ratio. It comes from the same page, so the price is the same either way.

## `maxConcurrency` (type: `integer`):

Tickers fetched at the same time. Higher is faster but more likely to be slowed down by Yahoo Finance.

## Actor input object example

```json
{
  "symbols": [
    "AAPL",
    "MSFT",
    "NVDA",
    "VOD.L",
    "^GSPC"
  ],
  "includeProfile": true,
  "maxConcurrency": 4
}
```

# Actor output Schema

## `quotes` (type: `string`):

One row per ticker: price at least 15 minutes old, change, day and 52-week range, volume, market cap, P/E, dividend and earnings dates.

## `profiles` (type: `string`):

One row per ticker: sector, industry, employees, website, headquarters and business summary.

# 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 = {
    "symbols": [
        "AAPL",
        "MSFT",
        "NVDA",
        "VOD.L",
        "^GSPC"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearpull/yahoo-finance").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 = { "symbols": [
        "AAPL",
        "MSFT",
        "NVDA",
        "VOD.L",
        "^GSPC",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("clearpull/yahoo-finance").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 '{
  "symbols": [
    "AAPL",
    "MSFT",
    "NVDA",
    "VOD.L",
    "^GSPC"
  ]
}' |
apify call clearpull/yahoo-finance --silent --output-dataset

```

## MCP server setup

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

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/2D4202Um149Z8kzpi/builds/zttFil1D390I3bysV/openapi.json
