Yahoo Financeの株価ページ、市場データ、過去の価格、スクリーナー、カレンダー、銘柄リサーチモジュールを構造化JSONとして収集し、ダッシュボード、ウォッチリスト、エージェントネイティブなワークフローに活用できます。
構造化出力
CrawloraのYahoo Financeデータスクレイピング APIを使えば、対応する公開Yahoo Financeページとその背後のAPIモジュールを構造化JSONに変換できます。Crawloraは、エンドポイント別のリクエスト構築、レスポンス正規化、ドキュメント化されたエラー、Playgroundのサンプル、クレジットベースの利用メタデータを処理します。
金融ワークフロー
Yahoo Financeのカバレッジは、金融ページやレスポンス構造ごとに個別のスクレイパーを保守することなく、公開されている株価・検索・過去データ・カレンダー・スクリーナー・市場概況・銘柄モジュールデータを収集するチームを支援します。
金融市場データワークフローリクエストスキーマ
これらのパラメータは、稼働中の「Yahoo Finance ticker quote」カタログエントリから取得しています。
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| symbol | string | はい | Yahoo Finance symbol such as AAPL | AAPL |
JSON例
この例は稼働中のエンドポイントカタログからレンダリングされるため、ページは常にDocsおよびPlaygroundと同期しています。
{
"code": 200,
"msg": "OK",
"data": {
"symbols": [
"AAPL"
],
"quotes": [
{
"symbol": "AAPL",
"regularMarketPrice": 211
}
]
}
}エンドポイントカタログ
/yahoo-finance/ticker/{symbol}/quoteReturns fast quote fields for one Yahoo Finance `symbol` such as `AAPL`, for example `regularMarketPrice`, in a `quotes` list alongside the requested `symbols`. The symbol is the only input.
MCPツール yahoo_finance_ticker_quote
/yahoo-finance/searchSearches Yahoo Finance for the required `q`, a ticker symbol or company name, and returns matching `quotes`, `news` and `lists`, plus `research` reports when `include_research` is set and Yahoo returns them. `quotes_count`, `news_count` and `lists_count` set how many of each; `enable_fuzzy_query` turns on fuzzy matching.
MCPツール yahoo_finance_search
/yahoo-finance/ticker/{symbol}/historyReturns price points for a Yahoo Finance `symbol`: open, high, low, close, adjusted close and volume with timestamps. Use `period` (default `1mo`, up to `max`) or `start` and `end`, which override it. `interval` sets the candle size (default `1d`; intraday covers recent ranges only). `include_actions` adds dividend, split and capital-gain `events`.
MCPツール yahoo_finance_ticker_history
/yahoo-finance/ticker/{symbol}/infoReturns profile and quote information for a Yahoo Finance `symbol` such as `AAPL`, under `modules`: the profile, quote type (`quoteType`), price, statistics and summary modules. The symbol is the only input.
MCPツール yahoo_finance_ticker_info
/yahoo-finance/trending/{region}Returns the symbols Yahoo Finance lists as trending in a `region` such as `US`. `count` sets how many. The response has `region`, `count`, the `symbols`, and the `job_timestamp` and `start_interval` fields.
MCPツール yahoo_finance_trending
/yahoo-finance/market/{market}/summaryReturns the market summary rows for a Yahoo Finance `market` such as `US`, as a `summary` list of instruments, each with fields such as `symbol` and `shortName`.
MCPツール yahoo_finance_market_summary
/yahoo-finance/market/{market}/statusReturns whether a Yahoo Finance market is open or closed, for the path `market` such as `US`. The response has `market` and a `status` object with the market id, name and its current open or closed state.
MCPツール yahoo_finance_market_status
/yahoo-finance/screener/{id}Runs a predefined Yahoo Finance screener by `id`, such as `day_gainers` or `most_actives`. `count` and `offset` page the results; `sort_field` and `sort_asc` change the order. The response has the screener `title`, `description`, `total`, `meta` and the matching `quotes`. Valid ids come from `/yahoo-finance/screeners`.
MCPツール yahoo_finance_screener
/yahoo-finance/screenersLists the predefined Yahoo Finance screeners that can be run, such as `day_gainers`, `day_losers` and `most_actives`, as a `screeners` list of ids. It takes no parameters. Pass an id to `/yahoo-finance/screener/{id}`.
MCPツール yahoo_finance_screeners
/yahoo-finance/ticker/{symbol}/newsReturns the Yahoo Finance news stream for the ticker in the `symbol` path parameter, such as `AAPL`. `count` limits the items (default 8, max 250) and `tab` picks `news` (default), `all` or `press_releases`. Stories have title, provider, dates and URLs. A valid empty stream returns `news: []`.
MCPツール yahoo_finance_ticker_news
/yahoo-finance/ticker/{symbol}/financialsReturns financial statement data for a Yahoo Finance `symbol`. `statement` picks `income`, `balance-sheet` or `cash-flow` (aliases `income-statement`, `balance` and `cashflow` also work) and `period` picks `annual`, `quarterly` or `trailing`; trailing is supported for income and cash flow only. The response echoes `statement` and `period`, with the data under `modules`.
MCPツール yahoo_finance_ticker_financials
/yahoo-finance/ticker/{symbol}/earningsReturns the Yahoo Finance earnings modules for a `symbol` such as `AAPL`, including `earnings` and `earningsTrend`, under `modules`. The response echoes the `symbol`, and the symbol is the only input.
MCPツール yahoo_finance_ticker_earnings
/yahoo-finance/ticker/{symbol}/optionsReturns the option expiration dates (`expiration_dates`, as Unix timestamps) and the current option chain for a Yahoo Finance `symbol` such as `AAPL`. Each `options` entry has an `expiration_date` with its `calls` and `puts`; `underlying` describes the underlying security.
MCPツール yahoo_finance_ticker_options
/yahoo-finance/calendarsLists the Yahoo Finance calendar types available through the API: `earnings`, `ipo`, `economic-events` and `splits`. The list is static. Takes no parameters.
MCPツール yahoo_finance_calendars
/yahoo-finance/calendars/{type}Returns Yahoo Finance calendar rows for the path `type`: `earnings`, `ipo`, `economic-events` or `splits`. Narrow with `start` and `end` (YYYY-MM-DD, RFC3339 or Unix seconds) and page with `limit` (max 100) and `offset`. For `earnings` only, `market_cap` sets a minimum and `filter_most_active` (default true) filters. The response echoes the window and paging with the `rows`.
MCPツール yahoo_finance_calendar_results
/yahoo-finance/downloadReturns historical prices for up to 25 symbols in one POST. The body requires `symbols`; `period`, `start`, `end`, `interval`, `include_prepost` and `include_actions` are optional. Each result is one symbol, with price points (open, high, low, close, adjusted close, volume) and dividend, split and capital-gain events, or an `error` for that symbol.
MCPツール yahoo_finance_download
/yahoo-finance/sectorsLists the Yahoo Finance sectors, each with a `key` and a `name`. It takes no parameters. Use a returned `key` with `/yahoo-finance/sectors/{key}` to get that sector's companies, funds and industries.
MCPツール yahoo_finance_sectors
/yahoo-finance/sectors/{key}Returns Yahoo Finance detail for one sector `key` such as `technology`: name, overview, top companies, top ETFs, top mutual funds, the sector's industries and research reports. Valid keys come from `/yahoo-finance/sectors`.
MCPツール yahoo_finance_sector
/yahoo-finance/industriesLists the Yahoo Finance industries, each with a `key` and a `name`. It takes no parameters. Pass a returned `key` to `/yahoo-finance/industries/{key}` for that industry's detail.
MCPツール yahoo_finance_industries
/yahoo-finance/industries/{key}Returns Yahoo Finance detail for one industry `key` such as `semiconductors`: name, overview, its parent sector (`sector_key`, `sector_name`), top companies, top performing companies, top growth companies and research reports. Valid keys come from `/yahoo-finance/industries`.
MCPツール yahoo_finance_industry
/yahoo-finance/ticker/{symbol}/actionsReturns the corporate actions for a Yahoo Finance `symbol` such as `AAPL`: `dividends`, `splits` and `capital_gains`. Dividend and capital-gain entries carry a Unix timestamp and an amount; split entries carry a ratio such as `4:1`.
MCPツール yahoo_finance_ticker_actions
/yahoo-finance/ticker/{symbol}/dividendsReturns the dividend events for a Yahoo Finance `symbol` such as `AAPL`, each with a Unix timestamp and an amount. The response object also has `splits` and `capital_gains` fields.
MCPツール yahoo_finance_ticker_dividends
/yahoo-finance/ticker/{symbol}/splitsReturns the stock split events for a Yahoo Finance `symbol` such as `AAPL`, each with a Unix timestamp and a split ratio such as `4:1`. The response object also has `dividends` and `capital_gains` fields.
MCPツール yahoo_finance_ticker_splits
/yahoo-finance/ticker/{symbol}/capital-gainsReturns capital gain events for a Yahoo Finance `symbol`, mainly ETFs and mutual funds such as `SPY`, each with a Unix timestamp and an amount, when Yahoo provides them. The response object also has `dividends` and `splits` fields.
MCPツール yahoo_finance_ticker_capital_gains
/yahoo-finance/ticker/{symbol}/analystsReturns analyst data for a Yahoo Finance `symbol` such as `AAPL`, as `modules` keyed by Yahoo module name: recommendation trend, upgrade and downgrade history, price targets and estimates, where Yahoo provides them.
MCPツール yahoo_finance_ticker_analysts
/yahoo-finance/ticker/{symbol}/holdersReturns holder data for a Yahoo Finance `symbol` such as `AAPL`, under `modules`: the major holders breakdown (`majorHoldersBreakdown`), institutional ownership, and the fund and insider holder modules.
MCPツール yahoo_finance_ticker_holders
/yahoo-finance/ticker/{symbol}/sustainabilityReturns ESG and sustainability scores for a Yahoo Finance `symbol` such as `AAPL`, under `modules.esgScores`. When Yahoo recognises the ticker but has no ESG data, `esgScores` comes back empty instead of an error.
MCPツール yahoo_finance_ticker_sustainability
/yahoo-finance/ticker/{symbol}/fundsReturns fund data for an ETF or mutual fund `symbol` such as `SPY`, under `modules`: the fund profile, top holdings, equity holdings, bond holdings and sector weightings.
MCPツール yahoo_finance_ticker_funds
/yahoo-finance/ticker/{symbol}/isinReturns the ISIN for a Yahoo Finance `symbol`, for example `US0378331005` for `AAPL`. The lookup is experimental, and the `isin` field is `-` when none can be found.
MCPツール yahoo_finance_ticker_isin
/yahoo-finance/ticker/{symbol}/sec-filingsReturns the SEC filing summaries Yahoo Finance lists for a `symbol` such as `AAPL`, under `modules.secFilings`. The response echoes the `symbol`, and the symbol is the only input.
MCPツール yahoo_finance_ticker_sec_filings
/yahoo-finance/ticker/{symbol}/sharesReturns the current share-count fields for a Yahoo Finance `symbol` such as `AAPL`, for example `sharesOutstanding`, in `shares`. The symbol is the only input, and the response echoes it as `symbol`.
MCPツール yahoo_finance_ticker_shares
/yahoo-finance/ticker/{symbol}/shares-fullReturns the historical shares-outstanding series for a Yahoo Finance `symbol`. `start` and `end` accept YYYY-MM-DD, RFC3339 or Unix seconds; without them the last 18 months are returned. Each point has `timestamp`, `datetime` and `shares_out`.
MCPツール yahoo_finance_ticker_shares_full
/yahoo-finance/ticker/{symbol}/valuationReturns the valuation measures table from Yahoo Finance key statistics for a `symbol` such as `AAPL`, as `headers` and `rows` keyed by column, for example Market Cap. Returns an upstream error when Yahoo does not serve the table.
MCPツール yahoo_finance_ticker_valuation
/yahoo-finance/ticker/{symbol}/earnings-datesReturns earnings-date rows for a Yahoo Finance `symbol`, taken from Yahoo's earnings calendar table. `limit` (max 100) and `offset` page the rows. Each row is keyed by the table's column names, such as `Earnings Date`. Returns an upstream error when Yahoo does not serve the table.
MCPツール yahoo_finance_ticker_earnings_dates
/yahoo-finance/ticker/{symbol}/calendarReturns the calendar events Yahoo Finance holds for a `symbol` such as `AAPL`, under `modules.calendarEvents`. The response echoes the `symbol`, and the symbol is the only input.
MCPツール yahoo_finance_ticker_calendar
/yahoo-finance/ticker/{symbol}/history-metadataReturns the chart metadata Yahoo Finance holds for a `symbol` such as `AAPL`, in `meta`, for example `currency` and `exchangeName`. The symbol is the only input.
MCPツール yahoo_finance_ticker_history_metadata
/yahoo-finance/ticker/{symbol}/options/{expiration}Returns the calls and puts for one expiration of a Yahoo Finance `symbol`. `expiration` is a Unix timestamp, and the options endpoint lists the available ones in `expiration_dates`. The result is an `options` entry with `expiration_date`, `calls` and `puts`.
MCPツール yahoo_finance_ticker_options_expiration
/yahoo-finance/lookupLooks up instruments on Yahoo Finance by ticker symbol or company name, optionally filtered to one type: equity, ETF, mutual fund, index, future, currency or cryptocurrency. Page with `count` and `start`. Returns the matching instruments, each with its symbol, short name, quote type and exchange, and the total.
MCPツール yahoo_finance_lookup
/yahoo-finance/screenerRuns a custom Yahoo Finance screen from a JSON body. `query` is a tree of `operator` and `operands`: combine conditions with `AND` or `OR`, and compare a field to a value with operators such as `EQ` or `GT`. Screen equities (default), ETFs or mutual funds with `quote_type`, and page and sort with `count`, `offset`, `sort_field` and `sort_asc`. Returns the matching quotes and the total.
MCPツール yahoo_finance_screener_custom
マネージド実行
Crawloraは、対応するYahoo Financeの公開データインターフェースをドキュメント化されたAPIエンドポイントとして公開し、認証メタデータ、スキーマ、Playgroundのサンプル、クレジットコスト、構造化された障害処理を提供します。
株価、過去データ、検索、スクリーナー、カレンダー、市場、銘柄ページ向けのエンドポイント別リクエスト処理
利用可能な場合、ドキュメント化されたスキーマとサンプル付きの正規化されたJSONレスポンス
稼働中のAPIカタログから生成されるDocsとPlaygroundのページ
バックエンドの課金重み付けに連動したクレジット課金
データ異常時に不正なデータを黙って返す代わりに明確な上流障害の背景情報を提供
バックエンド統合向けのAPIキー保護された本番ルート
自社構築との比較
スクレイピングインフラを社内で維持するか、マネージドエンドポイントを呼び出すかの判断にご活用ください。
| 要件 | 自社構築 | Crawlora |
|---|---|---|
| エンドポイントカバレッジ | 株価、過去データ、カレンダー、スクリーナー、銘柄ページごとに個別のクローラーを保守します。 | 1つのAPIインターフェースからドキュメント化されたYahoo Financeエンドポイント群を利用できます。 |
| パーサーの保守 | 公開ページの変更に合わせてセレクタとレスポンス処理ロジックを更新し続けます。 | Crawlora APIの背後で保守されるエンドポイント別の抽出ロジックを利用できます。 |
| スキーマの正規化 | 雑多な株価・市場・カレンダー・銘柄モジュールを自分のモデルに正規化します。 | ドキュメント化されたエンドポイントスキーマから構造化JSONを取得できます。 |
| 開発者テスト | 自前のリクエストコンソールとサンプルを構築します。 | 稼働中のカタログから生成されるDocsとPlaygroundのページを利用できます。 |
| 利用量課金 | エンドポイント重み付け、クレジット、上限を自前で構築します。 | 公開済みのエンドポイント重み付けによるクレジットベースの利用量課金を利用できます。 |
| 障害処理 | 空ページ、上流の変更、利用不能なモジュールを自力で分類します。 | 利用不能な上流レスポンスに対しドキュメント化されたエラーを受け取れます。 |
Crawloraは、対応するYahoo Financeページとモジュール向けの構造化Web公開データ抽出を提供します。CrawloraはYahoo Finance公式APIではありません。Crawloraはブローカー、投資顧問、取引所データベンダー、リアルタイム取引データプロバイダーではありません。データには遅延や不完全さがある場合や、上流ページの変更に伴い調整される場合があります。Crawloraを取引、投資、コンプライアンス、税務、会計、リスクに関する意思決定の唯一の根拠としないでください。お客様は、適用法、第三者の権利、プラットフォーム規約、Crawloraの規約に自らの利用が準拠していることを確認する責任を負います。
関連API
このエンドポイントを、関連するCrawloraの検索、モニタリング、ドキュメント、料金の各ページと組み合わせて活用できます。
Yahoo FinanceのデータをGoogle Financeの株価・チャート・市場・ニュースのカバレッジと組み合わせられます。
開く公開市場リサーチをスタートアップのローンチとプロダクト発見データと組み合わせられます。
開くWebサイトと競合インテリジェンスのシグナルを統合できます。
開く対応範囲内の公開プロフィールで企業インテリジェンスデータを収集できます。
開くプラン、クレジット、上限、利用オプションを確認できます。
開く稼働中の全エンドポイントカタログを閲覧できます。
開くYahoo Financeのスクレイピング方法
CrawloraのYahoo Financeエンドポイントは、GETリクエスト(加えて2つのPOSTバッチルート)で、公開されているYahoo Financeの株価・市場・スクリーナーページをJSONに変換します。銘柄単位:/yahoo-finance/ticker/{symbol}/quote、/yahoo-finance/ticker/{symbol}/info、/yahoo-finance/ticker/{symbol}/history(periodまたはstartとendでOHLCVを取得、intervalに対応)、/yahoo-finance/ticker/{symbol}/financials(periodで損益計算書・貸借対照表・キャッシュフロー計算書を取得)に加え、オプション、配当、株式分割、決算、アナリスト、株主、ニュース、サステナビリティ、バリュエーション、株式構成、SEC提出書類のサマリーがあります。市場単位:/yahoo-finance/search、/yahoo-finance/lookup、/yahoo-finance/trending/{region}、/yahoo-finance/market/{market}/summaryおよびstatus、事前定義・カスタムスクリーナー、カレンダー、業種・セクターページです。POST /yahoo-finance/downloadは、1回の呼び出しで最大25銘柄の過去データを返します。
GET /yahoo-finance/search?q=<会社名>または/yahoo-finance/lookup?query=<テキスト>&type=<equity、etfなど>は、Yahooの銘柄コードとともに一致する証券を返します。この銘柄コードを保存してください。他のすべての株式系ルートが必要とするキーです。
GET /yahoo-finance/ticker/{symbol}/quoteはクイックな株価フィールドを、/yahoo-finance/ticker/{symbol}/infoは概要・統計・サマリーモジュールを、/yahoo-finance/ticker/{symbol}/history?period=1y&interval=1d(またはstartとend)は正規化されたOHLCVデータポイントを返します。include_actionsパラメータと組み合わせれば配当と株式分割の情報も取得できます。POST /yahoo-finance/downloadを使えば、最大25銘柄の過去データを一度に取得できます。
GET /yahoo-finance/ticker/{symbol}/financials?statement=income&period=annual(またはquarterly)に加え、/yahoo-finance/ticker/{symbol}/earnings、/yahoo-finance/ticker/{symbol}/analysts、/yahoo-finance/ticker/{symbol}/holders、/yahoo-finance/ticker/{symbol}/options、/yahoo-finance/ticker/{symbol}/dividendsを使えば、Yahooが株価ページに表示している各種リサーチモジュールを取得できます。
GET /yahoo-finance/screenersは事前定義されたスクリーナー(day_gainers、most_activesなど)を一覧し、/yahoo-finance/screener/{id}はそのうちの1つを実行します。POST /yahoo-finance/screenerはYahooスクリーナーのJSON形式でカスタムクエリを実行します。/yahoo-finance/calendars/{type}は決算・IPO・経済・株式分割のカレンダーを返し、/yahoo-finance/trending/{region}と/yahoo-finance/market/{market}/summaryは日次の市場概況を提供します。
FAQ
対応する公開Yahoo Financeデータワークフロー向けにCrawloraを評価している開発者向けの回答です。
はい。Crawloraは対応する公開Yahoo Financeページとモジュール向けのエンドポイントを提供し、株価、検索、過去データ、市場概況、カレンダー、スクリーナー、銘柄モジュールを含みます。
いいえ。CrawloraはYahoo Finance公式のAPIではありません。Crawloraは、対応するYahoo Financeデータインターフェース向けの構造化Web公開データ抽出エンドポイントを提供します。
現在のカタログには、株価、検索、過去の価格、過去データのメタデータ、ニュース、市場ステータス、市場概況、注目銘柄、カレンダー、セクター、業種、事前定義・カスタムスクリーナー、財務データ、決算、アナリスト、株主、オプション、配当、株式分割、株式構成、サステナビリティ、バリュエーション、対応範囲内の関連銘柄モジュールが含まれます。
使えません。Crawloraはリアルタイム取引データプロバイダーではありません。データには遅延や不完全さがある場合や、上流ページの変更に伴い調整される場合があります。Crawloraを取引、投資、コンプライアンス、税務、会計、リスクに関する意思決定の唯一の根拠としないでください。
いいえ。Crawloraは投資アドバイス、証券仲介サービス、取引所データライセンス、取引推奨、リスク判断のいずれも提供しません。
できます。Yahoo Financeプラットフォームページまたはエンドポイント別のPlaygroundページを開けば、パラメータ、cURLサンプル、サンプルJSON、ドキュメントへのリンク、クレジットコストを確認できます。
Crawloraは利用不能な上流レスポンスに対しドキュメント化されたエラーを提供します。リトライ、空の状態、上流の可用性変化への対応は、各自の統合側で行ってください。
Yahooは2017年に公式のFinance APIを閉鎖しました。人気のyfinance Pythonライブラリを含むほとんどの代替手段は、Yahooの公開ページをリバースエンジニアリングしたものであり、Yahooがページレイアウトを変更したりリクエストを制限したりすると、静かに機能しなくなる可能性があります。Crawloraは、自前で保守するスクレイパーではなく、スキーマ、クレジットベースの課金、構造化されたエラー処理を備えたドキュメント化・バージョン管理されたAPIとしてYahoo Financeを維持しています。
GET /yahoo-finance/ticker/{symbol}/quoteで株価を、/yahoo-finance/ticker/{symbol}/historyでOHLCVデータを、/yahoo-finance/ticker/{symbol}/financialsで財務諸表を取得できます。加えて、オプション、配当、決算、アナリスト、株主、ニュースをカバーする他の株式系ルートもあります。銘柄コードが分からない場合は、まずCrawloraの/yahoo-finance/searchエンドポイントで解決してください。すべて正規化JSONを返します。
マネージドエンドポイントとして、同じ公開Yahoo Financeモジュール(株価、概要、過去データ、財務諸表、オプション、株式変動、株主、アナリスト、サステナビリティ、ISINなど)をカバーしているため、Yahooがページを変更したりIPをブロックしたりするたびに動かなくなる自前のスクレイパーを運用することなく、yfinance相当のフィールドを取得できます。
できます。Crawloraの/yahoo-finance/downloadエンドポイントにPOSTリクエストを送り、最大25銘柄と期間または日付範囲を渡せば、1回の呼び出しですべての過去の価格を取得できます。
対応しています。/yahoo-finance/screener/{id}エンドポイントはYahooの事前定義スクリーナー(day_gainersやmost_activesなど)を実行し、/yahoo-finance/screenerはカスタムクエリを実行します。/yahoo-finance/calendars/{type}は日付と時価総額のフィルターに対応した決算・IPO・経済イベント・株式分割のカレンダーを返します。
これはYahooがページに表示している公開データであり、Yahoo自身が適用する遅延を伴います。ライセンス付きの取引所データではありません。リサーチ、ダッシュボード、モニタリングにご利用いただき、取引執行やコンプライアンス目的での利用は避けてください。
Guides
Read Crawlora guides and comparisons that use the Yahoo Finance API.
PlaygroundでYahoo FinanceのTicker quoteをテストし、Docsで現在のレスポンススキーマを確認し、料金ページでクレジット利用量を比較できます。