If you are using a watch without altitude sensor then it is not normally possible to know your altitude. But if you are running a gpx course, then the gpx file should have enough information in it to know your altitude from the current latitude and longitude position. Is there an api to access this information?