Pull Wall Street consensus for John Hancock Financial Opportunities Fund (high, low and consensus estimates alongside reported actuals) into your own models and apps with the Business Quant Estimates API. Swap YOUR_API_KEY for your own key.
https://data.businessquant.com/estimates?ticker=BTO&mode=revenue&api_key=YOUR_API_KEY
import requests
url = "https://data.businessquant.com/estimates"
params = {"ticker": "BTO", "mode": "revenue", "api_key": "YOUR_API_KEY"}
data = requests.get(url, params=params).json()
const res = await fetch("https://data.businessquant.com/estimates?ticker=BTO&mode=revenue&api_key=YOUR_API_KEY");
const data = await res.json();