Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=AFL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=AFL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=AFL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "AFL",
"central_index_key": "0000004977",
"registrant_name": "AFLAC INC",
"average_price_target": 117.64,
"highest_price_target": 138.0,
"lowest_price_target": 101.0,
"buy_recommendations": 2,
"sell_recommendations": 3,
"hold_recommendations": 6
},
...
]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
AFLAC INC
NYSE: AFL- Market Cap:$56.04B
- ISIN:US0010551028
- Fiscal Year End:12/31
- CEO:Dan Amos
- Employees:12694
Aflac Incorporated /ˈæflæk/ (American Family Life Assurance Company) is an American insurance company and is the largest provider of supplemental insurance in the United States. It was founded in 1955 and is based in Columbus, Georgia. In the U.S., it underwrites a wide range of insurance policies, but is perhaps more known for its payroll deduction insurance coverage, which pays cash benefits when a policyholder has a covered accident or illness. The company states it "provides financial protection to more than 50 million people worldwide".