Code Snippets
curl "https://financialdata.net/api/v1/minute-prices?identifier=O&date=2020-01-15&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/minute-prices?identifier=O&date=2020-01-15&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/minute-prices?identifier=O&date=2020-01-15&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "O",
"time": "2020-01-15 20:59:00",
"open": 76.0,
"high": 76.0,
"low": 75.975,
"close": 75.98,
"volume": 487.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
REALTY INCOME CORP
NYSE: O- Market Cap:$52.60B
- ISIN:US7561091049
- Fiscal Year End:12/31
- Employees:418
Realty Income Corporation is a real estate investment trust that invests in free-standing, single-tenant commercial properties in the United States, the United Kingdom, and six other countries in Europe. These properties are subject to NNN Leases. The company is organized in Maryland with its headquarters in San Diego, California.
O Datasets
O Stock QuotesO Stock PricesO Company InformationO Key MetricsO Market CapO Employee CountO Executive CompensationO Income StatementsO Balance Sheet StatementsO Cash Flow StatementsO Insider TransactionsO Senate TradingO Institutional HoldingsO Analyst ConsensusO Earnings ReleasesO Stock SplitsO DividendsO Short Interest