Google Takeout gives me my location history, but getting it is a manual process.
Banks must offer an API. I just haven't looked into it yet.