yahoo-finance2

Ochiq manbalardan

Yahoo Finance uchun rasmiy boʻlmagan API: CLI, MCP va Agent Skill bilan

Mashina tarjimasi · Asl matnni koʻrsatish

Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill

MCP serverKategoriya: MCP serverlar · Brauzer va veb · Qidiruv va bilimlarOpen sourcemaʼlumot tekshirilgan: 16-okt, 2026

Sharh

  • agent-skill
  • finance
  • mcp-server
  • yahoo
  • yahoo-finance

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
Claude (web & desktop)Nomaʼlum———
Claude CodeNomaʼlum———
CursorNomaʼlum———
VS CodeNomaʼlum———
WindsurfNomaʼlum———
ChatGPTNomaʼlum———

Relizlar

tekshirilgan: 30-okt, 2026
v4.0.5Oxirgi21-okt, 2026Rasmiy manba ↗

4.0.5 versiyasi fayllari

Relizga fayllar biriktirilmagan.

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 16-okt, 2026
Sifat bahosi92
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 0 days ago
Hujjatlar · 1515
README 7819 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 1010
10 release(s), latest 0 days ago
Kategoriya aniqligi · 105
classifier confidence 0.5
Ommaboplik · 107
803 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX MIT
Hamjamiyat · 55
issues enabled, 107 forks

Litsenziya

MIT
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/gadicc/yahoo-finance2Asosiy★ 803 yulduzfaollik: 15-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

QuantDingerOʻxshash
Ochiq kodli AI savdo OTM, agent savdosi va vibe trading, Jev System One integratsiyasi bilan. Tadqiqot oʻtkazing, Python strategiyalari yarating, backtest qiling va kripto, aksiyalar hamda forex boʻyicha qogʻoz yoki real savdo qiling. Oʻzingizning koʻp ijarachili savdo SaaS platformangizni ishga tushiring: foydalanuvchilarni boshqarish, billing, toʻlovlar va hisob-kitoblar bilan.Apache-2.0 · MCP serverlar
FinanceMCPOʻxshash
Bu moliya sohasiga oid MCP boʻlib, Tushare API va Binance API ni integratsiya qilish orqali tilni modellarga (masalan, Claude) real vaqtda moliyaviy maʼlumotlarga keng kirish imkonini beradi. Aksiyalar, fondlar, obligatsiyalar, makroiqtisodiy koʻrsatkichlar, stablecoinlar, kriptovalyutalar va boshqa koʻp oʻlchovli moliyaviy maʼlumotlar tahlilini qoʻllab-quvvatlaydi. Shuningdek, moliyaviy maʼlumotlar soʻrovlari, moliyaviy yangiliklar soʻrovlari va Davlat statistika qoʻmitasi maʼlumotlari boʻyicha soʻrovlarni ham oʻz ichiga oladi.MIT · MCP serverlar
maverick-mcpOʻxshash
Yahoo Finance maʼlumotlari, texnik tahlil, portfelni kuzatish va Python tilida backtesting uchun fond bozori MCP serveri. Asosiy vositalar uchun API kalit talab qilinmaydi, lokal ishlaydi.MIT · MCP serverlar
worldmonitorOʻxshash
Global vaqt rejimidagi tahliliy boshqaruv paneli. Sun'iy intellekt yordamida yangiliklarni yigʻish, geosiyosiy monitoring va infratuzilmani kuzatish — yagona vaziyatni anglash interfeysidaAGPL-3.0 · MCP serverlar
ScraplingOʻxshash
🕷️ Bitta so‘rovdan tortib to‘liq miqyosli crawlgacha bo‘lgan hamma narsani boshqaradigan moslashuvchan Web Scraping freymvorki! Uyalmang, bu yerga qo‘shiling: https://discord.gg/EMgGbDceNQ va kundalik maslahat hamda hiyla-nayranglar uchun bu yerga obuna bo‘ling: https://x.com/Scrapling_devBSD-3-Clause · MCP serverlar
context7Oʻxshash
Context7 Platform — AI agentlar uchun dolzarb hujjatlarMIT · MCP serverlar

README

gadicc/yahoo-finance2 dan · litsenziya MIT · yuklangan 30-okt, 2026

yahoo-finance2

Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill.

Copyright (c) 2021 by Gadi Cohen and Pilwon Huh. MIT licensed.

[npm] [CI] [coverage] [semantic-release] [TypeScript] [MIT License]

You are reading the docs for v4, the current major version published as yahoo-finance2@latest. For the older v3 docs, click here. Upgrading? See UPGRADING.

Live Demo on CodeSandbox (Updated 2024-06-17; NextJS with both RSC and Hook-Relay examples)

NB: Recently the repo was renamed from node-yahoo-finance2 to yahoo-finance2, and the following branches were named, master to main, and devel to dev. See UPGRADING.md#dev for the git commands to update your local installation.

Supported runtimes:

  • Bun: v1+.
  • Cloudflare: Modern releases, tested in CI via Workers Vitest under nodejs_compat.
  • Deno: v2+.
  • Node: v22+; v22 until 2027-04-30, v24 until 2028-04-30. Supported releases follow the Node.js release schedule.

Unofficial API

This project is neither created nor endorsed by Yahoo Inc. Yahoo does not provide any official API to developers, nor makes any guarantees regarding service availability or API consistency. In practice however, the open source community has kept this project (and it's predecessor) working well since 2013.

Nevertheless, we make no guarantees and you use this package at your own risk. The developers (and obviously Yahoo) cannot be held responsible for any losses you may incur as a result of using this service. Use of this package is considered acknowledgement and acceptance of these terms and of its license.

Quickstart

CLI (Command line interface)

$ npx yahoo-finance2 --help
$ npx yahoo-finance2 search AMZN
$ npx yahoo-finance2 quoteSummary GOOGL
$ npx yahoo-finance2 quoteSummary NVDA '{"modules":["assetProfile", "secFilings"]}'

# or install it
$ npm install -g yahoo-finance2
$ yahoo-finance search MSFT '{ "someOption": true }'

See the CLI docs for stdout/stderr behavior and exit codes.

See the MCP docs to expose yahoo-finance2 tools to MCP clients such as Codex, Claude, Cursor, and VS Code.

Importing

// or: const YahooFinance = require("yahoo-finance2").default;
import YahooFinance from "yahoo-finance2";

const yahooFinance = new YahooFinance();

const results = await yahooFinance.search("Apple");

const quote = await yahooFinance.quote('AAPL');
const { regularMarketPrice as price, currency } = quote;

Available modules: chart, fundamentalsTimeSeries, historical, insights, options, quote, quoteSummary (submodules: assetProfile, balanceSheetHistory, balanceSheetHistoryQuarterly, calendarEvents, cashflowStatementHistory, cashflowStatementHistoryQuarterly, defaultKeyStatistics, earnings, earningsHistory, earningsTrend, financialData, fundOwnership, fundPerformance, fundProfile, incomeStatementHistory, incomeStatementHistoryQuarterly, indexTrend, industryTrend, insiderHolders, insiderTransactions, institutionOwnership, majorDirectHolders, majorHoldersBreakdown, netSharePurchaseActivity, price, quoteType, recommendationTrend, secFilings, sectorTrend, summaryDetail, summaryProfile, symbol, topHoldings, upgradeDowngradeHistory), recommendationsBySymbol, screener, search, trendingSymbols.

Extras: quoteCombine.

See the Explanatatory Documentation and Full API Documentation.

Particularly, make sure to read the notes there on ERROR HANDLING. Be aware that if a stock gets delisted, Yahoo removes all related data, including historical (and chart) data from periods before the delisting occurred (i.e. queries that worked before will start failing, and there is no way to retrieve this data again).

Agent Skill

This repo ships an Agent Skills-compatible skill at skills/yahoo-finance2. Install it for compatible agents with:

npx skills add gadicc/yahoo-finance2

The npm package also includes the skill under skills/yahoo-finance2 for tools that sync skills from installed packages.

(Optional) TypeScript Love

Working with yahoo-finance2 is a joy if you're using TypeScript (but you don't have to), with type checking and auto completion:

[Types Animation]

Try it yourself on our Live CodeSandbox.

Using in the Browser

It's not possible to run this in the browser, due to CORS and cookie issues. You should execute calls on a server or in a serverless or edge function, and pass this data to the browser as required. See the CodeSandbox above for examples. Use React Server Components, trpc, or other strategies to maintain types.

Related Projects

  • 📈 Ghostfolio - mature, open-source Wealth Management & longtime supporter.

  • 🛠️ StockQuotes.MCP - AI MCP Server to fetch real time financial data.

  • ⚡ live-quotes - Demo to showcase running yahoo-finance2 in cloudflare workers with live quotes.

  • 🦊 Foliofox - Open-source portfolio tracker with an AI financial advisor.

Want your project listed? Open a PR to add it here.

Contributing

Pull Requests welcome! Read CONTRIBUTING.md and join our list of heroes:

[contributors badge]

Credits

  • Massive thanks to @pilwon for the original node-yahoo-finance and for all our prior collaborations on this and other projects 🙏

  • Special mention goes out to pudgereyem and PythonCreator27 who made significant contributions in the very early days of this project.

Repozitoriyni ochish ↗