Industry P/E
Returns industry price-to-earnings (P/E) ratios of the companies listed on an exchange (NASDAQ by default) in each industry. Provide exactly one of date (a snapshot across all industries on that date) or industry (the historical time series for one industry).
Also known as: industry P/E snapshot, industry P/E history, industry valuation trend.
Industry P/E in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_industry_pe as shown below.
from financetoolkit import Discovery
discovery = Discovery(api_key="FINANCIAL_MODELING_PREP_KEY")
industry_pe = discovery.get_industry_pe(date="2024-02-01")
industry_pe.head()
industry_pe_history = discovery.get_industry_pe(industry="Biotechnology")
industry_pe_history.tail()
Or, after setting up the Finance Toolkit MCP, ask:
How did the P/E ratio of NASDAQ-listed biotechnology stocks change on each trading day from 19 to 23 October 2026?
Which returns:
| Date | Industry | Exchange | PE Ratio |
|---|---|---|---|
| 2026-10-19 00:00:00 | Biotechnology | NASDAQ | 14.4179 |
| 2026-10-20 00:00:00 | Biotechnology | NASDAQ | 14.6683 |
| 2026-10-21 00:00:00 | Biotechnology | NASDAQ | 14.7217 |
| 2026-10-22 00:00:00 | Biotechnology | NASDAQ | 15.0816 |
| 2026-10-23 00:00:00 | Biotechnology | NASDAQ | 15.0327 |
Parameters
get_industry_pe accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
date | str | The date to retrieve a snapshot for, e.g. “2024-02-01”. Defaults to None. | "2025-03-31" |
industry | str | The industry to retrieve the history for, e.g. “Biotechnology”. Defaults to None. | "Semiconductors" |
start_date | str | The start of the history of one industry. Defaults to a year ago. | "2025-01-01" |
end_date | str | The end of the history of one industry. Defaults to today. | "2025-12-31" |
exchange | str | The exchange whose companies are averaged, “NASDAQ”, “NYSE” or “AMEX”. Defaults to “NASDAQ”. | "NASDAQ" |