Overview
Theyf_field_definitions tool provides a complete reference of all available field definitions in yfinance, including which modules (data endpoints) support each field. This is essential for discovering what data is available and building valid queries.
Use Cases
- Discover available fields: Browse all fields you can request from yfinance
- Validate field names: Check exact field names before building queries
- Module compatibility: See which data modules support specific fields
- Query building: Find the right field names for screener queries and data requests
Parameters
This tool accepts only output formatting parameters:Output format:
"json" or "markdown"Number of rows to preview in markdown format (1-200)
Save results to a file
Response
Returns a comprehensive list of field definitions with:- Field name: The exact field identifier
- Description: What the field represents
- Valid modules: Which yfinance data endpoints support this field
- Data type: Expected data type for the field
Example Usage
Get All Field Definitions
Save Field Reference
Preview in Markdown
Response Example
Related Tools
- Field Categories - Organize fields by category groups
- Screener - Build custom screening queries using field definitions
Tips
Field availability may vary by ticker type (stock, ETF, mutual fund, etc.). Not all fields are available for all securities.