Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=NI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=NI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=NI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "NI",
"central_index_key": "0001111711",
"registrant_name": "NISOURCE INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 1.96,
"earnings_per_share_forecast": 2.05,
"price_to_earnings_ratio": 21.3061224489796,
"forward_price_to_earnings_ratio": 20.3707317073171,
"earnings_growth_rate": 20.2453987730062,
"price_earnings_to_growth_ratio": 1.05239332096475,
"book_value_per_share": 19.9832945654472,
"price_to_book_ratio": 2.08974550533857,
"ebitda": 2739400000.0,
"enterprise_value": 35832004000.0,
"dividend_yield": 0.0269896594664534,
"dividend_payout_ratio": 0.573426573426573,
"debt_to_equity_ratio": 1.71361149617464,
"capital_expenditures": 4401900000.0,
"free_cash_flow": -2039600000.0,
"return_on_equity": 0.0983587475264812,
"one_year_beta": 0.396127789391852,
"three_year_beta": 0.393720607789675,
"five_year_beta": 0.44531454622021
},
...
]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
NISOURCE INC.
NYSE: NI- Market Cap:$18.97B
- ISIN:US65473P1057
- Fiscal Year End:12/31
- CEO:Lloyd Yates
- Employees:7687
NiSource Inc. is one of the largest fully regulated utility companies in the United States, serving approximately 3.5 million natural gas customers and 500,000 electric customers across six states through its local Columbia Gas and NIPSCO brands. The company, based in Merrillville, Indiana, has more than 8,000 employees. As of 2018, NiSource is the sole Indiana-based utility company.
NI Datasets
NI Stock QuotesNI Stock PricesNI Minute PricesNI Company InformationNI Market CapNI Employee CountNI Executive CompensationNI Income StatementsNI Balance Sheet StatementsNI Cash Flow StatementsNI Insider TransactionsNI Institutional HoldingsNI Analyst ConsensusNI Earnings ReleasesNI Stock SplitsNI DividendsNI Short Interest