Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=GPC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=GPC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=GPC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "GPC",
"central_index_key": "0000040987",
"registrant_name": "GENUINE PARTS CO",
"average_price_target": 143.57,
"highest_price_target": 170.0,
"lowest_price_target": 122.0,
"buy_recommendations": 5,
"sell_recommendations": 0,
"hold_recommendations": 3
},
...
]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
GENUINE PARTS CO
NYSE: GPC- Market Cap:$16.90B
- ISIN:US3724601055
- Fiscal Year End:12/31
- CEO:Will Stengel
- Employees:60000
Genuine Parts Company (GPC) is an American automotive and industrial parts distributor based in Atlanta, Georgia. Established by brothers Carlyle and Malcolm Fraser in 1928, the company has approximately 60,000 employees. In addition to the United States, GPC has operated in Australasia, Belgium, Canada, France, Germany, Mexico, the Netherlands, Poland, and the United Kingdom. GPC's subsidiaries include industrial parts distributor Motion as well as NAPA Auto Parts, which primarily sells parts in North America.