Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=OXY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=OXY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=OXY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "OXY",
"central_index_key": "0000797468",
"registrant_name": "OCCIDENTAL PETROLEUM CORP /DE/",
"average_price_target": 67.65,
"highest_price_target": 82.0,
"lowest_price_target": 55.0,
"buy_recommendations": 6,
"sell_recommendations": 0,
"hold_recommendations": 10
},
...
]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
OCCIDENTAL PETROLEUM CORP /DE/
NYSE: OXY- Market Cap:$41.40B
- ISIN:US6745991058
- Fiscal Year End:12/31
- CEO:Vicki Hollub
- Employees:10412
Occidental Petroleum Corporation (often abbreviated Oxy in reference to its ticker symbol and logo) is an American company engaged in hydrocarbon exploration in the United States and the Middle East. It is incorporated under the Delaware General Corporation Law and is headquartered in Houston.
OXY Datasets
OXY Stock QuotesOXY Stock PricesOXY Minute PricesOXY Company InformationOXY Key MetricsOXY Market CapOXY Employee CountOXY Executive CompensationOXY Income StatementsOXY Balance Sheet StatementsOXY Cash Flow StatementsOXY Insider TransactionsOXY Senate TradingOXY Institutional HoldingsOXY Earnings ReleasesOXY Stock SplitsOXY DividendsOXY Short Interest