What YFinance API does and who it is for

YFinance API is a RESTful interface that surfaces Yahoo Finance data programmatically — the same data that powers one of the web's most-used financial portals. The API targets developers who need to build stock analysis tools, portfolio trackers, financial screeners, or forecasting applications without managing their own data pipeline from raw exchange feeds.

Coverage spans U.S. and global markets. From a single integration you can pull real-time equity quotes, options chain metrics, ETF and mutual fund data, market-wide summaries, world indices, earnings calendars, and predefined screeners — all via GET requests. With 79 total endpoints and 131 ms average latency, the surface area is wide and the round-trip time is reasonable for most use cases.

Key capabilities and endpoint walkthrough

The 40 visible endpoints already reveal a thoughtfully organized API. The base paths fall into three main groups:

Market data and quotes

/api/market/get-quote and /api/market/get-quote-v2 are the workhorses — these deliver per-symbol quote data. The v2 variant suggests the provider has iterated on the response shape, which is worth checking in the documentation to understand which fields differ between versions. /api/market/get-market-summary and /api/market/get-world-indices give macro-level snapshots without requiring a specific symbol, useful for building dashboards that need context on where global markets stand.

Screeners and ranked lists

A significant portion of the endpoint surface is dedicated to predefined screeners: day gainers, day losers, 52-week gainers, 52-week losers, most actives, top performing, largest market cap, highest dividend yield, lowest P/E ratio, and several strategy-oriented screens like acquirer multiple, net-net strategy, and high-yield return. There is also /api/screener/get-predefined-screener, which likely accepts a screener identifier as a parameter to consolidate some of these calls.

This category makes YFinance API particularly useful for building stock discovery features — ranked watchlists, alert systems for momentum movers, or value-screen UIs.

Options and volatility

/api/market/get-highest-implied-volatility and /api/market/get-highest-open-interest expose options-market analytics. Developers building options dashboards or volatility-driven strategies will find these useful without needing to parse full options chains themselves.

Sector and asset class coverage

Dedicated endpoints exist for equity, technology, bond, commodity, and precious metal market slices, as well as S&P 500 data, large-blend funds, and high-growth-large categories. This granularity means you can build asset-class-specific pages or filters without client-side filtering of a generic response.

Supporting utilities

/api/autocomplete provides search-as-you-type symbol lookup — handy for any UI where users type a company name or ticker. /api/market/get-earnings-calendar and the two earnings-surprise endpoints (above and below expectation) support event-driven analysis around reporting season. /api/market/get-market-time likely exposes trading hours state, useful for gating real-time calls to when markets are actually open.

Pricing breakdown

Plan Price Requests/month Rate limit
BASIC $0 500 Not specified
PRO $20 100,000 10 req/sec
ULTRA $50 500,000 10 req/sec
MEGA $200 5,000,000 10 req/sec

The BASIC tier's 500 monthly requests translates to roughly 16 requests per day — enough to prototype and test endpoint shapes, but far too limited for any live application. A simple portfolio tracker refreshing 20 symbols every hour would exhaust that quota in roughly 40 minutes of operation.

PRO at $20/month gives 100,000 requests — about 3,300 per day or 135 per hour at steady load — which is workable for a small production app, especially one that caches aggressively. ULTRA at $50 (500,000/month) suits mid-traffic applications. The MEGA plan's 5,000,000 requests for $200/month is priced aggressively on a per-request basis and suits high-volume screeners, data warehouses, or SaaS products with many end users.

All paid plans share the same 10 requests-per-second rate limit. This is a meaningful constraint for bursty workloads — for example, fetching quotes for 500 symbols at startup — so client-side queuing or batching logic will likely be necessary.

Practical use cases

  • Portfolio tracker: Pull real-time quotes for held symbols, enrich with earnings calendar dates, and surface dividend yield data for income analysis.
  • Stock screener UI: Use the predefined screener endpoints to power filter tabs (most actives, day gainers, lowest P/E) without building your own ranking logic.
  • Volatility dashboard: Combine implied volatility and open interest endpoints with historical data to display options market sentiment.
  • News and earnings calendar: Overlay earnings surprise data with historical price charts around reporting dates to look for patterns.
  • Global market overview: World indices and market summary endpoints are well-suited to a homepage widget showing macro market conditions.

Limitations and things to verify before integrating

The most significant number to consider is the 78% average success rate. In practice, this means roughly 1 in 5 requests fails on average. For a data display application with graceful fallbacks and cached prior values, that may be acceptable. For anything latency-sensitive or that powers financial decisions in near-real-time, this failure rate demands careful evaluation — including circuit-breaker logic and retry handling on your side.

All paid plans cap the rate limit at 10 requests per second, and this limit does not increase with higher tiers. If your application needs burst capacity beyond that, this is a hard architectural constraint to plan around.

Endpoint descriptions in the fact sheet are sparse — many operations list no parameter documentation in the summary. Before building against any specific endpoint, confirm the accepted query parameters and response schema through the provider's full documentation or by experimenting on the BASIC tier.

With 79 total endpoints but only 40 described here, there are additional endpoints worth exploring once you have API access — potentially including historical price series, financials, and analyst ratings mentioned in the API description.

Getting started

The BASIC tier requires no payment and gives you 500 requests to explore the endpoint surface. A sensible onboarding path is to:

  1. Sign up and get your API key.
  2. Test /api/market/get-market-summary to verify the response shape and confirm connectivity.
  3. Use /api/autocomplete to understand how symbol lookup works before wiring up a UI.
  4. Test two or three of the screener endpoints to see which predefined lists are most relevant to your use case.
  5. Estimate your monthly request volume based on the number of symbols, refresh frequency, and user count, then select a paid plan before deploying.

Given the 10 req/sec ceiling across all paid plans, build request queuing into your integration from the start rather than retrofitting it later.