Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=NRG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=NRG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=NRG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "NRG",
"central_index_key": "0001013871",
"registrant_name": "NRG ENERGY, INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 4.09,
"earnings_per_share_forecast": 8.61,
"price_to_earnings_ratio": 38.9339853300734,
"forward_price_to_earnings_ratio": 18.4947735191638,
"earnings_growth_rate": -20.4280155642023,
"price_earnings_to_growth_ratio": -1.90591128187216,
"book_value_per_share": 8.62051282051282,
"price_to_book_ratio": 18.4722189173111,
"ebitda": 3078000000.0,
"enterprise_value": 42786800000.0,
"dividend_yield": 0.0112714882873135,
"dividend_payout_ratio": 0.405092592592593,
"debt_to_equity_ratio": 9.78167757287329,
"capital_expenditures": null,
"free_cash_flow": null,
"return_on_equity": 0.513979773944081,
"one_year_beta": 1.71291046692913,
"three_year_beta": 1.36880884683712,
"five_year_beta": 1.08968476564747
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security, or the central index key (CIK). The latter is assigned to the entity by the United States Securities and Exchange Commission. (e.g., MSFT, 0000789019) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
The API endpoint returns key financial metrics such as price-to-earnings ratio, price-to-book ratio, free cash flow, etc. This information is particularly important for value investors looking to identify undervalued stocks. Data is available for several thousand US and international companies.
Company Profile
NRG ENERGY, INC.
NYSE: NRG- Market Cap:$26.64B
- ISIN:US6293775085
- Fiscal Year End:12/31
- CEO:Robert Gaudette
- Employees:15673
NRG Energy, Inc. is an American energy company, headquartered in Houston, Texas. It was formerly the wholesale arm of Northern States Power Company (NSP), which became Xcel Energy, but became independent in 2000. NRG Energy is involved in energy generation and retail electricity. Their portfolio includes natural gas generation, coal generation, oil generation, nuclear generation, wind generation, utility-scale generation, and distributed solar generation. NRG serves over 7 million retail customers in 24 US states including Texas, Connecticut, Delaware, Illinois, Maryland, Massachusetts, New Jersey, New York, Pennsylvania, Ohio; the District of Columbia, and eight provinces in Canada.