# Install yahoo-finance2 with npm

JS API for Yahoo Finance. Version 4.0.0 via npm; verified 2026-07-11.

## Install

```sh
sudo av install npm:yahoo-finance2
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g yahoo-finance2
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:yahoo-finance2
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/yahoo-finance2>
- **Version:** 4.0.0
- **Source summary:** JS API for Yahoo Finance
- **Homepage:** <https://github.com/gadicc/yahoo-finance2#readme>
- **Repository:** <https://github.com/gadicc/yahoo-finance2>
- **Upstream docs:** <https://github.com/gadicc/yahoo-finance2#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/yahoo-finance2/-/yahoo-finance2-4.0.0.tgz>
- **Issue tracker:** <https://github.com/gadicc/yahoo-finance2/issues>
- **Published:** 2026-07-11T12:27:46.530Z
- **Last updated:** 2026-07-11T12:27:46.530Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- yahoo-finance (cli)
- yahoo-finance-mcp (cli)
- yahoo-finance2 (cli)
- yahoo-finance2 (alias)

## Dependencies

- @deno/shim-deno
- @modelcontextprotocol/sdk
- fetch-mock-cache
- json-schema
- tough-cookie
- tough-cookie-file-store
- zod

## Build dependencies

- @types/node

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.0.0
- Package-manager updated: 2026-07-11
- Local data: ok
- Upstream repository: https://github.com/gadicc/yahoo-finance2
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for yahoo-finance2. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0, Next: 2.0.1, Next Major: 3.10.0, Release 1.x: 1.14.8, Release 2.x: 2.14.2
- **Version Count:** 147
- **Maintainers:** gadicc, huh
- **Author:** Gadi Cohen
- **Publisher:** GitHub Actions
- **Engines:** Node: >=22.0.0
- **Integrity:** sha512-3AUMLycIxGSKEf99nEedmsccBLAXyVajCfKlY+Vxsxx6ntsDlFYN1UdL6APGMFiRs8IBivn62eJT4Zj3WQdrlw==
- **Shasum:** 6591be3dbc045eae2b23c81c7ca015e5323ef050
- **Unpacked Size:** 6,536,933
- **File Count:** 0
- **Created At:** 2021-01-24T05:08:49.714Z
- **Latest Published At:** 2026-07-11T12:27:46.530Z
- **Modified At:** 2026-07-31T18:11:46.078Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [unstructured-client](https://pkg.so/npm/unstructured-client/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, data, mcp, modelcontextprotocol.
- [mdz](https://pkg.so/brew/mdz/) - Local metadata places this package in an adjacent workflow. Shared terms: api, cli, client, data, finance.
- [openapi-zod-client](https://pkg.so/npm/openapi-zod-client/) - Local metadata places this package in an adjacent workflow. Shared terms: api, cli, client, data, zod.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
