yf_lookup tool provides targeted ticker symbol lookup with filtering by asset type. It’s more focused than search and returns only ticker symbols and basic identification information.
Parameters
Lookup query string. Typically a ticker symbol, partial symbol, or company name.
Filter results by asset type.Options:
all- All asset typesstock- Stocks/equitiesmutualfund- Mutual fundsetf- Exchange-traded fundsindex- Market indicesfuture- Futures contractscurrency- Currenciescryptocurrency- Cryptocurrencies
Maximum number of results to return.Constraints: Min: 1, Max: 100
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
Find Stocks Only
Filter lookup results to show only stock equities:Look Up ETFs
Find ETFs matching a search term:Cryptocurrency Lookup
Search for cryptocurrency tickers:Futures Contracts
Find futures contracts:Asset Type Filtering
Thekind parameter helps you narrow down results when:
- You’re building a portfolio with specific asset types
- You want to avoid confusion between stocks and ETFs with similar names
- You’re analyzing a specific market segment (e.g., only mutual funds)
- You need futures or currency symbols for derivatives trading
Response Structure
Lookup returns an array of matches with:- Symbol: Ticker symbol
- Name: Full name of the security
- Exchange: Trading exchange
- Type: Asset type (matches the
kindparameter if specified)
Lookup vs Search
When to use
yf_lookup:- You need to filter by specific asset types
- You want a simpler, faster response without news or research
- You’re building type-specific queries (e.g., all ETFs matching a term)
yf_search:- You want comprehensive results including news and research
- You need more context about the securities
- You’re doing exploratory discovery