ParseForge Scrapers

Yahoo Finance Market Time Scraper

parseforge/yahoo-finance-market-time-scraper

OtherDeveloper tools

Retrieve current market open and close times from Yahoo Finance's verified API. Get market ID, name, status, open and close timestamps, timezone details, and more. Ideal for tracking trading sessions or building market-aware dashboards.

Run this scraper See the API call
Total runs
5
Bookmarked
0
Last modified
2 days ago

This scraper was last updated on .

What does the Yahoo Finance Market Time Scraper return?

ParseForge

Yahoo Finance Market Time Scraper

Scrape Yahoo Finance market time data for any exchange, including premarket and after hours sessions. Get market open and close times, current status, and timezone details in one flat row. No login or API key. Export to CSV, JSON, Excel, or XML.

Yahoo Finance's official API requires registration and rate limits. This scraper reads the public market time endpoint directly, returning opening and closing times, session status, and timezone information for global exchanges. It is ideal for traders and analysts who need reliable market schedule data without the overhead.

Who uses it What they scrape Yahoo Finance for
Day traders Monitor premarket and after hours session times to plan entries and exits.
Financial analysts Track market open and close times across global exchanges for research reports.
Algorithmic trading developers Feed market schedule data into trading bots to avoid trading during closed sessions.
Market researchers Analyze trading hour patterns and timezone differences for market studies.

What it does

This Actor collects Yahoo Finance market time data for all exchanges and returns each market as a flat row with open and close times, status, and timezone details.

  • ๐ŸŒ Global coverage: returns market times for all exchanges available on Yahoo Finance, including US, Europe, and Asia.
  • โฐ Session details: open and close times for regular, premarket, and after hours sessions where applicable.
  • ๐Ÿ•’ Timezone info: each market includes timezone short name, text, GMT offset, and DST flag.
  • ๐Ÿ“Š Flat output: every market is a single row, ready for CSV, JSON, Excel, or XML export.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Yahoo Finance data

๐Ÿ“ˆ Pre-market and after-hours monitoring.

A day trader runs the scraper daily to check premarket open times for US exchanges and adjust their trading schedule accordingly.

๐ŸŒ Global trading hours research.

A financial analyst scrapes market times for exchanges in Asia, Europe, and the Americas to compile a report on overlapping trading sessions.

๐Ÿค– Trading bot scheduling.

An algorithmic developer uses the scraper to feed market open and close times into their bot, ensuring trades only execute during active sessions.

๐Ÿ“Š Timezone analysis.

A market researcher extracts timezone offsets and DST flags for all markets to study how daylight saving changes affect trading activity.

Why choose this scraper

What you get
No API key Access Yahoo Finance market time data without registration or authentication.
Structured data Get open, close, status, and timezone in a clean, flat format.
Global markets Coverage includes major exchanges worldwide, not US markets.
Easy export Download results as CSV, JSON, Excel, or XML for further analysis.

How it compares

This actor focuses specifically on market time data, while the competitor offers broader stock information.

Feature ParseForge Yahoo Finance - Full stock info, news, cheapest, real-time
Market open and close times Yes Not listed
Premarket and after hours times Yes Not listed
Timezone details Yes Not listed
No API key required Yes Not listed
Flat row output Yes Not listed

What a Yahoo Finance record looks like

Every record returns as one flat JSON row. Here is a real one from a run:

{
 "id": "us",
 "name": "U.S. markets",
 "status": "closed",
 "yfitMarketId": "us_market",
 "close": "2026-09-28T20:00:00Z",
 "message": "U.S. markets closed",
 "open": "2026-09-28T13:30:00Z",
 "yfitMarketStatus": "YFT_MARKET_CLOSED",
 "time": "2026-09-29T03:32:13Z",
 "timezoneDst": "true",
 "timezoneGmtoffset": "-14400",
 "timezoneShort": "EDT",
 "timezoneText": "America/New_York",
 "scrapedAt": "2026-09-29T03:32:14.005Z"
}

Every value above comes from a real run. A field a record does not have comes back as null.

Configure the run

Set maxItems to limit the number of markets returned. The scraper fetches all available market times from Yahoo Finance and returns them in a fixed schema. The Input tab lists every parameter.

A first run with the defaults:

{
 "maxItems": 10
}

A larger pull:

{
 "maxItems": 200
}

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Set your inputs and any filters, then click Start.
  3. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Yahoo Finance through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:


Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that maxItems is set to at least 1. If the issue persists, the Yahoo Finance endpoint may be temporarily unavailable. Try running the scraper again later.

The data seems outdated.

The scraper fetches live data on each run. If you are using a scheduled run, ensure it is set to run at the desired frequency. You can also manually trigger a run to get the latest data.

I need data for a specific exchange, but I get all markets.

Currently, the scraper returns all markets. You can filter the results after export using tools like Excel or Python. We may add market filtering in a future version.

The run fails with an error.

Check your Apify account limits and ensure you have enough credits. If the error persists, contact support with the run ID for assistance.

FAQ

Question Answer
What data does this scraper return? It returns market time data from Yahoo Finance, including market ID, name, status, open and close times, and timezone details for each exchange.
Do I need an API key or login? No, the scraper accesses the public Yahoo Finance market time endpoint without authentication.
Can I filter by specific markets? The current version returns all available markets. You can set maxItems to limit the number of results, but there is no filter by market name or region.
How often is the data updated? The scraper fetches live data from Yahoo Finance on each run, so the market times reflect the current schedule.
What formats can I export the data to? You can export the results as CSV, JSON, Excel, or XML using Apify's built-in export options.
Is this scraper legal? The scraper only accesses publicly available data from Yahoo Finance. You should review Yahoo's terms of service and comply with any applicable laws.
Can I run this scraper on a schedule? Yes, you can set up a scheduled run in Apify to scrape market times at regular intervals, such as daily before market open.
What is the maximum number of items I can scrape? Free users are limited to 10 items. Paid users can set maxItems up to 1,000,000, but the actual number of markets returned is typically much smaller.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Yahoo Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

What input does the Yahoo Finance Market Time Scraper accept?

FieldTypeWhat it doesDefault
maxItems integer Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000 10

How much does the Yahoo Finance Market Time Scraper cost?

from $4.25 per 1,000 results

Charged forWhat it isPrice each
Result item Charged once per result delivered to the dataset. $0.00425 to $0.005

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

How do I call the Yahoo Finance Market Time Scraper API?

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~yahoo-finance-market-time-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "maxItems": 10
  }'

What example inputs can I use?

Use these inputs to see how a run is configured.

input.json
{
  "maxItems": 10
}

What do users say about the Yahoo Finance Market Time Scraper?

No reviews yet. Be the first.

How do I report an issue with the Yahoo Finance Market Time Scraper?

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

What related scrapers can I use?

Run Yahoo Finance Market Time Scraper on Apify All scrapers