Scraping earnings dates

Discussion in 'App Development' started by TheBigShort, Feb 19, 2019.

  1. TheBigShort

    TheBigShort

    Does anyone have a good source for historical earnings dates? I need a minimum of 8 previous earnings dates (yahoo has this but the data is so bad I question why it's even there). I do not mind paying for access to a good API (but I do not want to pay the $1200 zacks is asking for. I'll go as high as $50 a month). I also need a good source for estimated up coming earnings (just one earnings ahead), currently I am scraping the first paragraph from Nasdaq and extracting the date https://www.nasdaq.com/earnings/report/orcl . The problem I am having is Nasdaq has not received estimated earnings date from Zacks for half the companys! https://www.nasdaq.com/earnings/report/aapl . its not very reliable for what I am looking to do.
     
    wondergurrl likes this.
  2. Let me know when you find it.
     
  3. R1234

    R1234

    Zack's is the very good for historical earnings.
    Sharadar is another one and is a bit cheaper.
     
  4. vanzandt

    vanzandt

    Just use EDGAR.
    Here's Oracle for ya.
    https://www.sec.gov/cgi-bin/browse-...41439&type=8-K&dateb=&owner=exclude&count=100
     
  5. You can get the last 4 quarters from the IEXG v2.0 API. Jason call is:

    https://cloud.iexapis.com/beta/stock/aapl/earnings/4/?token=[your_token]

    API token is free. If you use more than your 500k/month message units, a more generous plan is only $9/month. It is Zacks data, one of IEXG's "Primary Partners," so it's fairly reliable.

    I'll PM you a file on historical earnings dates prior to 4 quarters ago.

    That may be because the APPL earnings date has not been confirmed by the company yet. Zacks now is estimating May 7th, but others are guessing April 30th or even May 1st. Zacks has not put APPL's (and many other companys') unconfirmed earnings dates on its own public forward earnings calendar yet.

    However if you want to scrape the Zack's eastimated date, then TipRanks is a pretty easy scrape:

    https://www.tipranks.com/stocks/aapl/earnings-calendar

    Re-scrape at least weekly, as Zacks estimated dates often change.

    The page also has the last 11 quarterly dates, earnings, consensus estimates.
     
    Adam777 likes this.
  6. TheBigShort

    TheBigShort

    Thanks vanzandt but I am not to sure how I will scrape the earnings dates/times from this as there are alot of unwanted dates with the same 8-k heading.

    I just checked these guys out on Quandl, this is a ton of information for $29 but they do not have historical earnings dates from the looks of it. I just pulled the events data for AAPL and this is the output. It does not seem like they have a specified date and time of previous earnings, just the SEC filings as indicated by table 27(cant view it on free trial).
    https://www.quandl.com/databases/SF1/documentation?anchor=exception-handling
    photo1.PNG
    photo2.PNG
    I am going to send you a pm, I have tried tip ranks before but am unable to get the xpath or html node for the text in the box.
     
  7. Optionslam.com
     
    Bekim likes this.
  8. Hello,

    On related note, is it possible to get upcoming earnings dates for publicly traded US stocks?

    I'm building some analytics tool for school and was wondering where I can find this info.

    NASDAQ site has earnings calendar, but they don't provide any API or RSS or easy way to get this data programaticaly

    [ If it helps, I'm python, R dev. Background in Financial Engineer, Deans List ]
     
  9. TheBigShort

    TheBigShort

    Do you want the R code to scrape the earnings dates? If not here is the link, just change the ticker at the end of the url. You will have to use some regex (I think python uses regex as well) to filter the paragraph for the earnings date.

    https://www.nasdaq.com/earnings/report/aapl
     
    wondergurrl likes this.
  10. Aww, thank you!

    Yes, would love to get my hands on this.

    Do you know if the NASDAQ calendar is only for NASDAQ listed stocks ? If yes, then what about NYSE and other exchanges ?

    Yes, I can scrape this using Python. I'm quite good at Regex... :p. Having said that, I was hoping there's a feed or API ( FREE ) somewhere...
     
    #10     Apr 19, 2019