is anyone able to enlighten me on how to accomplish the above? Does IQFeed or IB API support this functionality? I'm able to scrape stuff from dividend.com but sadly their data is wrong quite often.
Google finance has dividend data on ex div date, but I don't know of a way to scrape it.