Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=DGX&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DGX&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=DGX&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "DGX",
"central_index_key": "0001022079",
"registrant_name": "QUEST DIAGNOSTICS INC",
"average_price_target": 256.0,
"highest_price_target": 265.0,
"lowest_price_target": 245.0,
"buy_recommendations": 7,
"sell_recommendations": 0,
"hold_recommendations": 4
},
...
]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
QUEST DIAGNOSTICS INC
NYSE: DGX- Market Cap:$20.00B
- ISIN:US74834L1008
- Fiscal Year End:12/31
- CEO:Jim Davis
- Employees:65000
Quest Diagnostics Incorporated is an American clinical laboratory. A Fortune 500 company, Quest operates in the United States, Puerto Rico, Mexico, and Brazil. Quest also maintains collaborative agreements with various hospitals and clinics across the globe.
DGX Datasets
DGX Stock QuotesDGX Stock PricesDGX Minute PricesDGX Company InformationDGX Key MetricsDGX Market CapDGX Employee CountDGX Executive CompensationDGX Income StatementsDGX Balance Sheet StatementsDGX Cash Flow StatementsDGX Insider TransactionsDGX Senate TradingDGX Institutional HoldingsDGX Earnings ReleasesDGX Stock SplitsDGX DividendsDGX Short Interest