You can connect to Fitbit using OAuth2 and use it to retrieve the detailed Intraday Heartrate Data. The Fitbit App provides data in 5-minute intervals, but their API allows you to access the data captured by your tracker.
I have setup a service at https://exain.com/fitbit, and the entire source code is available on GitHub at https://github.com/technotablet/fitbit