The DEM-Net Elevation API is an open API put together by Xavier Fischer that lets you create downloadable 3D models (glTF and STL) using global elevation data. You’re also able to overlay your own GPX traces on top of the elevation models as part of the API.

DEM-Net Elevation API