Skip to main content
Piloterr
Back to library

Yahoo Finance API

Retrieve a real-time stock quote from Yahoo Finance by ticker symbol, with price, market cap, PE ratio, EPS, volume, and analyst data as structured JSON.

Private1 credit = 1 requestGET/v2/yahoo/finance

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Yahoo Finance protects its data with Cloudflare, which blocks virtually all automated HTTP clients. Piloterr handles the bypass in full, so you send one GET request with a ticker symbol and receive a complete, structured JSON quote in return. No proxy management, no browser automation, no parsing.

The endpoint returns price data, volume, key fundamentals (PE ratio, EPS, market cap), dividend details, and analyst consensus for any equity, ETF, index, or crypto ticker available on Yahoo Finance.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/yahoo/finance?query=AAPL

ParametersLink to Parameters

Parameter Type Required Description
query string yes Ticker symbol (e.g. AAPL, TSLA, ^GSPC, BTC-USD)

Response fieldsLink to Response fields

Field Type Description
symbol string Ticker symbol
name string Full company or asset name
exchange string Exchange where the asset trades
regular_market_price number Current or last session price
regular_market_change_percent number Percentage price change
fifty_two_week_high number 52-week high
fifty_two_week_low number 52-week low
market_cap integer Market capitalisation
trailing_pe number Trailing P/E ratio
eps_trailing_twelve_months number Trailing EPS
recommendation_key string Analyst consensus
target_mean_price number Mean 12-month price target

NotesLink to Notes

  • Indices and crypto tickers do not return all fundamental fields.
  • Yahoo Finance applies Cloudflare protection. Piloterr handles the bypass transparently.

Main use casesLink to Main use cases

  • Monitor live stock prices and trigger alerts when positions move beyond thresholds
  • Pull fundamentals into a valuation model or dashboard without a paid data vendor
  • Track analyst consensus changes to inform quantitative strategies
  • Enrich investment research records with fresh Yahoo Finance data in real time
  • Build a fintech data feed without managing scraping infrastructure

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included