Back-testing with dividends and splitting

I am using “alpaca-trade-api-csharp” and c# for back-testing of my trading algorithms. I’m reading historical data using GetBarSetAsync(). I cannot find any way to read historical data for dividends and splitting through the api. I can use other api’s to do this, but I was hoping I could use Alpaca api for this. Does anyone else has experience with this?