Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=O&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=O&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=O&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "O",
"central_index_key": "0000726728",
"registrant_name": "REALTY INCOME CORP",
"average_price_target": 64.43,
"highest_price_target": 72.0,
"lowest_price_target": 59.0,
"buy_recommendations": 3,
"sell_recommendations": 0,
"hold_recommendations": 9
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Analyst consensus represents the collective price targets and ratings from professional equity research analysts covering a publicly traded company. Aggregating the estimates gives a view of overall sentiment rather than relying on a single opinion. The API endpoint returns consensus metrics, including 12-month forward price targets as well as buy, hold, and sell recommendation counts.
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 Minute 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 Earnings ReleasesO Stock SplitsO DividendsO Short Interest