Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=UNP&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=UNP&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=UNP&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "UNP",
"central_index_key": "0000100885",
"registrant_name": "UNION PACIFIC CORP",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 12.0,
"earnings_per_share_forecast": 13.05,
"price_to_earnings_ratio": 19.2766666666667,
"forward_price_to_earnings_ratio": 17.7256704980843,
"earnings_growth_rate": 8.10810810810811,
"price_earnings_to_growth_ratio": 2.37745555555555,
"book_value_per_share": 31.036974789916,
"price_to_book_ratio": 7.45304597389939,
"ebitda": 10912000000.0,
"enterprise_value": 169703400000.0,
"dividend_yield": 0.0235186587171614,
"dividend_payout_ratio": 0.453488372093023,
"debt_to_equity_ratio": 1.80505767043916,
"capital_expenditures": 3767000000.0,
"free_cash_flow": 5523000000.0,
"return_on_equity": 0.386527319001462,
"one_year_beta": 0.666911481080229,
"three_year_beta": 0.693643110138303,
"five_year_beta": 0.714387679772103
},
...
]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
UNION PACIFIC CORP
NYSE: UNP- Market Cap:$136.10B
- ISIN:US9078181081
- Fiscal Year End:12/31
- CEO:Jim Vena
- Employees:32439
The Union Pacific Corporation is an American publicly traded railroad holding company serving as the holding company for the Union Pacific Railroad. Incorporated in 1969 in Utah, it is headquartered in Omaha, Nebraska along with its Union Pacific Railroad subsidiary. Along with BNSF Railway, owned by Berkshire Hathaway, the companies have a near-duopoly on freight railroad transportation west of the Mississippi River.
UNP Datasets
UNP Stock QuotesUNP Stock PricesUNP Minute PricesUNP Company InformationUNP Market CapUNP Employee CountUNP Executive CompensationUNP Income StatementsUNP Balance Sheet StatementsUNP Cash Flow StatementsUNP Insider TransactionsUNP Senate TradingUNP Institutional HoldingsUNP Analyst ConsensusUNP Earnings ReleasesUNP Stock SplitsUNP DividendsUNP Short Interest