finnhubio / Finnhub-API

Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
97 stars 6 forks source link

New Earnings Calendar #92

Open finnhubio opened 4 years ago

finnhubio commented 4 years ago

New earnings calendar endpoint with EPS estimate, EPS actual, Revenue estimate and Revenue actual.

https://finnhub.io/docs/api#earnings-calendar

bkcollection commented 4 years ago

The earnings calendar is very different from the website from Nasdaq https://www.nasdaq.com/market-activity/earnings your earnings calendar is late.

bkcollection commented 4 years ago

Besides, I suggest the earning calendar can be separated base on exchanges, such as US, HK or etc

mrfroasty commented 4 years ago

I totally agree that is much likely handy to have exchange default US (optional argument).

mrfroasty commented 4 years ago

The earnings calendar is very different from the website from Nasdaq https://www.nasdaq.com/market-activity/earnings your earnings calendar is late.

mrfroasty commented 4 years ago

The calendar gives 500 items of symbols completely irrelevant if someone is intending to fetch all US exchange. This forces user to start calling symbols only one by one instead leaving symbol out to get all data.

finnhubio commented 4 years ago

We changed the default to US market only. You can pass in the param &international=true to get data for international markets. See docs for more information.

d3an commented 4 years ago

I'm trying to get a list of all the historical earnings dates (with the hour response parameter) for a stock. I'm currently on the free plan, but the existing API only shows me 2020 dates or maybe the first quarter of 2019.

Can you provide a demo request and response to this?

finnhubio commented 4 years ago

I'm trying to get a list of all the historical earnings dates (with the hour response parameter) for a stock. I'm currently on the free plan, but the existing API only shows me 2020 dates or maybe the first quarter of 2019.

Can you provide a demo request and response to this?

You only get 1 year of historical earnings with the free plan. You can upgrade your plan here: https://finnhub.io/pricing-stock-estimates

d3an commented 4 years ago

I'm trying to get a list of all the historical earnings dates (with the hour response parameter) for a stock. I'm currently on the free plan, but the existing API only shows me 2020 dates or maybe the first quarter of 2019. Can you provide a demo request and response to this?

You only get 1 year of historical earnings with the free plan. You can upgrade your plan here: https://finnhub.io/pricing-stock-estimates

Can you give a sample request and response of what the full version gives? I'd be interested in the response showing all historical earnings dates for a stock of your choice.

finnhubio commented 4 years ago

I'm trying to get a list of all the historical earnings dates (with the hour response parameter) for a stock. I'm currently on the free plan, but the existing API only shows me 2020 dates or maybe the first quarter of 2019. Can you provide a demo request and response to this?

You only get 1 year of historical earnings with the free plan. You can upgrade your plan here: https://finnhub.io/pricing-stock-estimates

Can you give a sample request and response of what the full version gives? I'd be interested in the response showing all historical earnings dates for a stock of your choice.

It will give you the exact same date structure with your free plan but with more data. You can try this request: https://finnhub.io/api/v1/calendar/earnings?from=2010-01-01&to=2020-07-29&symbol=AAPL&token=