yf_search tool lets you search for ticker symbols, company information, news articles, and research reports using Yahoo Finance’s search functionality.
Parameters
Search query string. Can be a ticker symbol (e.g., “AAPL”), company name (e.g., “Apple Inc”), or general search term.
Maximum number of search results to return.Constraints: Min: 1, Max: 50
Number of news articles to include with the search results.Constraints: Min: 0, Max: 20
Whether to include research reports in the search results.
Output Options
Format of the response data.Options:
json, markdownNumber of rows to preview when using markdown format.Constraints: Min: 1, Max: 200
Save the results to a file.
Use Cases
Discover Ticker Symbols
Useyf_search to find the correct ticker symbol for a company:
Search with News
Get search results along with recent news articles:Include Research Reports
Search for securities and include analyst research:Response Structure
The search returns:- Quotes: Matching ticker symbols with basic data (symbol, name, exchange, type)
- News: News articles related to the search query (if
news_count> 0) - Research: Analyst research reports (if
include_researchis true)