Code Snippets
curl "https://financialdata.net/api/v1/analyst-consensus?identifier=MA&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MA&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/analyst-consensus?identifier=MA&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "MA",
"central_index_key": "0001141391",
"registrant_name": "Mastercard Inc",
"average_price_target": 666.22,
"highest_price_target": 740.0,
"lowest_price_target": 510.0,
"buy_recommendations": 22,
"sell_recommendations": 0,
"hold_recommendations": 2
},
...
]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
Mastercard Inc
NYSE: MA- Market Cap:$505.00B
- ISIN:US57636Q1040
- Fiscal Year End:12/31
- CEO:Michael Miebach
- Employees:39800
Mastercard Inc. (stylized as MasterCard from 1979 to 2016 and as mastercard since 2016) is an American multinational payment card services corporation headquartered in Purchase, New York. It provides payment transaction processing and other related-payment services, including travel-related payments and bookings). Its principal business globally is to process payments between the banks of merchants and the card-issuing banks or credit unions of purchasers who use its branded debit, credit and prepaid cards to make purchases. Mastercard has been publicly traded since 2006.