Market Overview

Real-time market data, stock quotes, and market analysis powered by Yahoo Finance

Search Stocks

About This Integration

This market overview is powered by the Yahoo Finance API through the yahoo-finance2 library. It provides real-time stock quotes, historical data, market summaries, and more.

Features

  • Real-time stock quotes
  • Historical price data
  • Market summaries
  • Stock search functionality
  • Trending tickers
  • Financial news
  • Options data
  • Earnings calendar

API Endpoints

  • /api/stocks - Get stock quotes
  • /api/stocks/historical - Historical data
  • /api/stocks/search - Search symbols
  • /api/stocks/trending - Trending tickers
  • /api/stocks/news - Stock news
  • /api/market - Market summary

Usage Example

// Get stock quote
const response = await fetch('/api/stocks?symbol=AAPL');
const data = await response.json();

// Search for stocks
const searchResponse = await fetch('/api/stocks/search?q=Apple');
const searchData = await searchResponse.json();

// Get historical data
const historicalResponse = await fetch(
  '/api/stocks/historical?symbol=AAPL&period1=2024-01-01&period2=2024-12-31'
);
const historicalData = await historicalResponse.json();