Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=ODFL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=ODFL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=ODFL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "ODFL",
"central_index_key": "0000878927",
"registrant_name": "OLD DOMINION FREIGHT LINE, INC.",
"average_price_target": 228.0,
"highest_price_target": 250.0,
"lowest_price_target": 200.0,
"buy_recommendations": 7,
"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
OLD DOMINION FREIGHT LINE, INC.
NASDAQ: ODFL- Market Cap:$30.42B
- ISIN:US6795801009
- Fiscal Year End:12/31
- CEO:Kevin "Marty" Freeman
- Employees:21895
Old Dominion Freight Line, Inc. (ODFL) is an American regional, inter-regional and national less than truckload shipping (LTL) company. In addition to its core LTL services, the company offers expedited, logistics and household moving services.
ODFL Datasets
ODFL Stock QuotesODFL Stock PricesODFL Minute PricesODFL Company InformationODFL Key MetricsODFL Market CapODFL Employee CountODFL Executive CompensationODFL Income StatementsODFL Balance Sheet StatementsODFL Cash Flow StatementsODFL Insider TransactionsODFL Senate TradingODFL Institutional HoldingsODFL Earnings ReleasesODFL Stock SplitsODFL DividendsODFL Short Interest