Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=RSG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=RSG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=RSG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "RSG",
"central_index_key": "0001060391",
"registrant_name": "REPUBLIC SERVICES, INC.",
"average_price_target": 244.28,
"highest_price_target": 272.0,
"lowest_price_target": 219.0,
"buy_recommendations": 10,
"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
REPUBLIC SERVICES, INC.
NYSE: RSG- Market Cap:$77.00B
- ISIN:US7607591002
- Fiscal Year End:12/31
- CEO:Jon Vander Ark
- Employees:42000
Republic Services, Inc. is a American waste disposal company whose services include non-hazardous solid waste collection, waste transfer, waste disposal, recycling, and energy services. It is the second largest provider of waste disposal in the United States (as measured by revenue) after Waste Management. Its operations primarily consist of providing collection, transfer, and disposal of non-hazardous solid waste, recovering and recycling of certain materials, and energy services. The company is 35.1% owned by Bill Gates's Cascade Investment.