Almost every device that tracks the GPS (and logs any other sensor data) have the option to read out that data (GPX/FIT files). Or just connect to the API of platforms like Strava, Komoot, RideWithGPS, TrainingPeaks etc to fetch all the data you need in a client.