Code Snippets
curl "https://financialdata.net/api/v1/minute-prices?identifier=UNP&date=2020-01-15&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/minute-prices?identifier=UNP&date=2020-01-15&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/minute-prices?identifier=UNP&date=2020-01-15&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "UNP",
"time": "2020-01-15 20:59:00",
"open": 180.9,
"high": 180.96,
"low": 180.77,
"close": 180.84,
"volume": 4598.0
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| date | string | The date in YYYY-MM-DD format. (e.g., 2020-01-15) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 300) |
| 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 provides more than 7 years of one-minute historical prices and volumes. The data is available for over 10,000 securities, including US stocks, international stocks, and exchange-traded funds. The timezone used for time values is UTC (Coordinated Universal Time). There is a limit of 300 records per API call.
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 Company InformationUNP Key MetricsUNP 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