Overview
Theyf_sector tool provides detailed information about market sectors including performance metrics, top companies, research reports, and related investment products.
Tool Name
yf_sector
Parameters
Sector key identifier (e.g., ‘technology’, ‘healthcare’, ‘financial-services’)
Specific sector field to retrieve. Available fields:
key- Sector key identifiername- Sector display namesymbol- Sector symbolticker- Sector ticker representationoverview- Comprehensive sector overview and statisticstop_companies- List of leading companies in the sectorresearch_reports- Available research reports for the sectortop_etfs- Top-performing ETFs tracking the sectortop_mutual_funds- Top mutual funds focused on the sectorindustries- Industries contained within the sector
Output format:
json- Structured JSON datamarkdown- Formatted markdown tables
Number of rows to preview (1-200) when using markdown format
Save options for exporting data:
Common Sector Keys
technology- Technology sectorhealthcare- Healthcare sectorfinancial-services- Financial Servicesconsumer-cyclical- Consumer Cyclicalconsumer-defensive- Consumer Defensiveindustrials- Industrials sectorenergy- Energy sectorutilities- Utilities sectorreal-estate- Real Estatebasic-materials- Basic Materialscommunication-services- Communication Services
Field Details
Overview
Provides comprehensive sector statistics including:- Market capitalization
- Performance metrics (1D, 1W, 1M, 3M, YTD, 1Y)
- Valuation ratios (P/E, P/B, P/S)
- Profitability metrics
Top Companies
Returns a list of the largest and most significant companies within the sector, including:- Company name and ticker
- Market capitalization
- Performance data
Industries
Lists all industries that compose the sector, useful for drilling down to more granular analysis.Investment Products
top_etfs and top_mutual_funds provide curated lists of investment vehicles that track sector performance.
Usage Examples
Related Tools
- Industries - Drill down to industry-level data
- Market Summary - Broader market-level data
- Screener - Screen for companies within sectors