Retrieving Dividend Information




I am trying to get dividend information for a given stock that I don’t currently own and I am not sure how or if it is even possible.
I’m trying to get things like yieldex-dividend date total payout. I’m not finding anywhere in the documentation where I can get that info.

Paper or Live Tradng?

Example Code
Its not a code problem I have successfully connected to the api

we’re you able to get past this hurdle? I couldn’t get any set.value to return even when I hardcoded the symbol and dividend pay date on 6/10/2020 for IBM when calling
return _request(’/v2/account/activities/DIV’,

you can get the dividend ex date from Polygon @ endpoint /v2/reference/dividends/{stocksTicker}
This will return the following information

   "ticker": "AAPL",
   "exDate": "2020-05-08T00:00:00.000Z",
   "paymentDate": "2020-05-14T00:00:00.000Z",
   "recordDate": "2020-05-11T00:00:00.000Z",
   "amount": 0.82

As for current yield you can retrieve it from Polygon @ endpoint /v2/reference/financials/{stocksTicker}

this will return a bunch of information including yield:

   "deferredRevenue": 0,
   "depreciationAmortizationAndAccretion": 0,
   "deposits": 0,
   "dividendYield": 0,
   "dividendsPerBasicCommonShare": 0,
   "earningBeforeInterestTaxes": 0,
   "earningsBeforeInterestTaxesDepreciationAmortization": 0,

Yield is simple enough to calculate Yield = Annual Dividend Amount / Price per share.

I hope that helps you both.