Yahoo Finance Data
Pricing
from $0.50 / 1,000 yahoo finance records
Yahoo Finance Data
Extract public Yahoo Finance quotes, historical OHLCV price bars, and symbol-search matches for market research, portfolio dashboards, backtesting, and AI-agent workflows.
Pricing
from $0.50 / 1,000 yahoo finance records
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Share
Yahoo Finance Data Actor
Extract public Yahoo Finance quote metadata, historical OHLCV price bars, or symbol-search matches into an Apify dataset. Use it for market research, portfolio dashboards, backtesting inputs, and agent workflows that need compact structured finance records.
Operations
| Operation | Required input | Output |
|---|---|---|
quote | symbols | One current-market metadata record per symbol |
history | symbols | Timestamped OHLCV bars using range and interval |
search | query | Yahoo Finance symbol matches with name, exchange, type, sector, and industry when supplied |
Example quote input:
{"operation":"quote","symbols":["AAPL","MSFT","BTC-USD"]}
Example history input:
{"operation":"history","symbols":["AAPL"],"range":"1y","interval":"1d","maxResults":500}
Output
Every dataset item has a recordType (quote, history, or search) and symbol. Quote and history records include market name, currency, exchange, and price fields. History records additionally include timestamp, open, high, low, close, and volume. Search records include shortName, quoteType, sector, and industry where Yahoo supplies them. A SUMMARY key-value record contains delivery counts and warnings.
Pricing
| Event | Price |
|---|---|
| Actor start | $0.00005 per run |
| Dataset record | $0.0005 per delivered record |
For example, a quote run for three symbols costs three record events plus the start event. The live Apify monetization configuration is authoritative.
Limits and reliability
The actor uses public Yahoo Finance chart and search endpoints with bounded requests and a 20-second per-request timeout. It does not log in, bypass challenges, or use private cookies. Yahoo may return empty results, rate-limit requests, or restrict intraday history based on its own retention rules; those conditions are reported in SUMMARY and the terminal status. Results are capped by maxResults (1–5,000) and symbols are capped at 50.
Yahoo Finance data is provided for informational and research use. Check Yahoo Finance terms and applicable market-data licensing requirements before using results commercially or redistributing them.
Use cases
- Schedule repeatable collection and export results to downstream workflows.
- Run a one-off research job and export the structured result as JSON, CSV, Excel, XML, or RSS from Apify.
- Schedule the same input to monitor changes over time and send completed datasets to a webhook or integration.
- Feed schema-shaped records into a database, spreadsheet, BI tool, or AI workflow with the source URL retained for verification.
Input
| Field | Type | Description |
|---|---|---|
operation | string | Use quote for current market metadata, history for OHLCV bars, or search to find symbols by company name. Example: history. |
symbols | array | Use for quote or history. Enter Yahoo Finance symbols such as AAPL, MSFT, BTC-USD, or ^GSPC. Maximum 50 symbols. |
query | string | Use only with search to find Yahoo Finance symbols by company, fund, index, or cryptocurrency name. Example: renewable energy. |
range | string | Use with history to select a Yahoo Finance range. Examples: 1mo, 1y, 5y, max. Ignored for quote and search. |
interval | string | Use with history for bar size. Intraday intervals are limited by Yahoo Finance retention; daily is the safest default. |
maxResults | integer | Maximum dataset records to deliver. History is capped across all requested symbols; search is capped to its returned matches. |
includePrePost | boolean | Include pre-market and after-hours chart data when Yahoo Finance supplies it. Applies to quote and history. |
Run Yahoo Finance Data Actor with the Apify API
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('muhammadafzal/yahoo-finance').call({"operation": "quote","symbols": ["AAPL"],"query": "Apple","range": "1mo","interval": "1d","maxResults": 100,"includePrePost": false});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
You can also run the Actor from Apify Console, schedules, webhooks, the REST API, Make, Zapier, n8n, or the hosted Apify MCP server.
Responsible use
Use this Actor only for data you are authorized to access. Follow the target website's terms, robots and access policies, and applicable privacy, database, copyright, anti-spam, and data-protection laws. Do not use it to bypass authentication or other access controls, collect private data, harass people, or make high-impact decisions without independent verification.
Support
When reporting a problem, include the Actor run ID, a redacted input, the expected result, and a small public example URL when applicable. Do not post API tokens, cookies, credentials, or personal data in an issue.